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.36/2.36, allocations: 390.3 MB / 402.8 MB, free: 6.648 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.001086/0.001086, allocations: 180.8 kB / 496.1 MB, free: 12.84 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.536/1.536, allocations: 221.3 MB / 0.7915 GB, free: 5.383 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.001022/0.001022, allocations: 99.5 kB / 0.9318 GB, free: 5.695 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.069e-05/3.071e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3205/0.3206, allocations: 143 MB / 1.219 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.072/1.393, allocations: 154.4 MB / 1.37 GB, free: 15.66 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003018/1.393, allocations: 76.77 kB / 1.37 GB, free: 15.62 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.02078/1.414, allocations: 7.207 MB / 1.377 GB, free: 9.512 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.134e-06/1.414, allocations: 0 / 1.377 GB, free: 9.512 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.081e-05/1.414, allocations: 4 kB / 1.377 GB, free: 9.508 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.0008954/1.415, allocations: 0.4974 MB / 1.377 GB, free: 8.977 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.182e-05/1.415, allocations: 8.031 kB / 1.377 GB, free: 8.969 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.872e-05/1.415, allocations: 45.67 kB / 1.377 GB, free: 8.918 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.976e-05/1.415, allocations: 31.61 kB / 1.377 GB, free: 8.887 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005686/1.416, allocations: 295.1 kB / 1.378 GB, free: 8.582 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/1.416, allocations: 7.688 kB / 1.378 GB, free: 8.578 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.491e-05/1.416, allocations: 11.44 kB / 1.378 GB, free: 8.57 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002064/1.416, allocations: 102.4 kB / 1.378 GB, free: 8.488 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/1.416, allocations: 0 / 1.378 GB, free: 8.488 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.915e-05/1.416, allocations: 10.69 kB / 1.378 GB, free: 8.48 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/1.416, allocations: 0 / 1.378 GB, free: 8.48 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001306/1.416, allocations: 60.67 kB / 1.378 GB, free: 8.441 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008717/1.417, allocations: 485.9 kB / 1.378 GB, free: 7.98 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002213/1.418, allocations: 115.6 kB / 1.378 GB, free: 7.891 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.633e-05/1.418, allocations: 42.95 kB / 1.378 GB, free: 7.859 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.899e-05/1.418, allocations: 4 kB / 1.378 GB, free: 7.855 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001947/1.418, allocations: 116 kB / 1.379 GB, free: 7.75 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=16): time 2.274e-06/1.418, allocations: 0 / 1.379 GB, free: 7.75 MB / 0.8386 GB Notification: Performance of matching and sorting (n=16): time 0.0003685/1.418, allocations: 166.2 kB / 1.379 GB, free: 7.613 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.561e-05/1.418, allocations: 55.34 kB / 1.379 GB, free: 7.547 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004243/1.419, allocations: 309 kB / 1.379 GB, free: 7.289 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.179e-05/1.419, allocations: 32.7 kB / 1.379 GB, free: 7.254 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001161/1.419, allocations: 132.4 kB / 1.379 GB, free: 7.148 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.612e-05/1.419, allocations: 50.16 kB / 1.379 GB, free: 7.109 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.356e-05/1.419, allocations: 3.375 kB / 1.379 GB, free: 7.109 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.00018/1.419, allocations: 334.5 kB / 1.38 GB, free: 6.781 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001437/1.419, allocations: 78.17 kB / 1.38 GB, free: 6.73 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001717/1.42, allocations: 124.9 kB / 1.38 GB, free: 6.621 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001602/1.42, allocations: 97.52 kB / 1.38 GB, free: 6.555 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/1.42, allocations: 0 / 1.38 GB, free: 6.555 MB / 0.8386 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004171/1.42, allocations: 262.6 kB / 1.38 GB, free: 6.348 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/1.42, allocations: 8 kB / 1.38 GB, free: 6.34 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/1.42, allocations: 0 / 1.38 GB, free: 6.34 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/1.42, allocations: 4.156 kB / 1.38 GB, free: 6.336 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000225/1.42, allocations: 54.2 kB / 1.38 GB, free: 6.285 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.367e-05/1.42, allocations: 11.92 kB / 1.38 GB, free: 6.273 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001505/1.421, allocations: 23.45 kB / 1.38 GB, free: 6.254 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.884e-05/1.421, allocations: 15.75 kB / 1.38 GB, free: 6.242 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 9.441e-05/1.421, allocations: 111 kB / 1.38 GB, free: 6.133 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.729e-05/1.421, allocations: 31.67 kB / 1.38 GB, free: 6.102 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003329/1.421, allocations: 196.1 kB / 1.381 GB, free: 5.945 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/1.421, allocations: 0 / 1.381 GB, free: 5.945 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/1.421, allocations: 4 kB / 1.381 GB, free: 5.941 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/1.421, allocations: 0 / 1.381 GB, free: 5.941 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006628/1.422, allocations: 0.5474 MB / 1.381 GB, free: 5.418 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/1.422, allocations: 0 / 1.381 GB, free: 5.418 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001011/1.422, allocations: 19.98 kB / 1.381 GB, free: 5.398 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/1.422, allocations: 0 / 1.381 GB, free: 5.398 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/1.422, allocations: 7.984 kB / 1.381 GB, free: 5.391 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/1.422, allocations: 3.938 kB / 1.381 GB, free: 5.387 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/1.422, allocations: 0 / 1.381 GB, free: 5.387 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003001/1.422, allocations: 275.9 kB / 1.381 GB, free: 5.137 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.344e-05/1.422, allocations: 100.3 kB / 1.381 GB, free: 5.023 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.472e-05/1.422, allocations: 5.875 kB / 1.381 GB, free: 5.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001521/1.423, allocations: 22.53 kB / 1.381 GB, free: 5 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.362e-05/1.423, allocations: 15.17 kB / 1.382 GB, free: 4.988 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.66e-05/1.423, allocations: 11.61 kB / 1.382 GB, free: 4.98 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002143/1.423, allocations: 203.4 kB / 1.382 GB, free: 4.816 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.423, allocations: 0 / 1.382 GB, free: 4.816 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003259/1.423, allocations: 70.89 kB / 1.382 GB, free: 4.754 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.001437/1.425, allocations: 1.091 MB / 1.383 GB, free: 3.809 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003089/1.425, allocations: 162.8 kB / 1.383 GB, free: 3.688 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/1.425, allocations: 0 / 1.383 GB, free: 3.688 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001059/1.425, allocations: 62.5 kB / 1.383 GB, free: 3.645 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003327/1.426, allocations: 51.94 kB / 1.383 GB, free: 3.602 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008044/1.426, allocations: 379.7 kB / 1.383 GB, free: 3.246 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004182/1.427, allocations: 0.7547 MB / 1.384 GB, free: 2.473 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001132/1.427, allocations: 38.05 kB / 1.384 GB, free: 2.434 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001189/1.427, allocations: 74.28 kB / 1.384 GB, free: 2.406 MB / 0.8386 GB Notification: Performance of SimCode: time 3.71e-07/1.427, allocations: 4 kB / 1.384 GB, free: 2.402 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01799/1.445, allocations: 5.1 MB / 1.389 GB, free: 13.45 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001795/1.445, allocations: 196.7 kB / 1.389 GB, free: 13.23 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.802/3.247, allocations: 0 / 1.389 GB, free: 13.23 MB / 0.8542 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