Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.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.Min,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Min,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Min",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.196/2.196, allocations: 390.3 MB / 405.3 MB, free: 13.52 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.001133/0.001133, allocations: 193 kB / 498.1 MB, free: 5.754 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.488/1.488, allocations: 223.2 MB / 0.7948 GB, free: 17.94 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.0008238/0.0008238, allocations: 98.61 kB / 0.9346 GB, free: 6.27 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004017/0.0004019, allocations: 10.31 kB / 1.084 GB, free: 221.6 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2825/0.283, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.185/0.4681, allocations: 148.8 MB / 1.368 GB, free: 13.25 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002512/0.4684, allocations: 71.95 kB / 1.368 GB, free: 13.18 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002345/0.4707, allocations: 0.8025 MB / 1.369 GB, free: 12.37 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.234e-06/0.4708, allocations: 3.938 kB / 1.369 GB, free: 12.37 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.61e-05/0.4708, allocations: 4 kB / 1.369 GB, free: 12.36 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.0005525/0.4713, allocations: 375.2 kB / 1.369 GB, free: 11.95 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.173e-05/0.4714, allocations: 8.031 kB / 1.369 GB, free: 11.94 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.373e-05/0.4715, allocations: 30.56 kB / 1.37 GB, free: 11.9 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.242e-05/0.4715, allocations: 7.906 kB / 1.37 GB, free: 11.89 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001501/0.4717, allocations: 171 kB / 1.37 GB, free: 11.69 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.4717, allocations: 4 kB / 1.37 GB, free: 11.68 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.01e-05/0.4717, allocations: 0 / 1.37 GB, free: 11.68 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002802/0.472, allocations: 84.39 kB / 1.37 GB, free: 11.6 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.472, allocations: 0 / 1.37 GB, free: 11.6 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.472, allocations: 0 / 1.37 GB, free: 11.6 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.472, allocations: 0 / 1.37 GB, free: 11.6 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002908/0.4723, allocations: 91.86 kB / 1.37 GB, free: 11.51 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005723/0.4729, allocations: 300.9 kB / 1.37 GB, free: 11.16 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002017/0.4731, allocations: 70.53 kB / 1.37 GB, free: 11.09 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.416e-05/0.4732, allocations: 0 / 1.37 GB, free: 11.09 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.926e-05/0.4732, allocations: 34.56 kB / 1.37 GB, free: 11.04 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.4732, allocations: 0 / 1.37 GB, free: 11.04 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3): time 0.0005657/0.4738, allocations: 169.5 kB / 1.37 GB, free: 10.87 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.762e-05/0.4738, allocations: 55.36 kB / 1.37 GB, free: 10.8 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.352e-05/0.4739, allocations: 101 kB / 1.371 GB, free: 10.7 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.496e-05/0.4739, allocations: 25.7 kB / 1.371 GB, free: 10.67 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.787e-05/0.474, allocations: 88.14 kB / 1.371 GB, free: 10.58 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.184e-05/0.474, allocations: 11.84 kB / 1.371 GB, free: 10.57 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.498e-06/0.474, allocations: 4 kB / 1.371 GB, free: 10.56 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.4742, allocations: 318.8 kB / 1.371 GB, free: 10.24 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000146/0.4743, allocations: 35.97 kB / 1.371 GB, free: 10.21 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001367/0.4745, allocations: 47.95 kB / 1.371 GB, free: 10.16 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001395/0.4746, allocations: 39.97 kB / 1.371 GB, free: 10.12 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.4746, allocations: 4 kB / 1.371 GB, free: 10.12 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000337/0.475, allocations: 125.5 kB / 1.371 GB, free: 9.988 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.475, allocations: 4.625 kB / 1.371 GB, free: 9.984 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.475, allocations: 3.938 kB / 1.371 GB, free: 9.98 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.475, allocations: 0 / 1.371 GB, free: 9.98 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001394/0.4752, allocations: 23.97 kB / 1.371 GB, free: 9.957 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.4752, allocations: 0 / 1.371 GB, free: 9.957 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.013e-05/0.4753, allocations: 31.88 kB / 1.371 GB, free: 9.926 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.989e-05/0.4753, allocations: 4 kB / 1.371 GB, free: 9.922 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 9.492e-05/0.4754, allocations: 105.8 kB / 1.371 GB, free: 9.809 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.653e-05/0.4754, allocations: 4 kB / 1.371 GB, free: 9.805 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003732/0.4758, allocations: 133.7 kB / 1.372 GB, free: 9.66 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.4758, allocations: 48 / 1.372 GB, free: 9.66 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.4758, allocations: 7.984 kB / 1.372 GB, free: 9.652 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.4759, allocations: 0 / 1.372 GB, free: 9.652 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001872/0.476, allocations: 177.6 kB / 1.372 GB, free: 9.43 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.4761, allocations: 8 kB / 1.372 GB, free: 9.422 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001152/0.4762, allocations: 15.98 kB / 1.372 GB, free: 9.406 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.4762, allocations: 0 / 1.372 GB, free: 9.406 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.676e-06/0.4762, allocations: 4 kB / 1.372 GB, free: 9.402 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.4762, allocations: 0 / 1.372 GB, free: 9.402 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.4762, allocations: 0 / 1.372 GB, free: 9.402 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004137/0.4766, allocations: 227.4 kB / 1.372 GB, free: 9.164 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.403e-05/0.4767, allocations: 81.02 kB / 1.372 GB, free: 9.066 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.497e-05/0.4767, allocations: 0 / 1.372 GB, free: 9.066 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001139/0.4768, allocations: 15.98 kB / 1.372 GB, free: 9.051 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.585e-05/0.4769, allocations: 7.984 kB / 1.372 GB, free: 9.043 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.689e-06/0.4769, allocations: 0 / 1.372 GB, free: 9.043 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.016e-05/0.477, allocations: 91.27 kB / 1.372 GB, free: 8.953 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.477, allocations: 4 kB / 1.372 GB, free: 8.949 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002049/0.4772, allocations: 4 kB / 1.372 GB, free: 8.945 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 (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.0007254/0.4779, allocations: 0.7474 MB / 1.373 GB, free: 8.168 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0003344/0.4783, allocations: 99.86 kB / 1.373 GB, free: 8.07 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.4783, allocations: 0 / 1.373 GB, free: 8.07 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001485/0.4784, allocations: 47.95 kB / 1.373 GB, free: 8.023 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002238/0.4787, allocations: 7.938 kB / 1.373 GB, free: 8.016 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004947/0.4792, allocations: 170.5 kB / 1.373 GB, free: 7.809 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003124/0.4795, allocations: 0.6809 MB / 1.374 GB, free: 7.102 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 4.29e-05/0.4795, allocations: 7.984 kB / 1.374 GB, free: 7.094 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.272e-05/0.4796, allocations: 11.44 kB / 1.374 GB, free: 7.082 MB / 0.8698 GB Notification: Performance of SimCode: time 3.81e-07/0.4796, allocations: 0 / 1.374 GB, free: 7.082 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01247/0.4921, allocations: 1.27 MB / 1.375 GB, free: 5.941 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000226/0.4923, allocations: 178.7 kB / 1.375 GB, free: 5.703 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.516/2.009, allocations: 0 / 1.375 GB, free: 5.703 MB / 0.8698 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Min_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Min.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min_res.mat does not exist to compare? outputFormat=mat