Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less.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.Less,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Less",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Less,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.366/2.366, 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.001517/0.001518, allocations: 179.9 kB / 0.4901 GB, free: 2.258 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.732/1.732, allocations: 223.1 MB / 0.7992 GB, free: 14.75 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.0009633/0.0009635, allocations: 104.2 kB / 0.9396 GB, free: 1.898 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003527/0.0003527, allocations: 14.61 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2921/0.2925, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2033/0.4959, allocations: 154.2 MB / 1.38 GB, free: 15.22 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000264/0.4962, allocations: 75.95 kB / 1.38 GB, free: 15.15 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.03135/0.5276, allocations: 11.17 MB / 1.391 GB, free: 3.961 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.294e-06/0.5276, allocations: 0 / 1.391 GB, free: 3.961 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 4.776e-05/0.5277, allocations: 8 kB / 1.391 GB, free: 3.953 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.001222/0.5289, allocations: 0.607 MB / 1.391 GB, free: 3.297 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.908e-05/0.529, allocations: 12.56 kB / 1.391 GB, free: 3.285 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.676e-05/0.529, allocations: 38.55 kB / 1.391 GB, free: 3.238 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001268/0.5292, allocations: 47.48 kB / 1.392 GB, free: 3.191 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008418/0.53, allocations: 409.1 kB / 1.392 GB, free: 2.754 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.5301, allocations: 4 kB / 1.392 GB, free: 2.75 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.513e-05/0.5301, allocations: 11.98 kB / 1.392 GB, free: 2.738 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000256/0.5303, allocations: 108 kB / 1.392 GB, free: 2.629 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.5304, allocations: 0 / 1.392 GB, free: 2.629 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.988e-05/0.5304, allocations: 3.984 kB / 1.392 GB, free: 2.625 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.5304, allocations: 4 kB / 1.392 GB, free: 2.621 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001898/0.5306, allocations: 71.91 kB / 1.392 GB, free: 2.551 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009399/0.5316, allocations: 0.5005 MB / 1.393 GB, free: 2 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003461/0.5319, allocations: 146.8 kB / 1.393 GB, free: 1.848 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.736e-05/0.5319, allocations: 0 / 1.393 GB, free: 1.848 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002524/0.5322, allocations: 127.3 kB / 1.393 GB, free: 1.711 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=13): time 2.134e-06/0.5322, allocations: 0 / 1.393 GB, free: 1.711 MB / 0.8855 GB Notification: Performance of matching and sorting (n=13): time 0.0005699/0.5328, allocations: 229 kB / 1.393 GB, free: 1.484 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.64e-05/0.5329, allocations: 63.41 kB / 1.393 GB, free: 1.41 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006415/0.5335, allocations: 480.6 kB / 1.394 GB, free: 0.9336 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.196e-05/0.5335, allocations: 33.7 kB / 1.394 GB, free: 0.8945 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001269/0.5337, allocations: 164.4 kB / 1.394 GB, free: 0.7266 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.454e-05/0.5337, allocations: 39.7 kB / 1.394 GB, free: 0.6875 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.272e-05/0.5338, allocations: 4 kB / 1.394 GB, free: 0.6836 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001466/0.5339, allocations: 350.8 kB / 1.394 GB, free: 340 kB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000232/0.5342, allocations: 116.5 kB / 1.394 GB, free: 220 kB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002436/0.5344, allocations: 151.6 kB / 1.394 GB, free: 60 kB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002637/0.5347, allocations: 124.5 kB / 1.395 GB, free: 15.94 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.5347, allocations: 0 / 1.395 GB, free: 15.94 MB / 0.9011 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006328/0.5353, allocations: 374 kB / 1.395 GB, free: 15.57 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.5354, allocations: 7.953 kB / 1.395 GB, free: 15.56 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.5354, allocations: 4.062 kB / 1.395 GB, free: 15.55 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.5354, allocations: 4 kB / 1.395 GB, free: 15.55 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002391/0.5356, allocations: 47.91 kB / 1.395 GB, free: 15.5 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/0.5357, allocations: 4 kB / 1.395 GB, free: 15.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001823/0.5359, allocations: 15.98 kB / 1.395 GB, free: 15.48 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-05/0.5359, allocations: 19.98 kB / 1.395 GB, free: 15.46 MB / 0.9011 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.0002138/0.5361, allocations: 186.4 kB / 1.395 GB, free: 15.27 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.3e-05/0.5362, allocations: 35.53 kB / 1.395 GB, free: 15.24 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004419/0.5367, allocations: 212.6 kB / 1.395 GB, free: 15.02 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/0.5367, allocations: 4 kB / 1.395 GB, free: 15.02 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.5367, allocations: 0 / 1.395 GB, free: 15.02 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.5367, allocations: 0 / 1.395 GB, free: 15.02 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003059/0.537, allocations: 313.4 kB / 1.396 GB, free: 14.66 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.537, allocations: 0 / 1.396 GB, free: 14.66 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.212e-05/0.5371, allocations: 15.98 kB / 1.396 GB, free: 14.64 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.5371, allocations: 0 / 1.396 GB, free: 14.64 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.778e-05/0.5371, allocations: 8 kB / 1.396 GB, free: 14.64 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.811e-06/0.5372, allocations: 11.95 kB / 1.396 GB, free: 14.62 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.5372, allocations: 0 / 1.396 GB, free: 14.62 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004206/0.5376, allocations: 219.1 kB / 1.396 GB, free: 14.39 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001308/0.5377, allocations: 124.6 kB / 1.396 GB, free: 14.25 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.373e-05/0.5378, allocations: 4 kB / 1.396 GB, free: 14.25 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000113/0.5379, allocations: 11.98 kB / 1.396 GB, free: 14.24 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.212e-05/0.538, allocations: 27.92 kB / 1.396 GB, free: 14.21 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.42e-05/0.538, allocations: 4 kB / 1.396 GB, free: 14.21 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0003677/0.5384, allocations: 327.1 kB / 1.396 GB, free: 13.89 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.9e-07/0.5384, allocations: 0 / 1.396 GB, free: 13.89 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.000342/0.5387, allocations: 71.94 kB / 1.396 GB, free: 13.82 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.001626/0.5404, allocations: 1.093 MB / 1.398 GB, free: 12.86 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0004325/0.5408, allocations: 195.8 kB / 1.398 GB, free: 12.67 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.5408, allocations: 4 kB / 1.398 GB, free: 12.66 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0001544/0.541, allocations: 67.91 kB / 1.398 GB, free: 12.6 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004232/0.5414, allocations: 81.45 kB / 1.398 GB, free: 12.52 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00169/0.5431, allocations: 1.205 MB / 1.399 GB, free: 11.26 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004288/0.5436, allocations: 0.8065 MB / 1.4 GB, free: 10.42 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0002095/0.5438, allocations: 58.86 kB / 1.4 GB, free: 10.36 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001871/0.544, allocations: 111.4 kB / 1.4 GB, free: 10.26 MB / 0.9011 GB Notification: Performance of SimCode: time 4.51e-07/0.544, allocations: 0 / 1.4 GB, free: 10.26 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02158/0.5656, allocations: 7.027 MB / 1.407 GB, free: 3.402 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002551/0.5659, allocations: 219.7 kB / 1.407 GB, free: 3.164 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.101/2.667, allocations: 2.25 kB / 1.407 GB, free: 3.164 MB / 0.9011 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Less_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Less.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less_res.mat does not exist to compare? outputFormat=mat