Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00138/0.00138, allocations: 81.95 kB / 21.47 MB, free: 3.031 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001534/0.001534, allocations: 163.1 kB / 24.86 MB, free: 8.895 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.996/0.996, allocations: 177.1 MB / 205.3 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.986/1.986, allocations: 377.9 MB / 0.6247 GB, free: 8.387 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|les.u|les.t|les.y|lesHys.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|les.u|les.t|les.y|lesHys.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.8128 GB, free: 1.336 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.185e-05/1.348e-05, allocations: 3.969 kB / 0.8128 GB, free: 1.332 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.001217/0.00123, allocations: 0.8206 MB / 0.8136 GB, free: 0.5273 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0008324/0.002063, allocations: 0.9299 MB / 0.8146 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.913e-05/0.002132, allocations: 0 / 0.8146 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.000111/0.002243, allocations: 13.78 kB / 0.8146 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 3.031e-05/0.002273, allocations: 11.88 kB / 0.8146 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001572/0.00243, allocations: 35.84 kB / 0.8146 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 8.922e-05/0.00252, allocations: 79.75 kB / 0.8147 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 9.336e-05/0.002613, allocations: 16.62 kB / 0.8147 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001302/0.002743, allocations: 52.75 kB / 0.8148 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 6.027e-05/0.002803, allocations: 19.92 kB / 0.8148 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.607e-05/0.002819, allocations: 5.156 kB / 0.8148 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 3.767e-05/0.002857, allocations: 8 kB / 0.8148 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.73e-05/0.002874, allocations: 19.86 kB / 0.8148 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.402e-05/0.002898, allocations: 21.33 kB / 0.8148 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001042/0.003003, allocations: 51.75 kB / 0.8149 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.003005, allocations: 0 / 0.8149 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of FrontEnd: time 4.91e-07/0.003005, allocations: 0 / 0.8149 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.257e-06/0.003009, allocations: 0.7812 kB / 0.8149 GB, free: 15.26 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003772/0.003386, allocations: 409.3 kB / 0.8153 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.057e-05/0.003416, allocations: 8.031 kB / 0.8153 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001147/0.003531, allocations: 21.5 kB / 0.8153 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001528/0.003684, allocations: 151.1 kB / 0.8154 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.337e-06/0.003693, allocations: 4.875 kB / 0.8154 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.077e-06/0.003702, allocations: 9.562 kB / 0.8155 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.614e-05/0.003798, allocations: 66.88 kB / 0.8155 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.802e-06/0.003805, allocations: 192 / 0.8155 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.784e-06/0.003813, allocations: 2.719 kB / 0.8155 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.003818, allocations: 384 / 0.8155 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.276e-05/0.003851, allocations: 15.92 kB / 0.8155 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002879/0.004139, allocations: 280.2 kB / 0.8158 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 8.312e-05/0.004222, allocations: 42.98 kB / 0.8158 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.919e-05/0.004241, allocations: 20.39 kB / 0.8159 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.061e-05/0.004251, allocations: 1.531 kB / 0.8159 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.243e-05/0.004274, allocations: 37.33 kB / 0.8159 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 8.12e-07/0.004275, allocations: 0 / 0.8159 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0001362/0.004411, allocations: 53.73 kB / 0.8159 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.127e-05/0.004442, allocations: 52.62 kB / 0.816 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.371e-05/0.004536, allocations: 189.8 kB / 0.8162 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.72e-05/0.004553, allocations: 29.7 kB / 0.8162 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.762e-05/0.004611, allocations: 146.8 kB / 0.8163 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.414e-05/0.004625, allocations: 4.453 kB / 0.8164 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.88e-05/0.004664, allocations: 27.89 kB / 0.8164 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.004781, allocations: 0.4889 MB / 0.8169 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.561e-05/0.004797, allocations: 11.92 kB / 0.8169 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.116e-05/0.004808, allocations: 0.875 kB / 0.8169 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.897e-05/0.004837, allocations: 15.69 kB / 0.8169 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.004838, allocations: 0.8125 kB / 0.8169 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.2e-05/0.00491, allocations: 53.58 kB / 0.8169 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/0.004922, allocations: 8.531 kB / 0.8169 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.004925, allocations: 0 / 0.8169 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.123e-06/0.004932, allocations: 1.375 kB / 0.8169 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.092e-05/0.004973, allocations: 7.922 kB / 0.817 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.455e-06/0.004976, allocations: 4 kB / 0.817 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.07e-05/0.005006, allocations: 5.156 kB / 0.817 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.157e-06/0.005011, allocations: 0 / 0.817 GB, free: 12.94 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (lesHys.lesHys.y,$PRE.lesHys.lesHys.y,les.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.902e-05/0.00508, allocations: 153.3 kB / 0.8171 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.573e-05/0.005105, allocations: 15.89 kB / 0.8171 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.268e-05/0.005128, allocations: 13.34 kB / 0.8171 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.00513, allocations: 0 / 0.8171 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.392e-06/0.005131, allocations: 0.625 kB / 0.8171 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.005136, allocations: 5.297 kB / 0.8171 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001343/0.00527, allocations: 117.2 kB / 0.8173 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.005272, allocations: 0 / 0.8173 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.694e-05/0.005288, allocations: 4 kB / 0.8173 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.005291, allocations: 4.812 kB / 0.8173 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-06/0.005297, allocations: 3.984 kB / 0.8173 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.005299, allocations: 9.5 kB / 0.8173 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.0053, allocations: 0 / 0.8173 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001052/0.005405, allocations: 195.8 kB / 0.8175 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 9.007e-06/0.005414, allocations: 4 kB / 0.8175 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.438e-05/0.005428, allocations: 0.9062 kB / 0.8175 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.923e-05/0.005488, allocations: 11.92 kB / 0.8175 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.469e-05/0.005522, allocations: 11.98 kB / 0.8175 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.095e-06/0.005525, allocations: 3.438 kB / 0.8175 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.137e-05/0.005577, allocations: 142.9 kB / 0.8176 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.005577, allocations: 0 / 0.8176 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002115/0.005788, allocations: 15.89 kB / 0.8176 GB, free: 12.2 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (les.y,lesHys.lesHys.y) * Number of discrete states: 1 (lesHys.lesHys.y) * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.437e-05/0.005863, allocations: 103.2 kB / 0.8177 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 6.197e-05/0.005925, allocations: 15.69 kB / 0.8178 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.153e-06/0.005926, allocations: 0 / 0.8178 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.717e-05/0.005953, allocations: 24.11 kB / 0.8178 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002251/0.006178, allocations: 9.938 kB / 0.8178 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003789/0.006557, allocations: 174 kB / 0.818 GB, free: 11.83 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.419e-05/0.006591, allocations: 56.64 kB / 0.818 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.856e-05/0.00662, allocations: 9.297 kB / 0.818 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.116e-05/0.006681, allocations: 74.2 kB / 0.8181 GB, free: 11.67 MB / 0.7761 GB Notification: Performance of SimCode: time 4.71e-07/0.006681, allocations: 0 / 0.8181 GB, free: 11.67 MB / 0.7761 GB Notification: Performance of Templates: time 0.002866/0.009547, allocations: 1.027 MB / 0.8191 GB, free: 10.69 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.209692100062966]