Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiSum",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiSum",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.249/2.249, allocations: 390.3 MB / 405.3 MB, free: 13.5 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 179.4 kB / 498.1 MB, free: 5.742 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.439/1.439, allocations: 223.1 MB / 0.7948 GB, free: 17.9 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008398/0.0008398, allocations: 106.9 kB / 0.9346 GB, free: 6.18 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000358/0.0003582, allocations: 11.5 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.26/0.2604, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.18/0.4404, allocations: 149 MB / 1.368 GB, free: 12.92 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00022/0.4407, allocations: 67.91 kB / 1.369 GB, free: 12.86 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.006576/0.4473, allocations: 2.032 MB / 1.371 GB, free: 10.82 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.684e-06/0.4473, allocations: 0 / 1.371 GB, free: 10.82 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.162e-05/0.4473, allocations: 4 kB / 1.371 GB, free: 10.82 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0009242/0.4482, allocations: 0.5142 MB / 1.371 GB, free: 10.25 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.4483, allocations: 8.031 kB / 1.371 GB, free: 10.25 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.409e-05/0.4484, allocations: 42.5 kB / 1.371 GB, free: 10.2 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.52e-05/0.4484, allocations: 19.77 kB / 1.371 GB, free: 10.18 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002564/0.4487, allocations: 218.7 kB / 1.371 GB, free: 9.922 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.479e-05/0.4487, allocations: 8 kB / 1.371 GB, free: 9.914 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.103e-05/0.4487, allocations: 8.188 kB / 1.371 GB, free: 9.906 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005907/0.4493, allocations: 219.1 kB / 1.372 GB, free: 9.688 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.4493, allocations: 0 / 1.372 GB, free: 9.688 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.557e-05/0.4494, allocations: 0 / 1.372 GB, free: 9.688 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.4494, allocations: 7.938 kB / 1.372 GB, free: 9.68 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008167/0.4502, allocations: 283.8 kB / 1.372 GB, free: 9.402 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001147/0.4514, allocations: 0.5393 MB / 1.372 GB, free: 8.812 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004759/0.4518, allocations: 174.5 kB / 1.373 GB, free: 8.633 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.69e-05/0.4519, allocations: 4 kB / 1.373 GB, free: 8.629 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.471e-05/0.4519, allocations: 38.69 kB / 1.373 GB, free: 8.582 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=9): time 1.453e-06/0.4519, allocations: 0 / 1.373 GB, free: 8.582 MB / 0.8698 GB Notification: Performance of matching and sorting (n=9): time 0.00132/0.4532, allocations: 441.3 kB / 1.373 GB, free: 8.145 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.993e-05/0.4533, allocations: 55.41 kB / 1.373 GB, free: 8.078 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001626/0.4535, allocations: 169.2 kB / 1.373 GB, free: 7.902 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.901e-05/0.4535, allocations: 25.7 kB / 1.373 GB, free: 7.871 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 7.679e-05/0.4536, allocations: 123.9 kB / 1.373 GB, free: 7.746 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.735e-05/0.4536, allocations: 31.55 kB / 1.373 GB, free: 7.715 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.989e-06/0.4536, allocations: 4 kB / 1.373 GB, free: 7.711 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.4538, allocations: 322.8 kB / 1.374 GB, free: 7.387 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003817/0.4541, allocations: 127.9 kB / 1.374 GB, free: 7.262 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000379/0.4545, allocations: 135.9 kB / 1.374 GB, free: 7.129 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003981/0.4549, allocations: 135.8 kB / 1.374 GB, free: 6.996 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.455, allocations: 0 / 1.374 GB, free: 6.996 MB / 0.8698 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008359/0.4558, allocations: 305.9 kB / 1.374 GB, free: 6.691 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.4558, allocations: 9.406 kB / 1.374 GB, free: 6.684 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.4558, allocations: 96 / 1.374 GB, free: 6.684 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.068e-05/0.4559, allocations: 7.938 kB / 1.374 GB, free: 6.676 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000324/0.4562, allocations: 63.84 kB / 1.374 GB, free: 6.613 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.4562, allocations: 7.984 kB / 1.374 GB, free: 6.605 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002357/0.4565, allocations: 47.86 kB / 1.374 GB, free: 6.559 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.079e-05/0.4565, allocations: 0 / 1.374 GB, free: 6.559 MB / 0.8698 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 (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001166/0.4566, allocations: 129.8 kB / 1.375 GB, free: 6.422 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.473e-05/0.4566, allocations: 11.91 kB / 1.375 GB, free: 6.41 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.305e-05/0.4567, allocations: 21.41 kB / 1.375 GB, free: 6.395 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.4567, allocations: 0 / 1.375 GB, free: 6.395 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.005e-05/0.4567, allocations: 7.953 kB / 1.375 GB, free: 6.387 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.4567, allocations: 3.984 kB / 1.375 GB, free: 6.383 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002815/0.457, allocations: 241.5 kB / 1.375 GB, free: 6.098 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.457, allocations: 4 kB / 1.375 GB, free: 6.094 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002804/0.4573, allocations: 59.94 kB / 1.375 GB, free: 6.035 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.4573, allocations: 3.984 kB / 1.375 GB, free: 6.031 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.553e-05/0.4573, allocations: 4 kB / 1.375 GB, free: 6.027 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.4574, allocations: 0 / 1.375 GB, free: 6.027 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.4574, allocations: 0 / 1.375 GB, free: 6.027 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008824/0.4582, allocations: 415 kB / 1.375 GB, free: 5.605 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.644e-05/0.4583, allocations: 88.95 kB / 1.375 GB, free: 5.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.51e-05/0.4583, allocations: 4 kB / 1.375 GB, free: 5.496 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002541/0.4586, allocations: 55.94 kB / 1.375 GB, free: 5.441 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.189e-05/0.4587, allocations: 15.92 kB / 1.375 GB, free: 5.426 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.167e-06/0.4587, allocations: 0 / 1.375 GB, free: 5.426 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001136/0.4588, allocations: 136.3 kB / 1.376 GB, free: 5.293 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.21e-07/0.4588, allocations: 0 / 1.376 GB, free: 5.293 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002575/0.4591, allocations: 31.86 kB / 1.376 GB, free: 5.262 MB / 0.8698 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 (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001229/0.4603, allocations: 0.9463 MB / 1.377 GB, free: 4.285 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0008262/0.4612, allocations: 283.7 kB / 1.377 GB, free: 4.008 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/0.4612, allocations: 0 / 1.377 GB, free: 4.008 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004104/0.4616, allocations: 147.8 kB / 1.377 GB, free: 3.863 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002416/0.4618, allocations: 24.17 kB / 1.377 GB, free: 3.836 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002441/0.4643, allocations: 1.182 MB / 1.378 GB, free: 2.602 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003573/0.4647, allocations: 0.7199 MB / 1.379 GB, free: 1.855 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001078/0.4648, allocations: 24.41 kB / 1.379 GB, free: 1.828 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.837e-05/0.4649, allocations: 43.42 kB / 1.379 GB, free: 1.789 MB / 0.8698 GB Notification: Performance of SimCode: time 4.01e-07/0.4649, allocations: 0 / 1.379 GB, free: 1.789 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01425/0.4791, allocations: 3.001 MB / 1.382 GB, free: 14.94 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001676/0.4793, allocations: 188.5 kB / 1.382 GB, free: 14.7 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.604/2.084, allocations: 5.969 kB / 1.382 GB, free: 14.69 MB / 0.8855 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiSum_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiSum.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum_res.mat does not exist to compare? outputFormat=mat