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.286/2.286, allocations: 390.3 MB / 405.3 MB, free: 13.49 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.001028/0.001028, allocations: 171.4 kB / 498.1 MB, free: 5.766 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.659/1.659, allocations: 223.1 MB / 0.7948 GB, free: 18.03 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.0008832/0.0008832, allocations: 105.4 kB / 0.9346 GB, free: 6.285 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003804/0.0003804, allocations: 9.5 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2787/0.2791, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1933/0.4724, allocations: 153.7 MB / 1.373 GB, free: 8.383 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002524/0.4727, allocations: 79.97 kB / 1.373 GB, free: 8.305 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02042/0.4932, allocations: 7.222 MB / 1.38 GB, free: 1.074 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.152e-06/0.4932, allocations: 0 / 1.38 GB, free: 1.074 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 2.082e-05/0.4932, allocations: 8 kB / 1.38 GB, free: 1.066 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0008633/0.4941, allocations: 0.5425 MB / 1.381 GB, free: 484 kB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.4942, allocations: 12.03 kB / 1.381 GB, free: 472 kB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.069e-05/0.4942, allocations: 42.56 kB / 1.381 GB, free: 420 kB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.523e-05/0.4943, allocations: 23.67 kB / 1.381 GB, free: 396 kB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004746/0.4948, allocations: 302.5 kB / 1.381 GB, free: 52 kB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.063e-05/0.4948, allocations: 16.17 kB / 1.381 GB, free: 36 kB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.633e-05/0.4948, allocations: 12 kB / 1.381 GB, free: 24 kB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003054/0.4951, allocations: 115.9 kB / 1.381 GB, free: 15.91 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.4952, allocations: 4 kB / 1.381 GB, free: 15.9 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.884e-05/0.4952, allocations: 11.94 kB / 1.381 GB, free: 15.89 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.4952, allocations: 0 / 1.381 GB, free: 15.89 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002769/0.4955, allocations: 100.5 kB / 1.381 GB, free: 15.79 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008087/0.4963, allocations: 481.4 kB / 1.382 GB, free: 15.27 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000348/0.4967, allocations: 142.5 kB / 1.382 GB, free: 15.12 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.145e-05/0.4967, allocations: 8 kB / 1.382 GB, free: 15.12 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002801/0.497, allocations: 123.3 kB / 1.382 GB, free: 14.98 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=16): time 1.633e-06/0.497, allocations: 0 / 1.382 GB, free: 14.98 MB / 0.8855 GB Notification: Performance of matching and sorting (n=16): time 0.0006506/0.4976, allocations: 267.3 kB / 1.382 GB, free: 14.72 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.831e-05/0.4977, allocations: 59.34 kB / 1.382 GB, free: 14.65 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003236/0.498, allocations: 301.7 kB / 1.383 GB, free: 14.35 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.705e-05/0.4981, allocations: 33.7 kB / 1.383 GB, free: 14.31 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 9.497e-05/0.4982, allocations: 140.4 kB / 1.383 GB, free: 14.17 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.413e-05/0.4982, allocations: 47.44 kB / 1.383 GB, free: 14.12 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.42e-05/0.4982, allocations: 4 kB / 1.383 GB, free: 14.12 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.4984, allocations: 335 kB / 1.383 GB, free: 13.78 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002293/0.4986, allocations: 103.9 kB / 1.383 GB, free: 13.68 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002435/0.4989, allocations: 158.2 kB / 1.383 GB, free: 13.51 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002282/0.4991, allocations: 101.6 kB / 1.383 GB, free: 13.41 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.4991, allocations: 4 kB / 1.383 GB, free: 13.41 MB / 0.8855 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005763/0.4997, allocations: 315.3 kB / 1.384 GB, free: 13.09 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.4997, allocations: 4 kB / 1.384 GB, free: 13.09 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.4997, allocations: 4 kB / 1.384 GB, free: 13.09 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/0.4998, allocations: 4 kB / 1.384 GB, free: 13.08 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002076/0.5, allocations: 43.91 kB / 1.384 GB, free: 13.04 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.5, allocations: 0 / 1.384 GB, free: 13.04 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001507/0.5002, allocations: 27.89 kB / 1.384 GB, free: 13.01 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.822e-05/0.5002, allocations: 16.03 kB / 1.384 GB, free: 13 MB / 0.8855 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 () * Number of clocked 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.0001553/0.5004, allocations: 157.8 kB / 1.384 GB, free: 12.83 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.817e-05/0.5004, allocations: 31.66 kB / 1.384 GB, free: 12.8 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005103/0.5009, allocations: 221 kB / 1.384 GB, free: 12.57 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.5009, allocations: 0 / 1.384 GB, free: 12.57 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.501, allocations: 4 kB / 1.384 GB, free: 12.57 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-06/0.501, allocations: 3.984 kB / 1.384 GB, free: 12.57 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008179/0.5018, allocations: 0.5777 MB / 1.385 GB, free: 11.93 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.5018, allocations: 0 / 1.385 GB, free: 11.93 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.642e-05/0.5019, allocations: 23.98 kB / 1.385 GB, free: 11.91 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.5019, allocations: 0 / 1.385 GB, free: 11.91 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.738e-05/0.5019, allocations: 4 kB / 1.385 GB, free: 11.91 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.5019, allocations: 0 / 1.385 GB, free: 11.91 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.502, allocations: 0 / 1.385 GB, free: 11.91 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004572/0.5024, allocations: 324.3 kB / 1.385 GB, free: 11.57 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 7.951e-05/0.5025, allocations: 100.8 kB / 1.385 GB, free: 11.46 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.112e-05/0.5026, allocations: 11.98 kB / 1.385 GB, free: 11.45 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001447/0.5027, allocations: 19.98 kB / 1.385 GB, free: 11.43 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.973e-05/0.5028, allocations: 19.97 kB / 1.385 GB, free: 11.41 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.292e-05/0.5028, allocations: 4 kB / 1.385 GB, free: 11.4 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0002029/0.503, allocations: 213.9 kB / 1.386 GB, free: 11.2 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.863e-06/0.503, allocations: 0 / 1.386 GB, free: 11.2 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003306/0.5034, allocations: 67.88 kB / 1.386 GB, free: 11.13 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: 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) * Number of clocked states: 0 () * 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.001635/0.505, allocations: 1.168 MB / 1.387 GB, free: 10.09 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0004706/0.5055, allocations: 210 kB / 1.387 GB, free: 9.887 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.5055, allocations: 0 / 1.387 GB, free: 9.887 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.000197/0.5057, allocations: 84.17 kB / 1.387 GB, free: 9.805 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003296/0.506, allocations: 41.2 kB / 1.387 GB, free: 9.766 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001337/0.5074, allocations: 1.491 MB / 1.389 GB, free: 8.199 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003446/0.5077, allocations: 0.756 MB / 1.389 GB, free: 7.418 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.000107/0.5079, allocations: 37.94 kB / 1.389 GB, free: 7.383 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001184/0.508, allocations: 75.41 kB / 1.389 GB, free: 7.309 MB / 0.8855 GB Notification: Performance of SimCode: time 1.784e-06/0.508, allocations: 0 / 1.389 GB, free: 7.309 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01691/0.5249, allocations: 5.036 MB / 1.394 GB, free: 2.422 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001953/0.5252, allocations: 229.6 kB / 1.395 GB, free: 2.172 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.776/2.301, allocations: 0 / 1.395 GB, free: 2.172 MB / 0.8855 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