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.468/2.468, allocations: 390.5 MB / 398 MB, free: 10.89 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.001337/0.001337, allocations: 194.3 kB / 491.2 MB, free: 1.539 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.484/1.484, allocations: 221.5 MB / 0.7868 GB, free: 13.27 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.0009357/0.0009358, allocations: 87.59 kB / 0.9269 GB, free: 13.78 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.188e-05/2.19e-05, allocations: 8 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2931/0.2931, allocations: 143 MB / 1.212 GB, free: 39.41 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.032/1.325, allocations: 153.4 MB / 1.362 GB, free: 17.56 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002967/1.326, allocations: 76.45 kB / 1.362 GB, free: 17.56 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02719/1.353, allocations: 11.05 MB / 1.373 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.493e-06/1.353, allocations: 0 / 1.373 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.978e-05/1.353, allocations: 7.844 kB / 1.373 GB, free: 32.68 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.0007142/1.354, allocations: 0.5258 MB / 1.374 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.972e-05/1.354, allocations: 13.91 kB / 1.374 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.036e-05/1.354, allocations: 34.86 kB / 1.374 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006352/1.354, allocations: 405.5 kB / 1.374 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.233e-05/1.354, allocations: 3.812 kB / 1.374 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.552e-05/1.354, allocations: 6.547 kB / 1.374 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000125/1.355, allocations: 52.28 kB / 1.374 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001531/1.355, allocations: 100.3 kB / 1.374 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/1.355, allocations: 3.812 kB / 1.374 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.86e-05/1.355, allocations: 5.938 kB / 1.374 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/1.355, allocations: 0 / 1.374 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007357/1.355, allocations: 493.8 kB / 1.375 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001741/1.356, allocations: 122.1 kB / 1.375 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.36e-05/1.356, allocations: 47.5 kB / 1.375 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.717e-05/1.356, allocations: 0 / 1.375 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000164/1.356, allocations: 113.2 kB / 1.375 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=13): time 1.263e-06/1.356, allocations: 0 / 1.375 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13): time 0.0003097/1.356, allocations: 170.2 kB / 1.375 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.637e-05/1.356, allocations: 51.41 kB / 1.375 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000453/1.357, allocations: 457.6 kB / 1.376 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.777e-05/1.357, allocations: 29.7 kB / 1.376 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001125/1.357, allocations: 170.1 kB / 1.376 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.316e-05/1.357, allocations: 34.61 kB / 1.376 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.646e-05/1.357, allocations: 0 / 1.376 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000124/1.357, allocations: 348.4 kB / 1.376 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001372/1.357, allocations: 110.4 kB / 1.376 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001569/1.357, allocations: 143.7 kB / 1.376 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003174/1.358, allocations: 139.2 kB / 1.377 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/1.358, allocations: 0 / 1.377 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005331/1.358, allocations: 351.8 kB / 1.377 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/1.358, allocations: 3.844 kB / 1.377 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/1.358, allocations: 2.109 kB / 1.377 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/1.358, allocations: 7.766 kB / 1.377 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002137/1.359, allocations: 56.25 kB / 1.377 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.381e-06/1.359, allocations: 0 / 1.377 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001437/1.359, allocations: 24.17 kB / 1.377 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.784e-05/1.359, allocations: 15.34 kB / 1.377 GB, free: 30.79 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 9.203e-05/1.359, allocations: 111.2 kB / 1.377 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002169/1.359, allocations: 167.7 kB / 1.377 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.765e-05/1.359, allocations: 39.09 kB / 1.377 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002889/1.359, allocations: 199.7 kB / 1.377 GB, free: 30.56 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/1.359, allocations: 0 / 1.377 GB, free: 30.56 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/1.359, allocations: 0 / 1.377 GB, free: 30.56 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/1.359, allocations: 0 / 1.377 GB, free: 30.56 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002243/1.36, allocations: 278.7 kB / 1.378 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/1.36, allocations: 0 / 1.378 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.468e-05/1.36, allocations: 18.03 kB / 1.378 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/1.36, allocations: 0 / 1.378 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/1.36, allocations: 0 / 1.378 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/1.36, allocations: 3.953 kB / 1.378 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/1.36, allocations: 6.688 kB / 1.378 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002496/1.36, allocations: 213.1 kB / 1.378 GB, free: 30.31 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.755e-05/1.36, allocations: 113.9 kB / 1.378 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.724e-05/1.36, allocations: 10.14 kB / 1.378 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/1.36, allocations: 6.406 kB / 1.378 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.508e-05/1.36, allocations: 20.22 kB / 1.378 GB, free: 30.19 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.224e-05/1.36, allocations: 5.953 kB / 1.378 GB, free: 30.19 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002825/1.361, allocations: 309.1 kB / 1.378 GB, free: 30.11 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.41e-07/1.361, allocations: 0 / 1.378 GB, free: 30.11 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003009/1.361, allocations: 74.02 kB / 1.379 GB, free: 30.09 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.001277/1.362, allocations: 0.9977 MB / 1.379 GB, free: 29.37 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002714/1.363, allocations: 181.7 kB / 1.38 GB, free: 29.36 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/1.363, allocations: 0 / 1.38 GB, free: 29.36 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 8.78e-05/1.363, allocations: 65.86 kB / 1.38 GB, free: 29.35 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004138/1.363, allocations: 84.58 kB / 1.38 GB, free: 29.34 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008281/1.364, allocations: 0.5127 MB / 1.38 GB, free: 29.14 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003594/1.364, allocations: 0.8013 MB / 1.381 GB, free: 28.43 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001407/1.364, allocations: 59.05 kB / 1.381 GB, free: 28.42 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00014/1.365, allocations: 106.9 kB / 1.381 GB, free: 28.41 MB / 0.8386 GB Notification: Performance of SimCode: time 2.61e-07/1.365, allocations: 0 / 1.381 GB, free: 28.41 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02873/1.393, allocations: 6.482 MB / 1.388 GB, free: 25.84 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001884/1.394, allocations: 174.6 kB / 1.388 GB, free: 25.65 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.141/3.534, allocations: 3.75 kB / 1.388 GB, free: 25.65 MB / 0.8386 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