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.359/2.359, allocations: 387.4 MB / 394.9 MB, free: 13.32 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.001167/0.001167, allocations: 176.8 kB / 487.4 MB, free: 4.977 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.637/1.637, allocations: 221.5 MB / 0.7824 GB, free: 0.9531 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001246/0.001246, allocations: 91.84 kB / 0.9219 GB, free: 2.195 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.199e-05/2.202e-05, allocations: 8 kB / 1.067 GB, free: 185.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2877/0.2878, allocations: 142.4 MB / 1.206 GB, free: 43.79 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8421/1.13, allocations: 152.6 MB / 1.355 GB, free: 18.38 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002066/1.13, allocations: 74.34 kB / 1.355 GB, free: 18.38 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02749/1.158, allocations: 11.05 MB / 1.366 GB, free: 33.5 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.362e-06/1.158, allocations: 0 / 1.366 GB, free: 33.5 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.332e-05/1.158, allocations: 15.78 kB / 1.366 GB, free: 33.49 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0007526/1.159, allocations: 0.5263 MB / 1.367 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/1.159, allocations: 11.44 kB / 1.367 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.844e-05/1.159, allocations: 35.03 kB / 1.367 GB, free: 33.03 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005892/1.159, allocations: 395 kB / 1.367 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.059e-05/1.159, allocations: 7.969 kB / 1.367 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.387e-05/1.159, allocations: 14.59 kB / 1.367 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001235/1.16, allocations: 56.28 kB / 1.367 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000142/1.16, allocations: 95.19 kB / 1.367 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/1.16, allocations: 0 / 1.367 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.83e-05/1.16, allocations: 3.047 kB / 1.367 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.044e-06/1.16, allocations: 3.75 kB / 1.367 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007495/1.16, allocations: 0.4887 MB / 1.368 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001831/1.161, allocations: 118.4 kB / 1.368 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.405e-05/1.161, allocations: 46.56 kB / 1.368 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.156e-05/1.161, allocations: 3.906 kB / 1.368 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001858/1.161, allocations: 109.6 kB / 1.368 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=13): time 1.543e-06/1.161, allocations: 0 / 1.368 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13): time 0.0003041/1.161, allocations: 165.8 kB / 1.368 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.003e-05/1.161, allocations: 55.41 kB / 1.368 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005194/1.162, allocations: 460.7 kB / 1.369 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.029e-05/1.162, allocations: 25.7 kB / 1.369 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001303/1.162, allocations: 168.2 kB / 1.369 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.242e-05/1.162, allocations: 36.06 kB / 1.369 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.771e-05/1.162, allocations: 0 / 1.369 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001594/1.162, allocations: 347.5 kB / 1.369 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001636/1.162, allocations: 109.8 kB / 1.369 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000167/1.163, allocations: 138.8 kB / 1.369 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003591/1.163, allocations: 146.1 kB / 1.369 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/1.163, allocations: 0 / 1.369 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005673/1.164, allocations: 350.9 kB / 1.37 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/1.164, allocations: 7.969 kB / 1.37 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/1.164, allocations: 0 / 1.37 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.068e-05/1.164, allocations: 7.656 kB / 1.37 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002276/1.164, allocations: 50.73 kB / 1.37 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.246e-06/1.164, allocations: 3.953 kB / 1.37 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001625/1.164, allocations: 22.7 kB / 1.37 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.229e-05/1.164, allocations: 15.22 kB / 1.37 GB, free: 31.61 MB / 0.8386 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 () * 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.0001136/1.164, allocations: 123 kB / 1.37 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002343/1.164, allocations: 169.2 kB / 1.37 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.898e-05/1.164, allocations: 34.97 kB / 1.37 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003046/1.165, allocations: 184.9 kB / 1.37 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/1.165, allocations: 3.969 kB / 1.37 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/1.165, allocations: 4 kB / 1.37 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/1.165, allocations: 3.047 kB / 1.37 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002128/1.165, allocations: 275.7 kB / 1.371 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/1.165, allocations: 0 / 1.371 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.638e-05/1.165, allocations: 22.39 kB / 1.371 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/1.165, allocations: 0 / 1.371 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.481e-05/1.165, allocations: 6.375 kB / 1.371 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/1.165, allocations: 0 / 1.371 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/1.165, allocations: 3.953 kB / 1.371 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002294/1.165, allocations: 210.1 kB / 1.371 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.508e-05/1.166, allocations: 114.5 kB / 1.371 GB, free: 31 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.297e-05/1.166, allocations: 11.72 kB / 1.371 GB, free: 31 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/1.166, allocations: 6.844 kB / 1.371 GB, free: 31 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.371e-05/1.166, allocations: 17.89 kB / 1.371 GB, free: 31 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.268e-05/1.166, allocations: 7.828 kB / 1.371 GB, free: 31 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002705/1.166, allocations: 302 kB / 1.371 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.8e-07/1.166, allocations: 0 / 1.371 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003473/1.166, allocations: 75.83 kB / 1.371 GB, free: 30.9 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: 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) * 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.001352/1.168, allocations: 0.9996 MB / 1.372 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002863/1.168, allocations: 188.3 kB / 1.373 GB, free: 30.15 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/1.168, allocations: 0 / 1.373 GB, free: 30.15 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 8.837e-05/1.168, allocations: 58.41 kB / 1.373 GB, free: 30.15 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004184/1.169, allocations: 87.02 kB / 1.373 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008127/1.169, allocations: 0.505 MB / 1.373 GB, free: 29.94 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003855/1.17, allocations: 0.7982 MB / 1.374 GB, free: 29.23 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001453/1.17, allocations: 52.36 kB / 1.374 GB, free: 29.23 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001373/1.17, allocations: 113.2 kB / 1.374 GB, free: 29.22 MB / 0.8386 GB Notification: Performance of SimCode: time 3.81e-07/1.17, allocations: 0 / 1.374 GB, free: 29.22 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02566/1.196, allocations: 6.502 MB / 1.38 GB, free: 27.48 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002902/1.196, allocations: 165.7 kB / 1.381 GB, free: 27.29 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.164/3.36, allocations: 0 / 1.381 GB, free: 27.29 MB / 0.8386 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