Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.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.MultiMax,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMax",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMax",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.259/2.259, allocations: 390.3 MB / 405.3 MB, free: 13.46 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.001193/0.001193, allocations: 173.2 kB / 498.1 MB, free: 5.715 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.494/1.494, allocations: 223.2 MB / 0.7948 GB, free: 17.96 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.0008682/0.0008682, allocations: 96.33 kB / 0.9346 GB, free: 6.238 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003375/0.0003375, allocations: 13.78 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2848/0.2851, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1832/0.4684, allocations: 148.4 MB / 1.368 GB, free: 13.55 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002478/0.4687, allocations: 71.91 kB / 1.368 GB, free: 13.48 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.001652/0.4703, allocations: 0.6972 MB / 1.369 GB, free: 12.77 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.114e-06/0.4704, allocations: 0 / 1.369 GB, free: 12.77 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.476e-05/0.4704, allocations: 0 / 1.369 GB, free: 12.77 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.000334/0.4707, allocations: 351.7 kB / 1.369 GB, free: 12.39 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.4708, allocations: 8.031 kB / 1.369 GB, free: 12.38 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.849e-05/0.4708, allocations: 38.56 kB / 1.369 GB, free: 12.33 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.179e-05/0.4709, allocations: 11.86 kB / 1.369 GB, free: 12.32 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001861/0.471, allocations: 187 kB / 1.369 GB, free: 12.1 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.478e-06/0.4711, allocations: 0 / 1.369 GB, free: 12.1 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.284e-05/0.4711, allocations: 4 kB / 1.369 GB, free: 12.09 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001538/0.4712, allocations: 81.53 kB / 1.369 GB, free: 12.01 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.4713, allocations: 0 / 1.369 GB, free: 12.01 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.4713, allocations: 4 kB / 1.369 GB, free: 12 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.4713, allocations: 0 / 1.369 GB, free: 12 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.931e-05/0.4714, allocations: 43.97 kB / 1.369 GB, free: 11.96 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005022/0.4719, allocations: 495 kB / 1.37 GB, free: 11.43 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.627e-05/0.472, allocations: 169.1 kB / 1.37 GB, free: 11.25 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.448e-05/0.472, allocations: 75.28 kB / 1.37 GB, free: 11.18 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.57e-05/0.472, allocations: 113.8 kB / 1.37 GB, free: 11.05 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.4721, allocations: 0 / 1.37 GB, free: 11.05 MB / 0.8698 GB Notification: Performance of matching and sorting (n=0): time 7.728e-05/0.4721, allocations: 37.69 kB / 1.37 GB, free: 11.01 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.065e-05/0.4722, allocations: 126.7 kB / 1.37 GB, free: 10.88 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001525/0.4723, allocations: 154.5 kB / 1.37 GB, free: 10.71 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.244e-05/0.4724, allocations: 29.69 kB / 1.371 GB, free: 10.68 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.544e-05/0.4724, allocations: 99.98 kB / 1.371 GB, free: 10.58 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.264e-06/0.4724, allocations: 0 / 1.371 GB, free: 10.58 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.066e-06/0.4725, allocations: 4 kB / 1.371 GB, free: 10.57 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001121/0.4726, allocations: 322.8 kB / 1.371 GB, free: 10.25 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.709e-05/0.4726, allocations: 4 kB / 1.371 GB, free: 10.25 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.41e-05/0.4726, allocations: 11.98 kB / 1.371 GB, free: 10.23 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.816e-05/0.4726, allocations: 7.938 kB / 1.371 GB, free: 10.23 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.4727, allocations: 0 / 1.371 GB, free: 10.23 MB / 0.8698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001171/0.4728, allocations: 61.53 kB / 1.371 GB, free: 10.16 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.4728, allocations: 4.109 kB / 1.371 GB, free: 10.16 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.4728, allocations: 8.031 kB / 1.371 GB, free: 10.15 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.4728, allocations: 0 / 1.371 GB, free: 10.15 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.395e-05/0.4729, allocations: 4 kB / 1.371 GB, free: 10.14 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.4729, allocations: 0 / 1.371 GB, free: 10.14 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.463e-05/0.4729, allocations: 4 kB / 1.371 GB, free: 10.14 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-06/0.4729, allocations: 0 / 1.371 GB, free: 10.14 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 (1): * Single equations (assignments): 1 * 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.0001042/0.473, allocations: 197.1 kB / 1.371 GB, free: 9.938 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.923e-05/0.4731, allocations: 116.8 kB / 1.371 GB, free: 9.816 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.855e-05/0.4732, allocations: 120.6 kB / 1.371 GB, free: 9.691 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.669e-05/0.4732, allocations: 184.3 kB / 1.372 GB, free: 9.504 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-05/0.4733, allocations: 180.2 kB / 1.372 GB, free: 9.32 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-05/0.4734, allocations: 176.3 kB / 1.372 GB, free: 9.141 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002346/0.4736, allocations: 425.1 kB / 1.372 GB, free: 8.668 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.576e-05/0.4737, allocations: 113.6 kB / 1.372 GB, free: 8.551 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.549e-05/0.4737, allocations: 101 kB / 1.373 GB, free: 8.445 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.469e-05/0.4738, allocations: 180.2 kB / 1.373 GB, free: 8.262 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.674e-05/0.4738, allocations: 184.2 kB / 1.373 GB, free: 8.074 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.284e-05/0.4739, allocations: 184.2 kB / 1.373 GB, free: 7.887 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-05/0.474, allocations: 176.3 kB / 1.373 GB, free: 7.707 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000138/0.4741, allocations: 315.7 kB / 1.374 GB, free: 7.375 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.278e-05/0.4742, allocations: 186.1 kB / 1.374 GB, free: 7.168 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.049e-05/0.4743, allocations: 188.2 kB / 1.374 GB, free: 6.977 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.286e-05/0.4744, allocations: 108.9 kB / 1.374 GB, free: 6.863 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.306e-05/0.4744, allocations: 188.1 kB / 1.374 GB, free: 6.672 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.622e-05/0.4745, allocations: 105 kB / 1.374 GB, free: 6.562 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001012/0.4746, allocations: 132.6 kB / 1.374 GB, free: 6.434 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4746, allocations: 0 / 1.374 GB, free: 6.434 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002297/0.4748, allocations: 4 kB / 1.374 GB, free: 6.43 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 (0): * Single equations (assignments): 0 * 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.0004153/0.4753, allocations: 0.8209 MB / 1.375 GB, free: 5.578 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 6.073e-05/0.4753, allocations: 8 kB / 1.375 GB, free: 5.57 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.113e-06/0.4753, allocations: 0 / 1.375 GB, free: 5.57 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 1.794e-06/0.4753, allocations: 0 / 1.375 GB, free: 5.57 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003195/0.4757, allocations: 0.5263 MB / 1.376 GB, free: 5.039 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007364/0.4764, allocations: 0.5845 MB / 1.376 GB, free: 4.406 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002787/0.4767, allocations: 0.7004 MB / 1.377 GB, free: 3.68 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 2.866e-05/0.4767, allocations: 7.984 kB / 1.377 GB, free: 3.672 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.005e-05/0.4768, allocations: 19.44 kB / 1.377 GB, free: 3.652 MB / 0.8698 GB Notification: Performance of SimCode: time 3.11e-07/0.4768, allocations: 0 / 1.377 GB, free: 3.652 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01216/0.489, allocations: 1.373 MB / 1.378 GB, free: 2.406 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001825/0.4892, allocations: 184.4 kB / 1.379 GB, free: 2.168 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.46/1.949, allocations: 0 / 1.379 GB, free: 2.168 MB / 0.8698 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMax_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMax.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax_res.mat does not exist to compare? outputFormat=mat