Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.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.Continuous.Validation.LessThreshold,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.233/2.233, allocations: 390.5 MB / 398 MB, free: 10.94 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.001562/0.001562, allocations: 180.7 kB / 491.2 MB, free: 1.555 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.657/1.657, allocations: 221.5 MB / 0.7868 GB, free: 13.36 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.0009431/0.0009432, allocations: 101.9 kB / 0.9269 GB, free: 13.86 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.785e-05/2.785e-05, allocations: 8 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3385/0.3385, allocations: 143 MB / 1.212 GB, free: 39.44 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.1/1.439, allocations: 153.3 MB / 1.362 GB, free: 17.28 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002587/1.439, allocations: 82.98 kB / 1.362 GB, free: 17.28 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01853/1.458, allocations: 7.086 MB / 1.369 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.094e-06/1.458, allocations: 0 / 1.369 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.241e-05/1.458, allocations: 3.812 kB / 1.369 GB, free: 32.6 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.0006282/1.458, allocations: 0.5038 MB / 1.37 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/1.458, allocations: 7.719 kB / 1.37 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.805e-05/1.458, allocations: 27.12 kB / 1.37 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005799/1.459, allocations: 343.2 kB / 1.37 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.128e-05/1.459, allocations: 0 / 1.37 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.422e-05/1.459, allocations: 3.812 kB / 1.37 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001136/1.459, allocations: 41 kB / 1.37 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001259/1.459, allocations: 69.33 kB / 1.37 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/1.459, allocations: 0 / 1.37 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.383e-05/1.459, allocations: 0 / 1.37 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/1.459, allocations: 3.812 kB / 1.37 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007233/1.46, allocations: 426.7 kB / 1.371 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001758/1.46, allocations: 74.61 kB / 1.371 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.705e-05/1.46, allocations: 29.86 kB / 1.371 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.797e-05/1.46, allocations: 6.188 kB / 1.371 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001246/1.46, allocations: 73.12 kB / 1.371 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.382e-06/1.46, allocations: 3.938 kB / 1.371 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.000217/1.461, allocations: 108 kB / 1.371 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.333e-05/1.461, allocations: 51.41 kB / 1.371 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003351/1.461, allocations: 340.2 kB / 1.371 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.657e-05/1.461, allocations: 25.7 kB / 1.371 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.557e-05/1.461, allocations: 143.9 kB / 1.371 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.186e-05/1.461, allocations: 21.48 kB / 1.371 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.093e-05/1.461, allocations: 0 / 1.371 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001582/1.461, allocations: 339.6 kB / 1.372 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.459e-05/1.461, allocations: 67.41 kB / 1.372 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.638e-05/1.462, allocations: 96.92 kB / 1.372 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001863/1.462, allocations: 73.91 kB / 1.372 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/1.462, allocations: 0 / 1.372 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003108/1.462, allocations: 216.2 kB / 1.372 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/1.462, allocations: 3.812 kB / 1.372 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/1.462, allocations: 6.688 kB / 1.372 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/1.462, allocations: 3.953 kB / 1.372 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001148/1.462, allocations: 25.69 kB / 1.372 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.409e-06/1.462, allocations: 0 / 1.372 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001188/1.462, allocations: 18.3 kB / 1.372 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.953e-05/1.462, allocations: 9.859 kB / 1.372 GB, free: 30.8 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.659e-05/1.463, allocations: 104.9 kB / 1.372 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001305/1.463, allocations: 104.5 kB / 1.372 GB, free: 30.65 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.048e-05/1.463, allocations: 29.95 kB / 1.372 GB, free: 30.63 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001799/1.463, allocations: 120.8 kB / 1.373 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/1.463, allocations: 3.875 kB / 1.373 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/1.463, allocations: 4 kB / 1.373 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/1.463, allocations: 0 / 1.373 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001476/1.463, allocations: 222.5 kB / 1.373 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-06/1.463, allocations: 0 / 1.373 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.963e-05/1.463, allocations: 7.781 kB / 1.373 GB, free: 30.42 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.604e-06/1.463, allocations: 4 kB / 1.373 GB, free: 30.42 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/1.463, allocations: 6.516 kB / 1.373 GB, free: 30.42 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/1.463, allocations: 3.953 kB / 1.373 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/1.463, allocations: 0 / 1.373 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001485/1.463, allocations: 137.9 kB / 1.373 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.935e-05/1.463, allocations: 107.3 kB / 1.373 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.252e-05/1.463, allocations: 7.625 kB / 1.373 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.566e-05/1.464, allocations: 10.89 kB / 1.373 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.091e-05/1.464, allocations: 17.62 kB / 1.373 GB, free: 30.22 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.254e-06/1.464, allocations: 0 / 1.373 GB, free: 30.22 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002003/1.464, allocations: 235.2 kB / 1.373 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.464, allocations: 0 / 1.373 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002502/1.464, allocations: 50.41 kB / 1.373 GB, free: 30.13 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.001159/1.465, allocations: 0.9316 MB / 1.374 GB, free: 29.41 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001868/1.465, allocations: 104.3 kB / 1.374 GB, free: 29.4 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/1.465, allocations: 0 / 1.374 GB, free: 29.4 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.312e-05/1.466, allocations: 29.77 kB / 1.374 GB, free: 29.4 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002809/1.466, allocations: 51.38 kB / 1.374 GB, free: 29.39 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006304/1.466, allocations: 374.2 kB / 1.375 GB, free: 29.22 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00034/1.467, allocations: 0.7643 MB / 1.376 GB, free: 28.52 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 9.051e-05/1.467, allocations: 35.56 kB / 1.376 GB, free: 28.51 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.711e-05/1.467, allocations: 73.73 kB / 1.376 GB, free: 28.5 MB / 0.8386 GB Notification: Performance of SimCode: time 2.4e-07/1.467, allocations: 0 / 1.376 GB, free: 28.5 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02427/1.491, allocations: 4.574 MB / 1.38 GB, free: 28.18 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001687/1.492, allocations: 188.7 kB / 1.38 GB, free: 27.99 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.861/3.352, allocations: 5.875 kB / 1.38 GB, free: 27.98 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_LessThreshold_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_LessThreshold.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold_res.mat does not exist to compare? outputFormat=mat