Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold.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.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold,fileNamePrefix="Buildings_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 2.409/2.409, allocations: 387.4 MB / 394.9 MB, free: 13.34 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.001302/0.001302, allocations: 180.8 kB / 487.4 MB, free: 5.047 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.7824 GB, free: 0.9883 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.0009346/0.0009346, allocations: 103.8 kB / 0.9219 GB, free: 2.227 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.347e-05/2.35e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2827/0.2827, allocations: 142.4 MB / 1.206 GB, free: 43.85 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9617/1.244, allocations: 148.6 MB / 1.351 GB, free: 18.25 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002874/1.245, allocations: 87 kB / 1.351 GB, free: 18.25 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002317/1.247, allocations: 0.6264 MB / 1.352 GB, free: 33.93 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.864e-06/1.247, allocations: 0 / 1.352 GB, free: 33.93 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.254e-06/1.247, allocations: 0 / 1.352 GB, free: 33.93 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.0003352/1.248, allocations: 346 kB / 1.352 GB, free: 33.58 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/1.248, allocations: 10.36 kB / 1.352 GB, free: 33.58 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.745e-05/1.248, allocations: 8.312 kB / 1.352 GB, free: 33.58 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.449e-05/1.248, allocations: 169.1 kB / 1.352 GB, free: 33.38 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/1.248, allocations: 0 / 1.352 GB, free: 33.38 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.177e-05/1.248, allocations: 1.312 kB / 1.352 GB, free: 33.38 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.34e-05/1.248, allocations: 10.95 kB / 1.352 GB, free: 33.38 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.681e-05/1.248, allocations: 39.97 kB / 1.352 GB, free: 33.34 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/1.248, allocations: 4 kB / 1.352 GB, free: 33.34 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-06/1.248, allocations: 0 / 1.352 GB, free: 33.34 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/1.248, allocations: 0.5156 kB / 1.352 GB, free: 33.34 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003681/1.248, allocations: 243.1 kB / 1.353 GB, free: 33.1 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.976e-05/1.248, allocations: 28.05 kB / 1.353 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.487e-05/1.248, allocations: 16.73 kB / 1.353 GB, free: 33.06 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.237e-05/1.248, allocations: 0 / 1.353 GB, free: 33.06 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.22e-05/1.248, allocations: 36.47 kB / 1.353 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/1.248, allocations: 0 / 1.353 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001429/1.249, allocations: 34.92 kB / 1.353 GB, free: 32.99 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.9e-05/1.249, allocations: 52.72 kB / 1.353 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.665e-05/1.249, allocations: 95.94 kB / 1.353 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.247e-06/1.249, allocations: 30.48 kB / 1.353 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.768e-05/1.249, allocations: 85.97 kB / 1.353 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.706e-05/1.249, allocations: 8.422 kB / 1.353 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.286e-06/1.249, allocations: 0 / 1.353 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001163/1.249, allocations: 321.5 kB / 1.353 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.696e-05/1.249, allocations: 6.562 kB / 1.353 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.305e-05/1.249, allocations: 2.469 kB / 1.353 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.856e-05/1.249, allocations: 8.734 kB / 1.353 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/1.249, allocations: 4.062 kB / 1.353 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.828e-05/1.249, allocations: 38.94 kB / 1.353 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/1.249, allocations: 5.922 kB / 1.353 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/1.249, allocations: 1.344 kB / 1.353 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/1.249, allocations: 0 / 1.353 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.677e-05/1.249, allocations: 10.64 kB / 1.353 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/1.249, allocations: 0 / 1.353 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.811e-05/1.249, allocations: 10.73 kB / 1.353 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.869e-06/1.249, allocations: 4.031 kB / 1.353 GB, free: 32.36 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.435e-05/1.249, allocations: 108.5 kB / 1.354 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.705e-05/1.249, allocations: 46.69 kB / 1.354 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.982e-05/1.25, allocations: 1.312 kB / 1.354 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.219e-05/1.25, allocations: 5.828 kB / 1.354 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/1.25, allocations: 3.469 kB / 1.354 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/1.25, allocations: 0 / 1.354 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/1.25, allocations: 0 / 1.354 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001113/1.25, allocations: 145.8 kB / 1.354 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/1.25, allocations: 4.25 kB / 1.354 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.659e-05/1.25, allocations: 9.688 kB / 1.354 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/1.25, allocations: 1.156 kB / 1.354 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.754e-06/1.25, allocations: 0 / 1.354 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/1.25, allocations: 1.188 kB / 1.354 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/1.25, allocations: 0.7969 kB / 1.354 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001048/1.25, allocations: 138.9 kB / 1.354 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.168e-05/1.25, allocations: 81.84 kB / 1.354 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.332e-05/1.25, allocations: 5.156 kB / 1.354 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.679e-05/1.25, allocations: 15.11 kB / 1.354 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.186e-05/1.25, allocations: 10.61 kB / 1.354 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-06/1.25, allocations: 0 / 1.354 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.475e-05/1.25, allocations: 80.05 kB / 1.354 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.71e-07/1.25, allocations: 0 / 1.354 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000209/1.25, allocations: 11.84 kB / 1.354 GB, free: 31.71 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.0003382/1.251, allocations: 0.6686 MB / 1.355 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.694e-05/1.251, allocations: 12.31 kB / 1.355 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/1.251, allocations: 0 / 1.355 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.312e-05/1.251, allocations: 16.69 kB / 1.355 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001924/1.251, allocations: 6.875 kB / 1.355 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000307/1.251, allocations: 86.2 kB / 1.355 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000295/1.252, allocations: 0.677 MB / 1.355 GB, free: 30.24 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.701e-05/1.252, allocations: 4.672 kB / 1.355 GB, free: 30.24 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.28e-05/1.252, allocations: 11.48 kB / 1.355 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of SimCode: time 2.61e-07/1.252, allocations: 0 / 1.355 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01846/1.27, allocations: 0.7525 MB / 1.356 GB, free: 30.18 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001763/1.27, allocations: 175.6 kB / 1.356 GB, free: 29.99 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.503/2.773, allocations: 448 / 1.356 GB, free: 29.99 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold.pipe >> ../files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold_res.mat --tempDir=temp_Buildings_9_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LessEqualThreshold_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LessEqualThreshold.fmu > Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold_res.mat does not exist to compare? outputFormat=mat