Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Examples.QuadraticLinear.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_QuadraticLinear",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_QuadraticLinear",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001437/0.001437, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001556/0.001556, allocations: 196.7 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.314/1.314, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.255/2.255, allocations: 390.2 MB / 0.6647 GB, free: 436 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001442/0.001442, allocations: 71.88 kB / 0.8127 GB, free: 14.35 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7327/0.7342, allocations: 140.4 MB / 0.9497 GB, free: 9.207 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.002611/0.7368, allocations: 1.483 MB / 0.9512 GB, free: 8.035 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002695/0.7371, allocations: 103.8 kB / 0.9513 GB, free: 7.953 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.672e-05/0.7372, allocations: 0 / 0.9513 GB, free: 7.953 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.859e-05/0.7373, allocations: 11.92 kB / 0.9513 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.993e-05/0.7373, allocations: 10.28 kB / 0.9513 GB, free: 7.934 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001963/0.7375, allocations: 26.27 kB / 0.9513 GB, free: 7.914 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.88e-05/0.7376, allocations: 40.83 kB / 0.9513 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.982e-05/0.7377, allocations: 13.73 kB / 0.9514 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.112e-05/0.7378, allocations: 18.06 kB / 0.9514 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.037e-05/0.7378, allocations: 20.5 kB / 0.9514 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.766e-05/0.7378, allocations: 8.125 kB / 0.9514 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.843e-05/0.7379, allocations: 20.64 kB / 0.9514 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.51e-05/0.7379, allocations: 15.08 kB / 0.9514 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.478e-05/0.738, allocations: 19.66 kB / 0.9515 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001196/0.7381, allocations: 64.75 kB / 0.9515 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.7381, allocations: 0 / 0.9515 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.62e-07/0.7381, allocations: 0 / 0.9515 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.095e-06/0.7381, allocations: 0 / 0.9515 GB, free: 7.77 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000411/0.7386, allocations: 373.7 kB / 0.9519 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.7386, allocations: 13.31 kB / 0.9519 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.525e-05/0.7386, allocations: 40.14 kB / 0.9519 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.619e-05/0.7387, allocations: 3.438 kB / 0.9519 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.629e-05/0.7387, allocations: 179 kB / 0.9521 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.007e-05/0.7388, allocations: 1.594 kB / 0.9521 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.084e-05/0.7388, allocations: 2.625 kB / 0.9521 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002334/0.739, allocations: 79.3 kB / 0.9522 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.739, allocations: 3.938 kB / 0.9522 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.155e-06/0.739, allocations: 4 kB / 0.9522 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.167e-06/0.739, allocations: 1.25 kB / 0.9522 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002722/0.7393, allocations: 79.16 kB / 0.9523 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003043/0.7396, allocations: 286 kB / 0.9525 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002027/0.7398, allocations: 71.78 kB / 0.9526 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001495/0.74, allocations: 43.08 kB / 0.9526 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002444/0.7403, allocations: 111.6 kB / 0.9528 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.742e-05/0.7403, allocations: 36.03 kB / 0.9528 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.7403, allocations: 0 / 0.9528 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0005284/0.7408, allocations: 145.8 kB / 0.9529 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.224e-05/0.7409, allocations: 52.44 kB / 0.953 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.575e-05/0.7409, allocations: 128.9 kB / 0.9531 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.885e-06/0.741, allocations: 26.8 kB / 0.9531 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.007e-05/0.741, allocations: 98.16 kB / 0.9532 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.875e-05/0.741, allocations: 6.125 kB / 0.9532 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.151e-05/0.7411, allocations: 15.84 kB / 0.9532 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.291e-05/0.7411, allocations: 320.9 kB / 0.9535 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000147/0.7413, allocations: 37.31 kB / 0.9536 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000133/0.7414, allocations: 37.64 kB / 0.9536 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002743/0.7417, allocations: 83.09 kB / 0.9537 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.7417, allocations: 0 / 0.9537 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.00032/0.742, allocations: 119 kB / 0.9538 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.742, allocations: 5.719 kB / 0.9538 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.7421, allocations: 0 / 0.9538 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.7421, allocations: 1.5 kB / 0.9538 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001197/0.7422, allocations: 17.73 kB / 0.9538 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.7422, allocations: 1.156 kB / 0.9538 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.593e-05/0.7423, allocations: 15.52 kB / 0.9538 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.7423, allocations: 4 kB / 0.9539 GB, free: 5.594 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.362e-05/0.7424, allocations: 122.4 kB / 0.954 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.838e-05/0.7424, allocations: 6.094 kB / 0.954 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003426/0.7428, allocations: 114 kB / 0.9541 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.7428, allocations: 0 / 0.9541 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.7428, allocations: 4 kB / 0.9541 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.7428, allocations: 1.406 kB / 0.9541 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001343/0.7429, allocations: 183.3 kB / 0.9543 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.7429, allocations: 0 / 0.9543 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.977e-05/0.743, allocations: 19.28 kB / 0.9543 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.743, allocations: 0 / 0.9543 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.345e-06/0.743, allocations: 5.438 kB / 0.9543 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.743, allocations: 0 / 0.9543 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.7431, allocations: 0 / 0.9543 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003325/0.7434, allocations: 217 kB / 0.9545 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.01e-05/0.7434, allocations: 79.58 kB / 0.9546 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.635e-05/0.7434, allocations: 0 / 0.9546 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/0.7435, allocations: 11.17 kB / 0.9546 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.938e-05/0.7436, allocations: 10.48 kB / 0.9546 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/0.7436, allocations: 4 kB / 0.9546 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.983e-05/0.7436, allocations: 100.5 kB / 0.9547 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7437, allocations: 3.938 kB / 0.9547 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002212/0.7439, allocations: 13.38 kB / 0.9547 GB, free: 4.773 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004931/0.7444, allocations: 0.7492 MB / 0.9554 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003207/0.7447, allocations: 78.41 kB / 0.9555 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.7447, allocations: 0 / 0.9555 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000142/0.7449, allocations: 49.41 kB / 0.9556 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002266/0.7451, allocations: 6.953 kB / 0.9556 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004183/0.7455, allocations: 189.3 kB / 0.9557 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001109/0.7456, allocations: 0.6866 MB / 0.9564 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.871e-05/0.7457, allocations: 6.344 kB / 0.9564 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.646e-05/0.7457, allocations: 16.61 kB / 0.9564 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.7457, allocations: 1.156 kB / 0.9564 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0185/0.7642, allocations: 1.855 MB / 0.9583 GB, free: 2.09 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.953/7.717, allocations: 10.27 kB / 0.9583 GB, free: 2.086 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.QuadraticLinear.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Examples.QuadraticLinear_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Examples_QuadraticLinear_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Examples_QuadraticLinear.fmu > Buildings_9_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.QuadraticLinear_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_QuadraticLinear.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.QuadraticLinear.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches