Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.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.Integers.Validation.Change,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Change,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Change",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.316/2.316, allocations: 390.5 MB / 398 MB, free: 10.92 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.001244/0.001244, allocations: 187.8 kB / 491.2 MB, free: 1.59 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.57/1.57, allocations: 221.5 MB / 0.7868 GB, free: 13.34 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.001047/0.001047, allocations: 95.88 kB / 0.9269 GB, free: 13.83 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.331e-05/2.364e-05, allocations: 8 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.332/0.3321, allocations: 143 MB / 1.212 GB, free: 39.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.147/1.479, allocations: 153.7 MB / 1.363 GB, free: 17.25 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002364/1.48, allocations: 77.56 kB / 1.363 GB, free: 17.25 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01832/1.498, allocations: 7.153 MB / 1.37 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.583e-06/1.498, allocations: 0 / 1.37 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.087e-05/1.498, allocations: 3.688 kB / 1.37 GB, free: 32.57 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0007587/1.499, allocations: 498.1 kB / 1.37 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/1.499, allocations: 11.69 kB / 1.37 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.269e-05/1.499, allocations: 27.22 kB / 1.37 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004292/1.5, allocations: 298.6 kB / 1.37 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.361e-05/1.5, allocations: 10.31 kB / 1.37 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.149e-05/1.5, allocations: 11.81 kB / 1.37 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001281/1.5, allocations: 55.72 kB / 1.37 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001492/1.5, allocations: 92.92 kB / 1.371 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/1.5, allocations: 0 / 1.371 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.605e-05/1.5, allocations: 3.062 kB / 1.371 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/1.5, allocations: 3.844 kB / 1.371 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006934/1.501, allocations: 453.3 kB / 1.371 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000158/1.501, allocations: 112 kB / 1.371 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.927e-05/1.501, allocations: 43.7 kB / 1.371 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.067e-05/1.501, allocations: 3.875 kB / 1.371 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000156/1.501, allocations: 113.5 kB / 1.371 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=16): time 1.453e-06/1.501, allocations: 0 / 1.371 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of matching and sorting (n=16): time 0.0002725/1.501, allocations: 152.9 kB / 1.371 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.243e-05/1.501, allocations: 59.28 kB / 1.371 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002606/1.502, allocations: 289.2 kB / 1.372 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.116e-05/1.502, allocations: 33.42 kB / 1.372 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.249e-05/1.502, allocations: 145.7 kB / 1.372 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.927e-05/1.502, allocations: 29.67 kB / 1.372 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.337e-05/1.502, allocations: 0 / 1.372 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001282/1.502, allocations: 338 kB / 1.372 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.667e-05/1.502, allocations: 74.41 kB / 1.372 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001185/1.502, allocations: 129.3 kB / 1.372 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002083/1.502, allocations: 87.39 kB / 1.373 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/1.502, allocations: 0 / 1.373 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003763/1.503, allocations: 260.3 kB / 1.373 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/1.503, allocations: 3.875 kB / 1.373 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/1.503, allocations: 7.766 kB / 1.373 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/1.503, allocations: 3.875 kB / 1.373 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000196/1.503, allocations: 46.94 kB / 1.373 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/1.503, allocations: 3.844 kB / 1.373 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001465/1.503, allocations: 25.02 kB / 1.373 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.113e-05/1.503, allocations: 7.625 kB / 1.373 GB, free: 30.71 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 19 ($PRE.decreaseSampler.y,decreaseSampler.y,$PRE.increaseSampler.y,increaseSampler.y,$PRE.changeSampler.y,changeSampler.y,$whenCondition2,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition4,$whenCondition3,$whenCondition1,$PRE.cha.u,cha.u,cha.y,cha.up,cha.down,timTabLin.tab.nextTimeEvent,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * 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.0001031/1.503, allocations: 123 kB / 1.373 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001909/1.504, allocations: 159.6 kB / 1.373 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.719e-05/1.504, allocations: 23.17 kB / 1.373 GB, free: 30.53 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002318/1.504, allocations: 172.3 kB / 1.373 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/1.504, allocations: 3.844 kB / 1.373 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/1.504, allocations: 4 kB / 1.373 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/1.504, allocations: 2.906 kB / 1.373 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004941/1.504, allocations: 0.4966 MB / 1.374 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/1.504, allocations: 0 / 1.374 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.542e-05/1.504, allocations: 20.53 kB / 1.374 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/1.505, allocations: 2.391 kB / 1.374 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.311e-05/1.505, allocations: 4 kB / 1.374 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/1.505, allocations: 0 / 1.374 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/1.505, allocations: 7.812 kB / 1.374 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002364/1.505, allocations: 264 kB / 1.374 GB, free: 30.05 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.259e-05/1.505, allocations: 103.5 kB / 1.374 GB, free: 29.95 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.666e-05/1.505, allocations: 10.31 kB / 1.374 GB, free: 29.95 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001473/1.505, allocations: 10.3 kB / 1.374 GB, free: 29.95 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.298e-05/1.505, allocations: 31.11 kB / 1.374 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.071e-05/1.505, allocations: 3.75 kB / 1.374 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001606/1.505, allocations: 202.4 kB / 1.374 GB, free: 29.86 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.51e-07/1.505, allocations: 0 / 1.374 GB, free: 29.86 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000316/1.506, allocations: 60.88 kB / 1.375 GB, free: 29.84 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 13 (cha.y,cha.up,cha.down,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,cha.u,changeSampler.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,increaseSampler.y,decreaseSampler.y) * Number of discrete states: 3 (timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,cha.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001266/1.507, allocations: 1.053 MB / 1.376 GB, free: 29.05 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002469/1.507, allocations: 148 kB / 1.376 GB, free: 29.05 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/1.507, allocations: 0 / 1.376 GB, free: 29.05 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 7.799e-05/1.507, allocations: 58.77 kB / 1.376 GB, free: 29.04 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003406/1.508, allocations: 47.27 kB / 1.376 GB, free: 29.03 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006928/1.508, allocations: 364.3 kB / 1.376 GB, free: 28.87 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003526/1.509, allocations: 0.7594 MB / 1.377 GB, free: 28.16 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001061/1.509, allocations: 43.92 kB / 1.377 GB, free: 28.15 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001154/1.509, allocations: 74.3 kB / 1.377 GB, free: 28.14 MB / 0.8386 GB Notification: Performance of SimCode: time 5.61e-07/1.509, allocations: 0 / 1.377 GB, free: 28.14 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0248/1.534, allocations: 4.632 MB / 1.382 GB, free: 27.81 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001613/1.534, allocations: 179.6 kB / 1.382 GB, free: 27.62 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.737/3.271, allocations: 6.25 kB / 1.382 GB, free: 27.62 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Change_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Change.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change_res.mat does not exist to compare? outputFormat=mat