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: translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lesEquThr.u|lesEquThr.y",fileNamePrefix="Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lesEquThr.u|lesEquThr.y",fileNamePrefix="Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.422/2.422, allocations: 390.3 MB / 405.3 MB, free: 13.46 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.001284/0.001284, allocations: 177 kB / 498.1 MB, free: 5.684 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.617/1.617, allocations: 223.2 MB / 0.7948 GB, free: 17.79 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.0008899/0.0008899, allocations: 96.33 kB / 0.9346 GB, free: 6.102 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004086/0.000409, allocations: 11.03 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3518/0.3523, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2077/0.56, allocations: 149.3 MB / 1.369 GB, free: 12.64 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003055/0.5604, allocations: 83.94 kB / 1.369 GB, free: 12.56 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.001475/0.5618, allocations: 0.6207 MB / 1.369 GB, free: 11.94 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.104e-06/0.5619, allocations: 3.938 kB / 1.369 GB, free: 11.93 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.191e-06/0.5619, allocations: 0 / 1.369 GB, free: 11.93 MB / 0.8698 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.0003605/0.5622, allocations: 348.1 kB / 1.37 GB, free: 11.55 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.5623, allocations: 8.031 kB / 1.37 GB, free: 11.54 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.806e-05/0.5623, allocations: 4 kB / 1.37 GB, free: 11.54 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001061/0.5624, allocations: 167 kB / 1.37 GB, free: 11.33 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.5625, allocations: 4 kB / 1.37 GB, free: 11.33 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.47e-05/0.5625, allocations: 4 kB / 1.37 GB, free: 11.32 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001763/0.5627, allocations: 53.67 kB / 1.37 GB, free: 11.27 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.5627, allocations: 3.938 kB / 1.37 GB, free: 11.26 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.5627, allocations: 0 / 1.37 GB, free: 11.26 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.5627, allocations: 3.984 kB / 1.37 GB, free: 11.26 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000165/0.5629, allocations: 43.97 kB / 1.37 GB, free: 11.21 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004177/0.5633, allocations: 275.6 kB / 1.37 GB, free: 10.9 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001171/0.5634, allocations: 38.56 kB / 1.37 GB, free: 10.85 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.146e-05/0.5635, allocations: 4.062 kB / 1.37 GB, free: 10.85 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.935e-05/0.5635, allocations: 38.55 kB / 1.37 GB, free: 10.8 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.5635, allocations: 0 / 1.37 GB, free: 10.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0003459/0.5639, allocations: 97.5 kB / 1.37 GB, free: 10.7 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.784e-05/0.5639, allocations: 51.41 kB / 1.37 GB, free: 10.64 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.487e-05/0.564, allocations: 101.1 kB / 1.371 GB, free: 10.53 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.467e-05/0.564, allocations: 29.7 kB / 1.371 GB, free: 10.5 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.586e-05/0.5641, allocations: 84.14 kB / 1.371 GB, free: 10.41 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.795e-05/0.5641, allocations: 3.984 kB / 1.371 GB, free: 10.41 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.136e-06/0.5641, allocations: 0 / 1.371 GB, free: 10.41 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001249/0.5642, allocations: 322.8 kB / 1.371 GB, free: 10.08 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.408e-05/0.5643, allocations: 19.98 kB / 1.371 GB, free: 10.06 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.664e-05/0.5644, allocations: 23.98 kB / 1.371 GB, free: 10.04 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.832e-05/0.5645, allocations: 23.92 kB / 1.371 GB, free: 10.02 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.5645, allocations: 0 / 1.371 GB, free: 10.02 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001908/0.5647, allocations: 85.56 kB / 1.371 GB, free: 9.926 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.5647, allocations: 8 kB / 1.371 GB, free: 9.918 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.5647, allocations: 0 / 1.371 GB, free: 9.918 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.5647, allocations: 0 / 1.371 GB, free: 9.918 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.738e-05/0.5648, allocations: 11.98 kB / 1.371 GB, free: 9.906 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.5648, allocations: 0 / 1.371 GB, free: 9.906 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.519e-05/0.5649, allocations: 12.03 kB / 1.371 GB, free: 9.895 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-06/0.5649, allocations: 3.984 kB / 1.371 GB, free: 9.891 MB / 0.8698 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 () * Number of clocked 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 8.155e-05/0.565, allocations: 113.8 kB / 1.371 GB, free: 9.77 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.226e-05/0.565, allocations: 4 kB / 1.371 GB, free: 9.766 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.027e-05/0.5651, allocations: 3.125 kB / 1.371 GB, free: 9.762 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.5651, allocations: 0 / 1.371 GB, free: 9.762 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.5651, allocations: 0 / 1.371 GB, free: 9.762 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.5651, allocations: 0 / 1.371 GB, free: 9.762 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001483/0.5652, allocations: 165.6 kB / 1.371 GB, free: 9.551 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.5652, allocations: 0 / 1.371 GB, free: 9.551 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.435e-05/0.5653, allocations: 8 kB / 1.371 GB, free: 9.543 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.5653, allocations: 0 / 1.371 GB, free: 9.543 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.856e-06/0.5653, allocations: 4 kB / 1.371 GB, free: 9.539 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.5653, allocations: 256 / 1.371 GB, free: 9.539 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.5653, allocations: 3.984 kB / 1.371 GB, free: 9.535 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000233/0.5656, allocations: 179.4 kB / 1.372 GB, free: 9.344 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.184e-05/0.5656, allocations: 89 kB / 1.372 GB, free: 9.238 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.211e-05/0.5657, allocations: 0 / 1.372 GB, free: 9.238 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.767e-05/0.5657, allocations: 12.03 kB / 1.372 GB, free: 9.227 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.314e-05/0.5658, allocations: 7.984 kB / 1.372 GB, free: 9.219 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.454e-06/0.5658, allocations: 0 / 1.372 GB, free: 9.219 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 4.474e-05/0.5659, allocations: 83.28 kB / 1.372 GB, free: 9.137 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5659, allocations: 0 / 1.372 GB, free: 9.137 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001884/0.5661, allocations: 4 kB / 1.372 GB, free: 9.133 MB / 0.8698 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 () * Number of clocked 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.0001265/0.5662, allocations: 103 kB / 1.372 GB, free: 9.023 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002106/0.5664, allocations: 47.97 kB / 1.372 GB, free: 8.977 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.5664, allocations: 0 / 1.372 GB, free: 8.977 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 9.019e-05/0.5665, allocations: 27.92 kB / 1.372 GB, free: 8.949 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002126/0.5667, allocations: 16.02 kB / 1.372 GB, free: 8.934 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002948/0.567, allocations: 112.6 kB / 1.372 GB, free: 8.789 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000257/0.5673, allocations: 0.677 MB / 1.373 GB, free: 8.086 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 2.516e-05/0.5673, allocations: 0 / 1.373 GB, free: 8.086 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.078e-05/0.5674, allocations: 11.44 kB / 1.373 GB, free: 8.074 MB / 0.8698 GB Notification: Performance of SimCode: time 2.11e-07/0.5674, allocations: 0 / 1.373 GB, free: 8.074 MB / 0.8698 GB Notification: Performance of Templates: time 0.002471/0.5699, allocations: 386.8 kB / 1.373 GB, free: 7.703 MB / 0.8698 GB make -j1 -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold.makefile (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 & ./Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LessEqualThreshold.csv","../files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches