Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.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.LessThreshold,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_LessThreshold",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.446/2.446, allocations: 387.4 MB / 394.9 MB, free: 13.37 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.001075/0.001075, allocations: 180.6 kB / 487.4 MB, free: 5.035 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.616/1.616, allocations: 221.5 MB / 0.7824 GB, free: 0.9844 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.0009142/0.0009142, allocations: 99.64 kB / 0.9219 GB, free: 2.223 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.551e-05/2.552e-05, allocations: 8 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3082/0.3083, allocations: 142.4 MB / 1.206 GB, free: 43.84 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9657/1.274, allocations: 152.5 MB / 1.355 GB, free: 18.16 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002199/1.274, allocations: 75.77 kB / 1.355 GB, free: 18.16 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01788/1.292, allocations: 7.082 MB / 1.362 GB, free: 33.49 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.443e-06/1.292, allocations: 3.906 kB / 1.362 GB, free: 33.49 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.972e-05/1.292, allocations: 3.812 kB / 1.362 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006224/1.293, allocations: 0.5015 MB / 1.363 GB, free: 33.06 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/1.293, allocations: 7.688 kB / 1.363 GB, free: 33.06 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.607e-05/1.293, allocations: 31.28 kB / 1.363 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005077/1.294, allocations: 336.1 kB / 1.363 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/1.294, allocations: 0 / 1.363 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.149e-05/1.294, allocations: 3.875 kB / 1.363 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.615e-05/1.294, allocations: 39.97 kB / 1.363 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001321/1.294, allocations: 70.78 kB / 1.363 GB, free: 32.78 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/1.294, allocations: 0 / 1.363 GB, free: 32.78 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.501e-05/1.294, allocations: 6.734 kB / 1.363 GB, free: 32.78 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/1.294, allocations: 0 / 1.363 GB, free: 32.78 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006261/1.295, allocations: 425.6 kB / 1.363 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001685/1.295, allocations: 87.69 kB / 1.363 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.062e-05/1.295, allocations: 23.39 kB / 1.364 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.8e-05/1.295, allocations: 0 / 1.364 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001384/1.295, allocations: 75.77 kB / 1.364 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.202e-06/1.295, allocations: 0 / 1.364 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0002345/1.295, allocations: 107 kB / 1.364 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.375e-05/1.295, allocations: 55.41 kB / 1.364 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003294/1.296, allocations: 342.5 kB / 1.364 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.594e-05/1.296, allocations: 25.7 kB / 1.364 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.8e-05/1.296, allocations: 144.8 kB / 1.364 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.375e-05/1.296, allocations: 21.67 kB / 1.364 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.116e-05/1.296, allocations: 0 / 1.364 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001527/1.296, allocations: 334.3 kB / 1.365 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.824e-05/1.296, allocations: 65.02 kB / 1.365 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001045/1.296, allocations: 99.86 kB / 1.365 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001982/1.296, allocations: 73.3 kB / 1.365 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/1.296, allocations: 3.844 kB / 1.365 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003036/1.297, allocations: 214 kB / 1.365 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/1.297, allocations: 7.844 kB / 1.365 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/1.297, allocations: 0 / 1.365 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/1.297, allocations: 0 / 1.365 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001122/1.297, allocations: 26.64 kB / 1.365 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/1.297, allocations: 3.953 kB / 1.365 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001185/1.297, allocations: 19.02 kB / 1.365 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.077e-05/1.297, allocations: 10.88 kB / 1.365 GB, free: 31.69 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.timTabLin.tab.nextTimeEvent,les.y,$PRE.lesHys.lesHys.y,lesHys.lesHys.y,timTabLin.tab.nextTimeEvent,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.339e-05/1.297, allocations: 111.9 kB / 1.365 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001251/1.297, allocations: 114.5 kB / 1.365 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.541e-05/1.297, allocations: 19.41 kB / 1.365 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001704/1.297, allocations: 122 kB / 1.365 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/1.297, allocations: 0 / 1.365 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/1.297, allocations: 0 / 1.365 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/1.297, allocations: 3.188 kB / 1.365 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001491/1.298, allocations: 227 kB / 1.366 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/1.298, allocations: 0 / 1.366 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.017e-05/1.298, allocations: 7.688 kB / 1.366 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/1.298, allocations: 0 / 1.366 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/1.298, allocations: 0 / 1.366 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/1.298, allocations: 7.188 kB / 1.366 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/1.298, allocations: 7.953 kB / 1.366 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001571/1.298, allocations: 129.3 kB / 1.366 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.796e-05/1.298, allocations: 103.3 kB / 1.366 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.266e-05/1.298, allocations: 3.438 kB / 1.366 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.473e-05/1.298, allocations: 17.8 kB / 1.366 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.482e-05/1.298, allocations: 13.5 kB / 1.366 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.848e-06/1.298, allocations: 11.92 kB / 1.366 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.000187/1.298, allocations: 229 kB / 1.366 GB, free: 31.03 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.298, allocations: 0 / 1.366 GB, free: 31.03 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002434/1.299, allocations: 50.12 kB / 1.366 GB, free: 31.02 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: 5 ($whenCondition1,les.y,lesHys.lesHys.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled) * Number of discrete states: 3 (lesHys.lesHys.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001153/1.3, allocations: 0.9429 MB / 1.367 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001659/1.3, allocations: 98.33 kB / 1.367 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/1.3, allocations: 0 / 1.367 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.374e-05/1.3, allocations: 29.59 kB / 1.367 GB, free: 30.28 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002784/1.3, allocations: 47.23 kB / 1.367 GB, free: 30.28 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005972/1.301, allocations: 376.2 kB / 1.368 GB, free: 30.11 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003339/1.301, allocations: 0.7543 MB / 1.368 GB, free: 29.41 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 8.772e-05/1.301, allocations: 34.8 kB / 1.368 GB, free: 29.4 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.255e-05/1.301, allocations: 69.31 kB / 1.368 GB, free: 29.39 MB / 0.8386 GB Notification: Performance of SimCode: time 2.51e-07/1.301, allocations: 0 / 1.368 GB, free: 29.39 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02751/1.329, allocations: 4.587 MB / 1.373 GB, free: 29.05 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002174/1.329, allocations: 182.7 kB / 1.373 GB, free: 28.86 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.941/3.27, allocations: 0 / 1.373 GB, free: 28.86 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_LessThreshold_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_LessThreshold.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold_res.mat does not exist to compare? outputFormat=mat