Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less.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.Less,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Less",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Less,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Less",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.217/2.217, allocations: 390.3 MB / 405.3 MB, free: 13.47 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.001092/0.001092, allocations: 182.7 kB / 498.1 MB, free: 5.758 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.39/1.39, allocations: 223.1 MB / 0.7948 GB, free: 18.93 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.0008982/0.0008982, allocations: 100.2 kB / 0.9346 GB, free: 7.238 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004732/0.0004734, allocations: 9.562 kB / 1.084 GB, free: 212.6 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2752/0.2757, allocations: 142.4 MB / 1.223 GB, free: 89.5 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1878/0.4636, allocations: 153.4 MB / 1.373 GB, free: 15.92 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002561/0.4639, allocations: 75.97 kB / 1.373 GB, free: 15.84 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.03133/0.4953, allocations: 11.17 MB / 1.384 GB, free: 4.656 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.204e-06/0.4953, allocations: 0 / 1.384 GB, free: 4.656 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 3.437e-05/0.4954, allocations: 8 kB / 1.384 GB, free: 4.648 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001187/0.4966, allocations: 0.6187 MB / 1.384 GB, free: 3.98 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/0.4966, allocations: 12.03 kB / 1.384 GB, free: 3.969 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.668e-05/0.4967, allocations: 38.55 kB / 1.384 GB, free: 3.922 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001195/0.4968, allocations: 35.58 kB / 1.384 GB, free: 3.887 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008369/0.4977, allocations: 401.1 kB / 1.385 GB, free: 3.457 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.295e-05/0.4977, allocations: 8 kB / 1.385 GB, free: 3.449 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.823e-05/0.4977, allocations: 4 kB / 1.385 GB, free: 3.445 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002659/0.498, allocations: 118.3 kB / 1.385 GB, free: 3.324 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.498, allocations: 0 / 1.385 GB, free: 3.324 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.781e-05/0.4981, allocations: 4 kB / 1.385 GB, free: 3.32 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/0.4981, allocations: 4 kB / 1.385 GB, free: 3.316 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001754/0.4983, allocations: 63.91 kB / 1.385 GB, free: 3.254 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009774/0.4992, allocations: 0.5198 MB / 1.385 GB, free: 2.684 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003512/0.4996, allocations: 138.7 kB / 1.386 GB, free: 2.539 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.793e-05/0.4996, allocations: 0 / 1.386 GB, free: 2.539 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000249/0.4999, allocations: 119.3 kB / 1.386 GB, free: 2.41 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=13): time 2.284e-06/0.4999, allocations: 0 / 1.386 GB, free: 2.41 MB / 0.8855 GB Notification: Performance of matching and sorting (n=13): time 0.0005594/0.5005, allocations: 225.4 kB / 1.386 GB, free: 2.184 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.907e-05/0.5005, allocations: 59.34 kB / 1.386 GB, free: 2.113 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000621/0.5012, allocations: 484.6 kB / 1.386 GB, free: 1.637 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.727e-05/0.5012, allocations: 29.7 kB / 1.386 GB, free: 1.602 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001286/0.5013, allocations: 164.4 kB / 1.387 GB, free: 1.438 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.212e-05/0.5014, allocations: 39.55 kB / 1.387 GB, free: 1.398 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.956e-05/0.5014, allocations: 4 kB / 1.387 GB, free: 1.395 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.5016, allocations: 354.8 kB / 1.387 GB, free: 1.039 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002362/0.5018, allocations: 120.7 kB / 1.387 GB, free: 0.918 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002429/0.502, allocations: 143.6 kB / 1.387 GB, free: 0.7695 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002369/0.5023, allocations: 136.9 kB / 1.387 GB, free: 0.6367 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/0.5023, allocations: 4 kB / 1.387 GB, free: 0.6328 MB / 0.8855 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006224/0.5029, allocations: 365 kB / 1.388 GB, free: 276 kB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.503, allocations: 7.953 kB / 1.388 GB, free: 268 kB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.503, allocations: 0 / 1.388 GB, free: 268 kB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.503, allocations: 4 kB / 1.388 GB, free: 264 kB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002308/0.5032, allocations: 51.91 kB / 1.388 GB, free: 212 kB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.187e-05/0.5033, allocations: 4 kB / 1.388 GB, free: 208 kB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001642/0.5034, allocations: 23.83 kB / 1.388 GB, free: 184 kB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.994e-05/0.5035, allocations: 12 kB / 1.388 GB, free: 172 kB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition2,$PRE.timTabLin1.tab.nextTimeEvent,$whenCondition1,$PRE.timTabLin.tab.nextTimeEvent,intLes.u1,intLes.u2,intLes.y,timTabLin.tab.nextTimeEvent,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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.0002157/0.5037, allocations: 193.6 kB / 1.388 GB, free: 15.97 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.092e-05/0.5038, allocations: 31.62 kB / 1.388 GB, free: 15.94 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004358/0.5042, allocations: 210.7 kB / 1.388 GB, free: 15.71 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.5042, allocations: 4 kB / 1.388 GB, free: 15.71 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.305e-06/0.5042, allocations: 4 kB / 1.388 GB, free: 15.71 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.5042, allocations: 0 / 1.388 GB, free: 15.71 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003038/0.5045, allocations: 313.4 kB / 1.389 GB, free: 15.35 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.5046, allocations: 4 kB / 1.389 GB, free: 15.35 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.905e-05/0.5046, allocations: 16 kB / 1.389 GB, free: 15.33 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.5047, allocations: 0 / 1.389 GB, free: 15.33 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.866e-05/0.5047, allocations: 3.984 kB / 1.389 GB, free: 15.33 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.314e-06/0.5047, allocations: 11.94 kB / 1.389 GB, free: 15.32 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.5047, allocations: 0 / 1.389 GB, free: 15.32 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003784/0.5051, allocations: 220.6 kB / 1.389 GB, free: 15.08 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001134/0.5052, allocations: 116.7 kB / 1.389 GB, free: 14.95 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.26e-05/0.5053, allocations: 8 kB / 1.389 GB, free: 14.94 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001087/0.5054, allocations: 7.984 kB / 1.389 GB, free: 14.93 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.484e-05/0.5055, allocations: 23.92 kB / 1.389 GB, free: 14.91 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.688e-05/0.5055, allocations: 8 kB / 1.389 GB, free: 14.9 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0003683/0.5059, allocations: 323.1 kB / 1.389 GB, free: 14.59 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5059, allocations: 3.938 kB / 1.389 GB, free: 14.59 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0003295/0.5062, allocations: 71.83 kB / 1.389 GB, free: 14.52 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: 9 ($whenCondition2,$whenCondition1,intLes.u1,intLes.u2,intLes.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 4 (timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001872/0.5081, allocations: 1.087 MB / 1.39 GB, free: 13.56 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0004727/0.5086, allocations: 203.8 kB / 1.391 GB, free: 13.36 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.5086, allocations: 0 / 1.391 GB, free: 13.36 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0001685/0.5088, allocations: 82.5 kB / 1.391 GB, free: 13.29 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004256/0.5092, allocations: 75.22 kB / 1.391 GB, free: 13.21 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00169/0.5109, allocations: 1.214 MB / 1.392 GB, free: 11.94 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004692/0.5114, allocations: 0.7948 MB / 1.393 GB, free: 11.12 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0001875/0.5116, allocations: 58.92 kB / 1.393 GB, free: 11.06 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001913/0.5118, allocations: 111.4 kB / 1.393 GB, free: 10.95 MB / 0.9011 GB Notification: Performance of SimCode: time 7.61e-07/0.5118, allocations: 0 / 1.393 GB, free: 10.95 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02168/0.5335, allocations: 7.02 MB / 1.4 GB, free: 4.094 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000197/0.5337, allocations: 216.9 kB / 1.4 GB, free: 3.852 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.071/2.604, allocations: 0 / 1.4 GB, free: 3.852 MB / 0.9011 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Less_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Less.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less_res.mat does not exist to compare? outputFormat=mat