Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqual.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: 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_latest_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_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqual") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.261/2.261, allocations: 390.5 MB / 398 MB, free: 10.96 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.001179/0.001178, allocations: 182.3 kB / 491.2 MB, free: 1.621 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.51/1.51, allocations: 221.5 MB / 0.7868 GB, free: 13.32 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.0009582/0.0009579, allocations: 93.7 kB / 0.9269 GB, free: 13.83 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.532e-05/1.535e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2874/0.2874, allocations: 143 MB / 1.212 GB, free: 39.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.048/1.336, allocations: 149.5 MB / 1.358 GB, free: 17.57 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002876/1.336, allocations: 89.05 kB / 1.358 GB, free: 17.57 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003148/1.339, allocations: 0.8406 MB / 1.359 GB, free: 33.22 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.264e-06/1.34, allocations: 0 / 1.359 GB, free: 33.22 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.306e-06/1.34, allocations: 3.906 kB / 1.359 GB, free: 33.22 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.0004329/1.34, allocations: 359.3 kB / 1.36 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.336e-05/1.34, allocations: 7.688 kB / 1.36 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.606e-05/1.34, allocations: 11.16 kB / 1.36 GB, free: 32.87 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001005/1.34, allocations: 166.8 kB / 1.36 GB, free: 32.67 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.517e-05/1.34, allocations: 1.359 kB / 1.36 GB, free: 32.67 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.084e-05/1.34, allocations: 0 / 1.36 GB, free: 32.67 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.542e-05/1.34, allocations: 22.06 kB / 1.36 GB, free: 32.67 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.123e-05/1.34, allocations: 47.34 kB / 1.36 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/1.34, allocations: 0 / 1.36 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/1.34, allocations: 0.6562 kB / 1.36 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/1.34, allocations: 0 / 1.36 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005016/1.341, allocations: 284.4 kB / 1.36 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.564e-05/1.341, allocations: 28.7 kB / 1.36 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.266e-05/1.341, allocations: 15.36 kB / 1.36 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.51e-05/1.341, allocations: 3.875 kB / 1.36 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.672e-05/1.341, allocations: 36 kB / 1.36 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 1.382e-06/1.341, allocations: 7.938 kB / 1.36 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0001588/1.341, allocations: 46.58 kB / 1.36 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.587e-05/1.341, allocations: 51.41 kB / 1.36 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.915e-05/1.341, allocations: 102 kB / 1.36 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.233e-05/1.341, allocations: 26.58 kB / 1.36 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.376e-05/1.342, allocations: 92.94 kB / 1.36 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.825e-05/1.342, allocations: 3.906 kB / 1.36 GB, free: 32 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.478e-06/1.342, allocations: 0 / 1.36 GB, free: 32 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001032/1.342, allocations: 324.1 kB / 1.361 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.202e-05/1.342, allocations: 10 kB / 1.361 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.679e-05/1.342, allocations: 6.844 kB / 1.361 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.105e-05/1.342, allocations: 5.766 kB / 1.361 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/1.342, allocations: 1.969 kB / 1.361 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.01e-05/1.342, allocations: 60.06 kB / 1.361 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/1.342, allocations: 6.578 kB / 1.361 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/1.342, allocations: 0 / 1.361 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/1.342, allocations: 0 / 1.361 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001405/1.342, allocations: 24.48 kB / 1.361 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.938e-06/1.342, allocations: 0 / 1.361 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.381e-05/1.342, allocations: 16.62 kB / 1.361 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.716e-06/1.342, allocations: 0 / 1.361 GB, free: 31.64 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 7.498e-05/1.342, allocations: 110.4 kB / 1.361 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.121e-05/1.342, allocations: 4 kB / 1.361 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.096e-05/1.342, allocations: 11.59 kB / 1.361 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/1.342, allocations: 1.5 kB / 1.361 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/1.342, allocations: 0 / 1.361 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/1.342, allocations: 0 / 1.361 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001243/1.342, allocations: 148.7 kB / 1.361 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/1.342, allocations: 1.453 kB / 1.361 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.508e-05/1.343, allocations: 16.09 kB / 1.361 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/1.343, allocations: 7.938 kB / 1.361 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.318e-06/1.343, allocations: 3.906 kB / 1.361 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/1.343, allocations: 3.25 kB / 1.361 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/1.343, allocations: 1.547 kB / 1.361 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001126/1.343, allocations: 148.7 kB / 1.361 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.273e-05/1.343, allocations: 80.83 kB / 1.361 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.602e-05/1.343, allocations: 1.5 kB / 1.361 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001163/1.343, allocations: 20.17 kB / 1.361 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.006e-05/1.343, allocations: 9.953 kB / 1.361 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-06/1.343, allocations: 0 / 1.361 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.807e-05/1.343, allocations: 84.05 kB / 1.362 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.343, allocations: 0 / 1.362 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002077/1.343, allocations: 11.66 kB / 1.362 GB, free: 31.03 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 9.672e-05/1.343, allocations: 100 kB / 1.362 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.777e-05/1.343, allocations: 22.25 kB / 1.362 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/1.343, allocations: 3.938 kB / 1.362 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.793e-05/1.343, allocations: 12.75 kB / 1.362 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000213/1.344, allocations: 8.922 kB / 1.362 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002458/1.344, allocations: 75.44 kB / 1.362 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003023/1.344, allocations: 0.6861 MB / 1.362 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.284e-05/1.344, allocations: 5.641 kB / 1.362 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.775e-05/1.344, allocations: 7.438 kB / 1.362 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of SimCode: time 3.51e-07/1.344, allocations: 0 / 1.362 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of Templates: time 0.002432/1.347, allocations: 0.5238 MB / 1.363 GB, free: 30.11 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqual.makefile (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqual.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqual.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqual.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqual.sim & ./Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqual -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqual.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqual_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LessEqual.csv","../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqual.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches