Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Max,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Max,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.276/2.276, allocations: 393.5 MB / 408.4 MB, free: 11 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.001184/0.001184, allocations: 183.8 kB / 0.4901 GB, free: 2.23 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.563/1.563, allocations: 223.1 MB / 0.7992 GB, free: 14.74 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.0009152/0.0009152, allocations: 95.58 kB / 0.9396 GB, free: 1.922 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000372/0.0003718, allocations: 10.59 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2752/0.2755, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1809/0.4565, allocations: 149.6 MB / 1.375 GB, free: 3.848 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002947/0.4568, allocations: 67.97 kB / 1.375 GB, free: 3.781 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002757/0.4596, allocations: 0.8019 MB / 1.376 GB, free: 2.973 MB / 0.8698 GB Notification: Performance of FrontEnd: time 4.538e-06/0.4597, allocations: 0 / 1.376 GB, free: 2.973 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.229e-05/0.4597, allocations: 0 / 1.376 GB, free: 2.973 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006248/0.4603, allocations: 371.2 kB / 1.377 GB, free: 2.562 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 6.747e-05/0.4604, allocations: 16.5 kB / 1.377 GB, free: 2.547 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.194e-05/0.4605, allocations: 30.56 kB / 1.377 GB, free: 2.508 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.422e-05/0.4605, allocations: 0 / 1.377 GB, free: 2.508 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001571/0.4607, allocations: 174.9 kB / 1.377 GB, free: 2.297 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.4607, allocations: 4 kB / 1.377 GB, free: 2.293 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.104e-05/0.4607, allocations: 7.984 kB / 1.377 GB, free: 2.285 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003124/0.4611, allocations: 78.53 kB / 1.377 GB, free: 2.203 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.4611, allocations: 3.938 kB / 1.377 GB, free: 2.199 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.529e-05/0.4611, allocations: 4 kB / 1.377 GB, free: 2.195 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.4611, allocations: 4 kB / 1.377 GB, free: 2.191 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000317/0.4614, allocations: 83.92 kB / 1.377 GB, free: 2.109 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005874/0.462, allocations: 300.9 kB / 1.377 GB, free: 1.766 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000239/0.4623, allocations: 66.55 kB / 1.377 GB, free: 1.691 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.263e-05/0.4623, allocations: 4.078 kB / 1.377 GB, free: 1.688 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.54e-05/0.4624, allocations: 34.5 kB / 1.377 GB, free: 1.645 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=3): time 1.703e-06/0.4624, allocations: 7.938 kB / 1.377 GB, free: 1.637 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3): time 0.0005715/0.463, allocations: 161.5 kB / 1.378 GB, free: 1.473 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.062e-05/0.463, allocations: 55.36 kB / 1.378 GB, free: 1.406 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.959e-05/0.4631, allocations: 101 kB / 1.378 GB, free: 1.301 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.985e-05/0.4631, allocations: 29.7 kB / 1.378 GB, free: 1.266 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.074e-05/0.4632, allocations: 88.14 kB / 1.378 GB, free: 1.176 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.189e-05/0.4632, allocations: 11.89 kB / 1.378 GB, free: 1.164 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.957e-06/0.4632, allocations: 0 / 1.378 GB, free: 1.164 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.4634, allocations: 310.8 kB / 1.378 GB, free: 0.8516 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001507/0.4635, allocations: 43.97 kB / 1.378 GB, free: 0.8086 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001425/0.4637, allocations: 47.89 kB / 1.378 GB, free: 0.7617 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001448/0.4638, allocations: 43.97 kB / 1.378 GB, free: 0.7188 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.4638, allocations: 0 / 1.378 GB, free: 0.7188 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003584/0.4642, allocations: 125.5 kB / 1.378 GB, free: 0.5898 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/0.4642, allocations: 4 kB / 1.378 GB, free: 0.5859 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.4642, allocations: 0 / 1.378 GB, free: 0.5859 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.4643, allocations: 0 / 1.378 GB, free: 0.5859 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001478/0.4644, allocations: 23.98 kB / 1.378 GB, free: 0.5625 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.4644, allocations: 0 / 1.378 GB, free: 0.5625 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.29e-05/0.4645, allocations: 31.88 kB / 1.378 GB, free: 0.5312 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.063e-05/0.4645, allocations: 0 / 1.378 GB, free: 0.5312 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 (3): * Single equations (assignments): 3 * 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 8.315e-05/0.4646, allocations: 117.8 kB / 1.379 GB, free: 416 kB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.604e-05/0.4647, allocations: 0 / 1.379 GB, free: 416 kB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003665/0.465, allocations: 133.5 kB / 1.379 GB, free: 276 kB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.4651, allocations: 0 / 1.379 GB, free: 276 kB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.4651, allocations: 4 kB / 1.379 GB, free: 272 kB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.4651, allocations: 0 / 1.379 GB, free: 272 kB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001663/0.4652, allocations: 173.6 kB / 1.379 GB, free: 48 kB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.4653, allocations: 384 / 1.379 GB, free: 48 kB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000107/0.4654, allocations: 23.97 kB / 1.379 GB, free: 24 kB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.4654, allocations: 0 / 1.379 GB, free: 24 kB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.296e-06/0.4654, allocations: 0 / 1.379 GB, free: 24 kB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.4654, allocations: 0 / 1.379 GB, free: 24 kB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.4654, allocations: 4 kB / 1.379 GB, free: 20 kB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003903/0.4658, allocations: 231.3 kB / 1.379 GB, free: 15.78 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.045e-05/0.4659, allocations: 77.11 kB / 1.379 GB, free: 15.68 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.743e-05/0.4659, allocations: 3.984 kB / 1.379 GB, free: 15.68 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000114/0.466, allocations: 15.98 kB / 1.379 GB, free: 15.66 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.658e-05/0.4661, allocations: 4 kB / 1.379 GB, free: 15.66 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.833e-06/0.4661, allocations: 4 kB / 1.379 GB, free: 15.66 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 4.721e-05/0.4661, allocations: 91.56 kB / 1.379 GB, free: 15.57 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4662, allocations: 0 / 1.379 GB, free: 15.57 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002078/0.4664, allocations: 15.94 kB / 1.379 GB, free: 15.55 MB / 0.8855 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 (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.0006745/0.467, allocations: 0.756 MB / 1.38 GB, free: 14.77 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0004135/0.4675, allocations: 87.92 kB / 1.38 GB, free: 14.68 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.4675, allocations: 4 kB / 1.38 GB, free: 14.68 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001572/0.4677, allocations: 43.97 kB / 1.38 GB, free: 14.63 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000209/0.4679, allocations: 7.984 kB / 1.38 GB, free: 14.62 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004394/0.4683, allocations: 164.2 kB / 1.38 GB, free: 14.43 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002192/0.4685, allocations: 0.6848 MB / 1.381 GB, free: 13.71 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.46e-05/0.4686, allocations: 0 / 1.381 GB, free: 13.71 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.031e-05/0.4686, allocations: 19.38 kB / 1.381 GB, free: 13.7 MB / 0.8855 GB Notification: Performance of SimCode: time 3.026e-06/0.4686, allocations: 0 / 1.381 GB, free: 13.7 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01135/0.48, allocations: 1.27 MB / 1.382 GB, free: 12.56 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001945/0.4802, allocations: 184.4 kB / 1.382 GB, free: 12.32 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.475/1.956, allocations: 0 / 1.382 GB, free: 12.32 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Max_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Max_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Max.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Max_res.mat does not exist to compare? outputFormat=mat