Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Change.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.Integers.Validation.Change,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Change,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.298/2.298, allocations: 387.1 MB / 399.7 MB, free: 9.465 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.00207/0.00207, allocations: 179.9 kB / 492.3 MB, free: 0.6133 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.519/1.519, allocations: 221.3 MB / 0.7872 GB, free: 12.91 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.0009688/0.0009687, allocations: 91.91 kB / 0.9267 GB, free: 13.99 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.361e-05/4.389e-05, allocations: 8 kB / 1.073 GB, free: 180.2 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3059/0.3059, allocations: 142.3 MB / 1.213 GB, free: 38.39 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.114/1.42, allocations: 153.6 MB / 1.363 GB, free: 18.86 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000267/1.421, allocations: 80.53 kB / 1.363 GB, free: 18.85 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01798/1.439, allocations: 7.196 MB / 1.37 GB, free: 34.18 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.403e-06/1.439, allocations: 0 / 1.37 GB, free: 34.18 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.022e-05/1.439, allocations: 7.969 kB / 1.37 GB, free: 34.18 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.0007553/1.439, allocations: 0.4957 MB / 1.37 GB, free: 33.75 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/1.439, allocations: 7.875 kB / 1.37 GB, free: 33.75 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.37e-05/1.44, allocations: 43.86 kB / 1.37 GB, free: 33.71 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.098e-05/1.44, allocations: 31.12 kB / 1.37 GB, free: 33.69 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004827/1.44, allocations: 298.4 kB / 1.37 GB, free: 33.46 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.575e-05/1.44, allocations: 7.094 kB / 1.37 GB, free: 33.46 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.641e-05/1.44, allocations: 13.95 kB / 1.37 GB, free: 33.46 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001981/1.44, allocations: 107 kB / 1.371 GB, free: 33.43 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/1.44, allocations: 0 / 1.371 GB, free: 33.43 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.556e-05/1.44, allocations: 3.688 kB / 1.371 GB, free: 33.43 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-06/1.44, allocations: 3.875 kB / 1.371 GB, free: 33.43 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000131/1.441, allocations: 58.2 kB / 1.371 GB, free: 33.43 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008472/1.441, allocations: 484.5 kB / 1.371 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001955/1.442, allocations: 119.9 kB / 1.371 GB, free: 33.11 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.939e-05/1.442, allocations: 44.48 kB / 1.371 GB, free: 33.11 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.018e-05/1.442, allocations: 11.83 kB / 1.371 GB, free: 33.1 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001775/1.442, allocations: 110.2 kB / 1.371 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=16): time 1.904e-06/1.442, allocations: 0 / 1.371 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of matching and sorting (n=16): time 0.0003525/1.442, allocations: 166.3 kB / 1.372 GB, free: 33 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.55e-05/1.442, allocations: 55.22 kB / 1.372 GB, free: 32.94 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003522/1.443, allocations: 303.4 kB / 1.372 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.919e-05/1.443, allocations: 35.84 kB / 1.372 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.892e-05/1.443, allocations: 133.5 kB / 1.372 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.171e-05/1.443, allocations: 40.41 kB / 1.372 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.788e-05/1.443, allocations: 3.188 kB / 1.372 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001387/1.443, allocations: 341.8 kB / 1.372 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00012/1.443, allocations: 82.66 kB / 1.372 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001476/1.443, allocations: 123.5 kB / 1.373 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001394/1.443, allocations: 89.45 kB / 1.373 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.085e-06/1.443, allocations: 0 / 1.373 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003721/1.444, allocations: 265.1 kB / 1.373 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/1.444, allocations: 12.92 kB / 1.373 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/1.444, allocations: 8.094 kB / 1.373 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.14e-05/1.444, allocations: 3.969 kB / 1.373 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002128/1.444, allocations: 43.39 kB / 1.373 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.336e-05/1.444, allocations: 7.75 kB / 1.373 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000162/1.444, allocations: 29.02 kB / 1.373 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.626e-05/1.444, allocations: 14.62 kB / 1.373 GB, free: 32.24 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.0001262/1.445, allocations: 120.7 kB / 1.373 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.477e-05/1.445, allocations: 26.2 kB / 1.373 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003008/1.445, allocations: 186.3 kB / 1.373 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/1.445, allocations: 0 / 1.373 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/1.445, allocations: 0 / 1.373 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/1.445, allocations: 6.875 kB / 1.373 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005728/1.445, allocations: 0.5403 MB / 1.374 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/1.446, allocations: 4 kB / 1.374 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.832e-05/1.446, allocations: 21.2 kB / 1.374 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/1.446, allocations: 0 / 1.374 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.453e-05/1.446, allocations: 2.312 kB / 1.374 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/1.446, allocations: 3.844 kB / 1.374 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/1.446, allocations: 0 / 1.374 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002659/1.446, allocations: 269 kB / 1.374 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.119e-05/1.446, allocations: 114.3 kB / 1.374 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.249e-05/1.446, allocations: 3.562 kB / 1.374 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001517/1.446, allocations: 20.14 kB / 1.374 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.3e-05/1.446, allocations: 16.48 kB / 1.374 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.319e-05/1.446, allocations: 6.875 kB / 1.374 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001726/1.446, allocations: 212.8 kB / 1.375 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.61e-07/1.446, allocations: 0 / 1.375 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003061/1.447, allocations: 68.55 kB / 1.375 GB, free: 31.39 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.001422/1.448, allocations: 1.095 MB / 1.376 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002883/1.449, allocations: 165.6 kB / 1.376 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/1.449, allocations: 320 / 1.376 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 9.5e-05/1.449, allocations: 68.88 kB / 1.376 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003224/1.449, allocations: 45.33 kB / 1.376 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007036/1.45, allocations: 381.1 kB / 1.376 GB, free: 30.42 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003561/1.45, allocations: 0.7634 MB / 1.377 GB, free: 29.72 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001026/1.45, allocations: 27.55 kB / 1.377 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001065/1.45, allocations: 72.48 kB / 1.377 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of SimCode: time 3.3e-07/1.45, allocations: 0 / 1.377 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01564/1.466, allocations: 5.113 MB / 1.382 GB, free: 28.85 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001429/1.466, allocations: 191.8 kB / 1.382 GB, free: 28.63 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.855/3.321, allocations: 3.844 kB / 1.382 GB, free: 28.63 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Change.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Change_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Change_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Change.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Change_res.mat does not exist to compare? outputFormat=mat