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.414/2.414, allocations: 387.1 MB / 399.7 MB, free: 9.461 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.00109/0.00109, allocations: 180.2 kB / 492.3 MB, free: 0.6172 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.536/1.536, allocations: 221.3 MB / 0.7871 GB, free: 12.94 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.0008884/0.0008884, allocations: 98.69 kB / 0.9267 GB, free: 14.01 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.507e-05/3.509e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3008/0.3009, allocations: 142.4 MB / 1.213 GB, free: 38.41 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.096/1.397, allocations: 153.2 MB / 1.362 GB, free: 19.06 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002653/1.398, allocations: 78.22 kB / 1.362 GB, free: 19.06 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02864/1.426, allocations: 11.44 MB / 1.373 GB, free: 34.15 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.804e-06/1.426, allocations: 0 / 1.373 GB, free: 34.15 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.409e-05/1.426, allocations: 3.938 kB / 1.373 GB, free: 34.15 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.0009341/1.427, allocations: 0.5693 MB / 1.374 GB, free: 33.69 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/1.427, allocations: 11.53 kB / 1.374 GB, free: 33.69 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.352e-05/1.427, allocations: 43.94 kB / 1.374 GB, free: 33.65 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001301/1.428, allocations: 38.81 kB / 1.374 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008326/1.428, allocations: 437.7 kB / 1.374 GB, free: 33.38 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.356e-05/1.428, allocations: 11.12 kB / 1.374 GB, free: 33.38 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.677e-05/1.428, allocations: 12.86 kB / 1.375 GB, free: 33.38 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002182/1.429, allocations: 116.6 kB / 1.375 GB, free: 33.35 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.455e-06/1.429, allocations: 0 / 1.375 GB, free: 33.35 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.587e-05/1.429, allocations: 0 / 1.375 GB, free: 33.35 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/1.429, allocations: 7.906 kB / 1.375 GB, free: 33.34 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001289/1.429, allocations: 63.72 kB / 1.375 GB, free: 33.34 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009895/1.43, allocations: 0.5704 MB / 1.375 GB, free: 33.06 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002325/1.43, allocations: 135.6 kB / 1.375 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.91e-05/1.43, allocations: 43.95 kB / 1.375 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.864e-05/1.43, allocations: 0 / 1.375 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001751/1.43, allocations: 113.5 kB / 1.376 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=12): time 1.302e-06/1.43, allocations: 0 / 1.376 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of matching and sorting (n=12): time 0.0003317/1.431, allocations: 165.5 kB / 1.376 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.014e-05/1.431, allocations: 55.34 kB / 1.376 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005741/1.431, allocations: 491.7 kB / 1.376 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.566e-05/1.431, allocations: 32.8 kB / 1.376 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001255/1.432, allocations: 183.7 kB / 1.376 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.518e-05/1.432, allocations: 34.97 kB / 1.376 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.907e-05/1.432, allocations: 7.219 kB / 1.376 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000126/1.432, allocations: 347.1 kB / 1.377 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001639/1.432, allocations: 112.4 kB / 1.377 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001922/1.432, allocations: 168.7 kB / 1.377 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001699/1.432, allocations: 109.8 kB / 1.377 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/1.432, allocations: 3.812 kB / 1.377 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004682/1.433, allocations: 357.1 kB / 1.377 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/1.433, allocations: 7.688 kB / 1.377 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.044e-06/1.433, allocations: 8.078 kB / 1.378 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/1.433, allocations: 2.625 kB / 1.378 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001895/1.433, allocations: 48.05 kB / 1.378 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/1.433, allocations: 0 / 1.378 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001924/1.433, allocations: 32.69 kB / 1.378 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.054e-05/1.433, allocations: 14.75 kB / 1.378 GB, free: 32.14 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.0001005/1.433, allocations: 130.9 kB / 1.378 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.324e-05/1.433, allocations: 38.8 kB / 1.378 GB, free: 32 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003063/1.434, allocations: 183.2 kB / 1.378 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/1.434, allocations: 3.875 kB / 1.378 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/1.434, allocations: 0 / 1.378 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.167e-06/1.434, allocations: 0 / 1.378 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002639/1.434, allocations: 319 kB / 1.378 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/1.434, allocations: 0 / 1.378 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.723e-05/1.434, allocations: 17.25 kB / 1.378 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/1.434, allocations: 7.766 kB / 1.378 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.485e-05/1.434, allocations: 6.953 kB / 1.378 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/1.434, allocations: 0 / 1.378 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/1.434, allocations: 0 / 1.378 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002378/1.434, allocations: 201.5 kB / 1.378 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.915e-05/1.435, allocations: 122.7 kB / 1.379 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.633e-05/1.435, allocations: 11.08 kB / 1.379 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001266/1.435, allocations: 28.86 kB / 1.379 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.529e-05/1.435, allocations: 14 kB / 1.379 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.433e-05/1.435, allocations: 10.27 kB / 1.379 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.000367/1.435, allocations: 326.1 kB / 1.379 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.51e-07/1.435, allocations: 0 / 1.379 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000315/1.435, allocations: 79.22 kB / 1.379 GB, free: 31.45 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.001364/1.437, allocations: 1.026 MB / 1.38 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003129/1.437, allocations: 184 kB / 1.38 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/1.437, allocations: 0 / 1.38 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 9.649e-05/1.437, allocations: 63.06 kB / 1.38 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004286/1.438, allocations: 89.39 kB / 1.38 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009165/1.439, allocations: 0.5459 MB / 1.381 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004112/1.439, allocations: 0.8058 MB / 1.382 GB, free: 29.82 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001597/1.439, allocations: 57.3 kB / 1.382 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001607/1.439, allocations: 115.6 kB / 1.382 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of SimCode: time 7.32e-07/1.439, allocations: 0 / 1.382 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02095/1.46, allocations: 7.331 MB / 1.389 GB, free: 26.39 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001695/1.461, allocations: 189.7 kB / 1.389 GB, free: 26.17 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.13/3.591, allocations: 0 / 1.389 GB, free: 26.17 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