Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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.Continuous.Validation.Less,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Less",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Less,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_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.512/2.512, allocations: 387.4 MB / 394.9 MB, free: 13.41 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.001483/0.001483, allocations: 176.6 kB / 487.4 MB, free: 5.066 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.544/1.544, allocations: 221.5 MB / 0.7824 GB, free: 0.918 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.0009691/0.0009688, allocations: 111.6 kB / 0.9219 GB, free: 2.133 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.776e-05/2.812e-05, allocations: 9.953 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2837/0.2837, allocations: 142.3 MB / 1.206 GB, free: 43.84 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9967/1.28, allocations: 152.6 MB / 1.355 GB, free: 18.13 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000268/1.281, allocations: 79.47 kB / 1.355 GB, free: 18.13 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02836/1.309, allocations: 11.35 MB / 1.366 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.124e-06/1.309, allocations: 0 / 1.366 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.289e-05/1.309, allocations: 3.969 kB / 1.366 GB, free: 33.23 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0008091/1.31, allocations: 0.5706 MB / 1.367 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/1.31, allocations: 11.72 kB / 1.367 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.632e-05/1.31, allocations: 38.84 kB / 1.367 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007303/1.311, allocations: 439.8 kB / 1.367 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.731e-05/1.311, allocations: 3.781 kB / 1.367 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.002e-05/1.311, allocations: 11.75 kB / 1.367 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001384/1.311, allocations: 58.7 kB / 1.367 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000175/1.311, allocations: 110.5 kB / 1.367 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/1.311, allocations: 3.938 kB / 1.367 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.699e-05/1.311, allocations: 7.922 kB / 1.367 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/1.311, allocations: 4 kB / 1.367 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008688/1.312, allocations: 0.5421 MB / 1.368 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002121/1.313, allocations: 115.1 kB / 1.368 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.525e-05/1.313, allocations: 39.52 kB / 1.368 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.074e-05/1.313, allocations: 3.953 kB / 1.368 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000172/1.313, allocations: 111.8 kB / 1.368 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=12): time 1.533e-06/1.313, allocations: 0 / 1.368 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of matching and sorting (n=12): time 0.0003032/1.313, allocations: 154.8 kB / 1.368 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.488e-05/1.313, allocations: 62.03 kB / 1.368 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004954/1.314, allocations: 472.5 kB / 1.369 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.324e-05/1.314, allocations: 29.55 kB / 1.369 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001314/1.314, allocations: 178.5 kB / 1.369 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.318e-05/1.314, allocations: 37.27 kB / 1.369 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.636e-05/1.314, allocations: 4 kB / 1.369 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001522/1.314, allocations: 352.6 kB / 1.369 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001334/1.314, allocations: 109.8 kB / 1.37 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001601/1.314, allocations: 151.6 kB / 1.37 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000329/1.315, allocations: 131.2 kB / 1.37 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.115e-06/1.315, allocations: 3.875 kB / 1.37 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005872/1.315, allocations: 349.6 kB / 1.37 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.395e-05/1.315, allocations: 7.516 kB / 1.37 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.044e-06/1.315, allocations: 0 / 1.37 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.312e-05/1.315, allocations: 3.812 kB / 1.37 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002107/1.316, allocations: 43.45 kB / 1.37 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.267e-06/1.316, allocations: 7.781 kB / 1.37 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001723/1.316, allocations: 29.03 kB / 1.37 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.897e-05/1.316, allocations: 17.98 kB / 1.37 GB, free: 31.29 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,les.y,$PRE.lesHys.lesHys.y,lesHys.lesHys.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.0001373/1.316, allocations: 108.8 kB / 1.37 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002505/1.316, allocations: 158.3 kB / 1.371 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.935e-05/1.316, allocations: 45.8 kB / 1.371 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003365/1.317, allocations: 177.9 kB / 1.371 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.828e-06/1.317, allocations: 4 kB / 1.371 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/1.317, allocations: 0 / 1.371 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/1.317, allocations: 3.906 kB / 1.371 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002826/1.317, allocations: 274.1 kB / 1.371 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/1.317, allocations: 2.906 kB / 1.371 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.551e-05/1.317, allocations: 11.66 kB / 1.371 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.267e-06/1.317, allocations: 3.719 kB / 1.371 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.757e-05/1.317, allocations: 6.906 kB / 1.371 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/1.317, allocations: 7.938 kB / 1.371 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/1.317, allocations: 3.906 kB / 1.371 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002792/1.317, allocations: 197.7 kB / 1.371 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001046/1.318, allocations: 123 kB / 1.371 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.23e-05/1.318, allocations: 7.344 kB / 1.371 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001399/1.318, allocations: 21 kB / 1.371 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.32e-05/1.318, allocations: 16.45 kB / 1.371 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.327e-05/1.318, allocations: 6.875 kB / 1.371 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.000403/1.318, allocations: 318.4 kB / 1.372 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of sort global known variables: time 3.11e-07/1.318, allocations: 0 / 1.372 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003757/1.319, allocations: 68.75 kB / 1.372 GB, free: 30.57 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: 8 ($whenCondition2,$whenCondition1,les.y,lesHys.lesHys.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 5 (lesHys.lesHys.y,timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 10 * 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.001686/1.32, allocations: 0.9956 MB / 1.373 GB, free: 29.84 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003574/1.321, allocations: 182.3 kB / 1.373 GB, free: 29.83 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/1.321, allocations: 0 / 1.373 GB, free: 29.83 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 9.126e-05/1.321, allocations: 52.97 kB / 1.373 GB, free: 29.83 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005057/1.321, allocations: 81.61 kB / 1.373 GB, free: 29.82 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001088/1.322, allocations: 0.5375 MB / 1.374 GB, free: 29.61 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005093/1.323, allocations: 0.8049 MB / 1.374 GB, free: 28.92 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001947/1.323, allocations: 59.92 kB / 1.374 GB, free: 28.9 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001772/1.323, allocations: 114.6 kB / 1.375 GB, free: 28.89 MB / 0.8386 GB Notification: Performance of SimCode: time 5.91e-07/1.323, allocations: 0 / 1.375 GB, free: 28.89 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03607/1.359, allocations: 6.739 MB / 1.381 GB, free: 26.94 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001971/1.36, allocations: 164.6 kB / 1.381 GB, free: 26.75 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.117/3.477, allocations: 0 / 1.381 GB, free: 26.75 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Less_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Less_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Less.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Less_res.mat does not exist to compare? outputFormat=mat