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.629/2.629, allocations: 393.5 MB / 408.4 MB, free: 11.02 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.001054/0.001054, allocations: 187.9 kB / 0.4902 GB, free: 2.25 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.503/1.503, allocations: 223.1 MB / 0.7992 GB, free: 15.67 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.001099/0.001099, allocations: 96.27 kB / 0.9396 GB, free: 2.859 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003532/0.0003532, allocations: 10.34 kB / 1.09 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2644/0.2648, allocations: 143 MB / 1.229 GB, free: 85.37 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1967/0.4615, allocations: 154.4 MB / 1.38 GB, free: 10.71 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002462/0.4618, allocations: 83.95 kB / 1.38 GB, free: 10.63 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.0202/0.482, allocations: 7.236 MB / 1.387 GB, free: 3.387 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.565e-06/0.4821, allocations: 0 / 1.387 GB, free: 3.387 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 2.563e-05/0.4821, allocations: 4 kB / 1.387 GB, free: 3.383 MB / 0.8855 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.0009503/0.4831, allocations: 0.5456 MB / 1.388 GB, free: 2.781 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.267e-05/0.4831, allocations: 8.562 kB / 1.388 GB, free: 2.773 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.549e-05/0.4832, allocations: 42.55 kB / 1.388 GB, free: 2.723 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.609e-05/0.4833, allocations: 27.67 kB / 1.388 GB, free: 2.695 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005331/0.4838, allocations: 294.6 kB / 1.388 GB, free: 2.367 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.57e-05/0.4839, allocations: 8.188 kB / 1.388 GB, free: 2.359 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.634e-05/0.4839, allocations: 16 kB / 1.388 GB, free: 2.344 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003011/0.4842, allocations: 119.1 kB / 1.388 GB, free: 2.223 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.4842, allocations: 4 kB / 1.388 GB, free: 2.219 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.81e-05/0.4843, allocations: 7.922 kB / 1.388 GB, free: 2.211 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.4843, allocations: 0 / 1.388 GB, free: 2.211 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003064/0.4846, allocations: 104.4 kB / 1.388 GB, free: 2.109 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009091/0.4855, allocations: 481.5 kB / 1.389 GB, free: 1.59 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003352/0.4858, allocations: 146.5 kB / 1.389 GB, free: 1.438 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.96e-05/0.4859, allocations: 4 kB / 1.389 GB, free: 1.434 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002848/0.4862, allocations: 129.5 kB / 1.389 GB, free: 1.297 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=16): time 2.305e-06/0.4862, allocations: 0 / 1.389 GB, free: 1.297 MB / 0.8855 GB Notification: Performance of matching and sorting (n=16): time 0.0006747/0.4869, allocations: 261.2 kB / 1.389 GB, free: 1.035 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.606e-05/0.4869, allocations: 63.39 kB / 1.389 GB, free: 0.9609 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003375/0.4873, allocations: 305.6 kB / 1.39 GB, free: 0.6562 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.647e-05/0.4873, allocations: 29.7 kB / 1.39 GB, free: 0.6211 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 9.08e-05/0.4874, allocations: 136.5 kB / 1.39 GB, free: 496 kB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.36e-05/0.4875, allocations: 47.44 kB / 1.39 GB, free: 448 kB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.614e-05/0.4875, allocations: 4 kB / 1.39 GB, free: 444 kB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.4876, allocations: 334.8 kB / 1.39 GB, free: 100 kB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002369/0.4879, allocations: 99.95 kB / 1.39 GB, free: 0 / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002827/0.4882, allocations: 145.8 kB / 1.39 GB, free: 15.84 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002529/0.4884, allocations: 117.3 kB / 1.391 GB, free: 15.73 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.4884, allocations: 0 / 1.391 GB, free: 15.73 MB / 0.9011 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000635/0.4891, allocations: 307.5 kB / 1.391 GB, free: 15.42 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/0.4891, allocations: 8 kB / 1.391 GB, free: 15.41 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.4891, allocations: 0 / 1.391 GB, free: 15.41 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.949e-05/0.4891, allocations: 4.219 kB / 1.391 GB, free: 15.41 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002205/0.4894, allocations: 47.91 kB / 1.391 GB, free: 15.36 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.679e-06/0.4894, allocations: 7.938 kB / 1.391 GB, free: 15.36 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001806/0.4896, allocations: 23.89 kB / 1.391 GB, free: 15.33 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.752e-05/0.4896, allocations: 11.98 kB / 1.391 GB, free: 15.32 MB / 0.9011 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.0001846/0.4898, allocations: 166.2 kB / 1.391 GB, free: 15.15 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.259e-05/0.4899, allocations: 23.77 kB / 1.391 GB, free: 15.12 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005178/0.4904, allocations: 225.5 kB / 1.391 GB, free: 14.9 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/0.4904, allocations: 4 kB / 1.391 GB, free: 14.89 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.4904, allocations: 0 / 1.391 GB, free: 14.89 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.4904, allocations: 0 / 1.391 GB, free: 14.89 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008402/0.4913, allocations: 0.584 MB / 1.392 GB, free: 14.25 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.4913, allocations: 0 / 1.392 GB, free: 14.25 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001016/0.4914, allocations: 23.91 kB / 1.392 GB, free: 14.23 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.4914, allocations: 4 kB / 1.392 GB, free: 14.23 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.63e-05/0.4914, allocations: 8 kB / 1.392 GB, free: 14.22 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.003e-06/0.4914, allocations: 0 / 1.392 GB, free: 14.22 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.4914, allocations: 0 / 1.392 GB, free: 14.22 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004845/0.4919, allocations: 312.9 kB / 1.392 GB, free: 13.9 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 8.224e-05/0.492, allocations: 100.8 kB / 1.392 GB, free: 13.78 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.764e-05/0.4921, allocations: 8 kB / 1.392 GB, free: 13.77 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001561/0.4922, allocations: 23.97 kB / 1.392 GB, free: 13.75 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.91e-05/0.4923, allocations: 11.98 kB / 1.392 GB, free: 13.74 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.783e-05/0.4923, allocations: 12 kB / 1.392 GB, free: 13.73 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0002121/0.4926, allocations: 205.9 kB / 1.393 GB, free: 13.53 MB / 0.9011 GB Notification: Performance of sort global known variables: time 2.81e-07/0.4926, allocations: 0 / 1.393 GB, free: 13.53 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.000347/0.4929, allocations: 67.92 kB / 1.393 GB, free: 13.46 MB / 0.9011 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.001725/0.4947, allocations: 1.181 MB / 1.394 GB, free: 12.41 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0005272/0.4952, allocations: 205 kB / 1.394 GB, free: 12.21 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.4952, allocations: 0 / 1.394 GB, free: 12.21 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0002126/0.4954, allocations: 84.2 kB / 1.394 GB, free: 12.13 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003582/0.4958, allocations: 44.52 kB / 1.394 GB, free: 12.09 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001563/0.4974, allocations: 1.495 MB / 1.396 GB, free: 10.52 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003574/0.4977, allocations: 0.756 MB / 1.396 GB, free: 9.734 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0001252/0.4979, allocations: 33.94 kB / 1.396 GB, free: 9.699 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001221/0.498, allocations: 75.41 kB / 1.396 GB, free: 9.625 MB / 0.9011 GB Notification: Performance of SimCode: time 9.12e-07/0.498, allocations: 0 / 1.396 GB, free: 9.625 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01802/0.516, allocations: 5.056 MB / 1.401 GB, free: 4.73 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002273/0.5163, allocations: 225.9 kB / 1.402 GB, free: 4.488 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.007/2.523, allocations: 3.938 kB / 1.402 GB, free: 4.484 MB / 0.9011 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