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.303/2.303, allocations: 387.1 MB / 399.7 MB, free: 9.543 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.001085/0.001085, allocations: 188.8 kB / 492.3 MB, free: 0.6406 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.56/1.56, allocations: 221.3 MB / 0.7871 GB, free: 12.92 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.0008928/0.0008929, allocations: 91.95 kB / 0.9267 GB, free: 13.97 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.316e-05/3.34e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.232/0.2321, allocations: 142.3 MB / 1.212 GB, free: 38.41 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.887/1.119, allocations: 153.3 MB / 1.362 GB, free: 19.09 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002029/1.119, allocations: 78.75 kB / 1.362 GB, free: 19.09 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02674/1.146, allocations: 11.14 MB / 1.373 GB, free: 34.2 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.873e-06/1.146, allocations: 0 / 1.373 GB, free: 34.2 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.131e-05/1.146, allocations: 11.69 kB / 1.373 GB, free: 34.2 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.0006712/1.147, allocations: 0.5318 MB / 1.374 GB, free: 33.75 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/1.147, allocations: 7.812 kB / 1.374 GB, free: 33.75 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.348e-05/1.147, allocations: 40.56 kB / 1.374 GB, free: 33.71 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.691e-05/1.147, allocations: 30.75 kB / 1.374 GB, free: 33.69 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006068/1.148, allocations: 403.1 kB / 1.374 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.729e-05/1.148, allocations: 9.734 kB / 1.374 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.915e-05/1.148, allocations: 11.09 kB / 1.374 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001745/1.148, allocations: 105.2 kB / 1.374 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/1.148, allocations: 0 / 1.374 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.721e-05/1.148, allocations: 3.875 kB / 1.374 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/1.148, allocations: 0 / 1.374 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000105/1.148, allocations: 59.56 kB / 1.374 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007127/1.149, allocations: 0.5202 MB / 1.375 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000184/1.149, allocations: 137.5 kB / 1.375 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.549e-05/1.149, allocations: 49.03 kB / 1.375 GB, free: 33.08 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.64e-05/1.149, allocations: 0 / 1.375 GB, free: 33.08 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000158/1.149, allocations: 117.8 kB / 1.375 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=13): time 1.282e-06/1.149, allocations: 0 / 1.375 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13): time 0.0002923/1.15, allocations: 177.9 kB / 1.375 GB, free: 32.97 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.259e-05/1.15, allocations: 55.34 kB / 1.375 GB, free: 32.9 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004556/1.15, allocations: 470.4 kB / 1.376 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.628e-05/1.15, allocations: 28.64 kB / 1.376 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.212e-05/1.15, allocations: 172.2 kB / 1.376 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.825e-05/1.15, allocations: 33.27 kB / 1.376 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.548e-05/1.15, allocations: 11.69 kB / 1.376 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001064/1.15, allocations: 351.7 kB / 1.376 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001516/1.151, allocations: 114.2 kB / 1.376 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001623/1.151, allocations: 146.3 kB / 1.377 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001694/1.151, allocations: 120.3 kB / 1.377 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/1.151, allocations: 224 / 1.377 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004537/1.151, allocations: 357.8 kB / 1.377 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/1.151, allocations: 11.92 kB / 1.377 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/1.151, allocations: 3.953 kB / 1.377 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/1.151, allocations: 3.875 kB / 1.377 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002039/1.152, allocations: 48.73 kB / 1.377 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/1.152, allocations: 0 / 1.377 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001444/1.152, allocations: 24.97 kB / 1.377 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.515e-05/1.152, allocations: 17.81 kB / 1.377 GB, free: 32.23 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 8.639e-05/1.152, allocations: 127.2 kB / 1.377 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.022e-05/1.152, allocations: 30.94 kB / 1.377 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002886/1.152, allocations: 202.4 kB / 1.378 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/1.152, allocations: 7.828 kB / 1.378 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.646e-06/1.152, allocations: 0 / 1.378 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/1.152, allocations: 0 / 1.378 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002117/1.153, allocations: 307.6 kB / 1.378 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/1.153, allocations: 0 / 1.378 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.314e-05/1.153, allocations: 21.62 kB / 1.378 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/1.153, allocations: 0 / 1.378 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.337e-05/1.153, allocations: 3.875 kB / 1.378 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/1.153, allocations: 0 / 1.378 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/1.153, allocations: 7 kB / 1.378 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002426/1.153, allocations: 212.3 kB / 1.378 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.024e-05/1.153, allocations: 122.4 kB / 1.378 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.745e-05/1.153, allocations: 0 / 1.378 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/1.153, allocations: 20.58 kB / 1.378 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.036e-05/1.153, allocations: 25.22 kB / 1.378 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.219e-05/1.153, allocations: 7.062 kB / 1.378 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002895/1.154, allocations: 313.6 kB / 1.379 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.154, allocations: 0 / 1.379 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002798/1.154, allocations: 78.66 kB / 1.379 GB, free: 31.54 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.001191/1.155, allocations: 1.043 MB / 1.38 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002712/1.155, allocations: 184.4 kB / 1.38 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/1.155, allocations: 3.875 kB / 1.38 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 8.834e-05/1.155, allocations: 67.11 kB / 1.38 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003732/1.156, allocations: 82.66 kB / 1.38 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007917/1.157, allocations: 0.5304 MB / 1.38 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003239/1.157, allocations: 0.7923 MB / 1.381 GB, free: 29.91 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001507/1.157, allocations: 57.5 kB / 1.381 GB, free: 29.89 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00015/1.157, allocations: 108.3 kB / 1.381 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of SimCode: time 2.5e-07/1.157, allocations: 0 / 1.381 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01856/1.176, allocations: 7.086 MB / 1.388 GB, free: 26.72 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001744/1.176, allocations: 187.7 kB / 1.388 GB, free: 26.5 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.154/3.33, allocations: 0 / 1.388 GB, free: 26.5 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