Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold.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.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold,fileNamePrefix="Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LessEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold,fileNamePrefix="Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LessEqualThreshold",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.455/2.455, allocations: 390.5 MB / 398 MB, free: 10.95 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.001556/0.001557, allocations: 188.8 kB / 491.2 MB, free: 1.57 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.794/1.794, 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.0009439/0.0009438, allocations: 87.91 kB / 0.9269 GB, free: 13.77 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.15e-05/2.154e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3075/0.3075, allocations: 143 MB / 1.212 GB, free: 39.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.34/1.647, allocations: 149.4 MB / 1.358 GB, free: 17.49 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002297/1.647, allocations: 83.55 kB / 1.358 GB, free: 17.49 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002104/1.65, allocations: 0.6358 MB / 1.359 GB, free: 33.16 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.623e-06/1.65, allocations: 0 / 1.359 GB, free: 33.16 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.923e-06/1.65, allocations: 7.844 kB / 1.359 GB, free: 33.16 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003572/1.65, allocations: 339.7 kB / 1.359 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.179e-05/1.65, allocations: 7.531 kB / 1.359 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.117e-05/1.65, allocations: 2.141 kB / 1.359 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001033/1.65, allocations: 178.5 kB / 1.359 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/1.65, allocations: 2.375 kB / 1.36 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.284e-05/1.65, allocations: 1.594 kB / 1.36 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.482e-05/1.65, allocations: 15.34 kB / 1.36 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.35e-05/1.65, allocations: 30.94 kB / 1.36 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/1.65, allocations: 0 / 1.36 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/1.65, allocations: 1.734 kB / 1.36 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.82e-06/1.65, allocations: 3.969 kB / 1.36 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003807/1.651, allocations: 248.5 kB / 1.36 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.165e-05/1.651, allocations: 22.33 kB / 1.36 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.448e-05/1.651, allocations: 12.39 kB / 1.36 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.358e-05/1.651, allocations: 0 / 1.36 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.737e-05/1.651, allocations: 30.56 kB / 1.36 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 8.61e-07/1.651, allocations: 0 / 1.36 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001405/1.651, allocations: 41.75 kB / 1.36 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.357e-05/1.651, allocations: 55.44 kB / 1.36 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.785e-05/1.651, allocations: 94.5 kB / 1.36 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.295e-06/1.651, allocations: 25.7 kB / 1.36 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.58e-05/1.651, allocations: 85.19 kB / 1.36 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.464e-05/1.651, allocations: 7.719 kB / 1.36 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.597e-06/1.651, allocations: 0 / 1.36 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000114/1.651, allocations: 323.2 kB / 1.36 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.533e-05/1.651, allocations: 5.953 kB / 1.36 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.209e-05/1.651, allocations: 7.062 kB / 1.36 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.47e-05/1.651, allocations: 3.812 kB / 1.36 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/1.651, allocations: 0 / 1.36 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.181e-05/1.652, allocations: 42.19 kB / 1.361 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/1.652, allocations: 3.875 kB / 1.361 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/1.652, allocations: 1.266 kB / 1.361 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/1.652, allocations: 0 / 1.361 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.292e-05/1.652, allocations: 10.38 kB / 1.361 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.177e-06/1.652, allocations: 4.094 kB / 1.361 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.226e-05/1.652, allocations: 11.09 kB / 1.361 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/1.652, allocations: 2.875 kB / 1.361 GB, free: 31.59 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (lesEquThr.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 6.587e-05/1.652, allocations: 104.9 kB / 1.361 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.489e-05/1.652, allocations: 49.67 kB / 1.361 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.162e-05/1.652, allocations: 0 / 1.361 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.514e-05/1.652, allocations: 12.5 kB / 1.361 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-06/1.652, allocations: 4.031 kB / 1.361 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.339e-06/1.652, allocations: 3.938 kB / 1.361 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/1.652, allocations: 0 / 1.361 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001159/1.652, allocations: 142.9 kB / 1.361 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/1.652, allocations: 0 / 1.361 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.735e-05/1.652, allocations: 11.41 kB / 1.361 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/1.652, allocations: 0 / 1.361 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.623e-06/1.652, allocations: 0 / 1.361 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/1.652, allocations: 0 / 1.361 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.257e-06/1.652, allocations: 3.969 kB / 1.361 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001047/1.652, allocations: 145.5 kB / 1.361 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.238e-05/1.652, allocations: 81.05 kB / 1.361 GB, free: 31.03 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.467e-05/1.652, allocations: 5.391 kB / 1.361 GB, free: 31.03 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.818e-05/1.652, allocations: 6.5 kB / 1.361 GB, free: 31.03 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.876e-05/1.653, allocations: 5.047 kB / 1.361 GB, free: 31.03 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-06/1.653, allocations: 3.688 kB / 1.361 GB, free: 31.03 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.902e-05/1.653, allocations: 86.02 kB / 1.361 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.1e-07/1.653, allocations: 0 / 1.361 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002125/1.653, allocations: 3.812 kB / 1.361 GB, free: 30.95 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: 1 (lesEquThr.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.0003748/1.653, allocations: 0.671 MB / 1.362 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.422e-05/1.653, allocations: 19 kB / 1.362 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/1.653, allocations: 3.938 kB / 1.362 GB, free: 30.28 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.793e-05/1.653, allocations: 7.125 kB / 1.362 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.0001925/1.654, allocations: 0 / 1.362 GB, free: 30.28 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003091/1.654, allocations: 90.03 kB / 1.362 GB, free: 30.18 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002902/1.654, allocations: 0.6803 MB / 1.363 GB, free: 29.48 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.717e-05/1.654, allocations: 5.719 kB / 1.363 GB, free: 29.48 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.261e-05/1.654, allocations: 7.438 kB / 1.363 GB, free: 29.47 MB / 0.8386 GB Notification: Performance of SimCode: time 4.81e-07/1.654, allocations: 0 / 1.363 GB, free: 29.47 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02125/1.675, allocations: 0.7545 MB / 1.363 GB, free: 29.41 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001865/1.676, allocations: 180 kB / 1.364 GB, free: 29.22 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.628/3.304, allocations: 5.031 kB / 1.364 GB, free: 29.21 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold_res.mat --tempDir=temp_Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LessEqualThreshold_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LessEqualThreshold.fmu > Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold_res.mat does not exist to compare? outputFormat=mat