Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqual.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: translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqual,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lesEqu.u1|lesEqu.u2|lesEqu.y",fileNamePrefix="Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqual") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqual,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lesEqu.u1|lesEqu.u2|lesEqu.y",fileNamePrefix="Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqual") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.028/2.028, allocations: 387.4 MB / 394.9 MB, free: 13.42 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.001059/0.001059, allocations: 176.8 kB / 487.4 MB, free: 5.055 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.34/1.34, allocations: 221.5 MB / 0.7824 GB, free: 1 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.000869/0.0008693, allocations: 99.83 kB / 0.9219 GB, free: 2.238 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.594e-05/1.597e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2171/0.2172, allocations: 142.4 MB / 1.206 GB, free: 43.97 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7129/0.9302, allocations: 148.7 MB / 1.351 GB, free: 18.47 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002061/0.9304, allocations: 87.19 kB / 1.351 GB, free: 18.46 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002516/0.9329, allocations: 0.8366 MB / 1.352 GB, free: 34.13 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.232e-06/0.9329, allocations: 0 / 1.352 GB, free: 34.13 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.933, allocations: 5.281 kB / 1.352 GB, free: 34.13 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000343/0.9333, allocations: 357.1 kB / 1.352 GB, free: 33.79 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.9334, allocations: 9.094 kB / 1.352 GB, free: 33.79 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.061e-05/0.9334, allocations: 5.906 kB / 1.352 GB, free: 33.78 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.612e-05/0.9335, allocations: 171.7 kB / 1.353 GB, free: 33.58 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.001e-05/0.9335, allocations: 0.5625 kB / 1.353 GB, free: 33.58 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.037e-05/0.9335, allocations: 2.625 kB / 1.353 GB, free: 33.58 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.733e-05/0.9336, allocations: 20.95 kB / 1.353 GB, free: 33.57 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.889e-05/0.9337, allocations: 51.17 kB / 1.353 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.141e-06/0.9337, allocations: 0 / 1.353 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.118e-06/0.9337, allocations: 1.281 kB / 1.353 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.306e-06/0.9337, allocations: 3.938 kB / 1.353 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004134/0.9341, allocations: 288.4 kB / 1.353 GB, free: 33.29 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.448e-05/0.9342, allocations: 26.91 kB / 1.353 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.672e-05/0.9342, allocations: 16.11 kB / 1.353 GB, free: 33.26 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.198e-05/0.9342, allocations: 7.938 kB / 1.353 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.465e-05/0.9343, allocations: 34.94 kB / 1.353 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.9343, allocations: 0 / 1.353 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0001261/0.9344, allocations: 42.47 kB / 1.353 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.538e-05/0.9344, allocations: 55.95 kB / 1.353 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.387e-05/0.9345, allocations: 101.5 kB / 1.353 GB, free: 33.03 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.244e-06/0.9345, allocations: 25.7 kB / 1.353 GB, free: 33 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.328e-05/0.9345, allocations: 85.67 kB / 1.353 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.502e-05/0.9346, allocations: 12.12 kB / 1.353 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.717e-06/0.9346, allocations: 3.875 kB / 1.353 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.744e-05/0.9347, allocations: 316.1 kB / 1.354 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.899e-05/0.9347, allocations: 8.062 kB / 1.354 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.469e-05/0.9347, allocations: 7.438 kB / 1.354 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.773e-05/0.9347, allocations: 7.938 kB / 1.354 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.9348, allocations: 1.531 kB / 1.354 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.156e-05/0.9348, allocations: 55.33 kB / 1.354 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 9.889e-06/0.9348, allocations: 3.844 kB / 1.354 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.9348, allocations: 6.938 kB / 1.354 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.9349, allocations: 0.6094 kB / 1.354 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001298/0.935, allocations: 20.22 kB / 1.354 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.935, allocations: 0.7031 kB / 1.354 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.267e-05/0.9351, allocations: 20.06 kB / 1.354 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.9351, allocations: 8.188 kB / 1.354 GB, free: 32.54 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 (lesEqu.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 5.194e-05/0.9352, allocations: 105.6 kB / 1.354 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.069e-05/0.9352, allocations: 0 / 1.354 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.19e-05/0.9352, allocations: 9.406 kB / 1.354 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/0.9352, allocations: 0 / 1.354 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.9352, allocations: 0 / 1.354 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.9352, allocations: 2.219 kB / 1.354 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001016/0.9353, allocations: 148.9 kB / 1.354 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.9353, allocations: 0 / 1.354 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.075e-05/0.9354, allocations: 21.09 kB / 1.354 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.9355, allocations: 3.875 kB / 1.354 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.721e-06/0.9355, allocations: 3.938 kB / 1.354 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.9355, allocations: 0.7969 kB / 1.354 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.9355, allocations: 0 / 1.354 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.747e-05/0.9356, allocations: 148 kB / 1.354 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.53e-05/0.9356, allocations: 85.91 kB / 1.354 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.235e-05/0.9356, allocations: 3.984 kB / 1.354 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001103/0.9357, allocations: 20.86 kB / 1.354 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.821e-05/0.9358, allocations: 6.547 kB / 1.354 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-06/0.9358, allocations: 5.25 kB / 1.354 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.513e-05/0.9358, allocations: 91.86 kB / 1.354 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9358, allocations: 0 / 1.354 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001829/0.936, allocations: 7.875 kB / 1.354 GB, free: 31.93 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 (lesEqu.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 7.654e-05/0.9361, allocations: 99.75 kB / 1.355 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.278e-05/0.9362, allocations: 26.55 kB / 1.355 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.122e-06/0.9362, allocations: 0 / 1.355 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.482e-05/0.9362, allocations: 12.41 kB / 1.355 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001679/0.9364, allocations: 5.234 kB / 1.355 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001738/0.9366, allocations: 75.7 kB / 1.355 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002185/0.9368, allocations: 0.6826 MB / 1.355 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.958e-05/0.9368, allocations: 0.5156 kB / 1.355 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.264e-05/0.9369, allocations: 7.438 kB / 1.355 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of SimCode: time 2.3e-07/0.9369, allocations: 3.812 kB / 1.355 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of Templates: time 0.001923/0.9388, allocations: 0.5082 MB / 1.356 GB, free: 31.01 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqual.makefile (rm -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqual.pipe ; mkfifo Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqual.pipe ; head -c 1048576 < Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqual.pipe >> ../files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqual.sim & ./Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqual -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqual.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqual_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LessEqual.csv","../files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqual.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches