Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less.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.000967/0.000967, 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.001112/0.001112, allocations: 165.6 kB / 24.87 MB, free: 8.891 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 1/1, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.96/1.96, allocations: 377.9 MB / 0.6247 GB, free: 8.414 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.Less,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|les.u1|les.u2|les.y|lesHys.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Less,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|les.u1|les.u2|les.y|lesHys.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 0.8128 GB, free: 1.387 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.524e-05/1.669e-05, allocations: 2.312 kB / 0.8129 GB, free: 1.383 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Less): time 0.001631/0.001647, allocations: 0.8455 MB / 0.8137 GB, free: 0.5547 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001066/0.002713, allocations: 0.9424 MB / 0.8146 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.35e-05/0.002796, allocations: 7.938 kB / 0.8146 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001222/0.002919, allocations: 19.8 kB / 0.8146 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 4.322e-05/0.002962, allocations: 16.75 kB / 0.8146 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001811/0.003143, allocations: 35.89 kB / 0.8147 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001239/0.003267, allocations: 108.4 kB / 0.8148 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.003378, allocations: 24.89 kB / 0.8148 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001667/0.003544, allocations: 63.81 kB / 0.8149 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 6.898e-05/0.003613, allocations: 32.56 kB / 0.8149 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.958e-05/0.003633, allocations: 8 kB / 0.8149 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 3.842e-05/0.003671, allocations: 8.875 kB / 0.8149 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.212e-05/0.003693, allocations: 23.91 kB / 0.8149 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.766e-05/0.003721, allocations: 25.17 kB / 0.815 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001287/0.00385, allocations: 75.66 kB / 0.815 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.325e-06/0.003852, allocations: 0 / 0.815 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.41e-07/0.003853, allocations: 0 / 0.815 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.276e-06/0.003856, allocations: 5.656 kB / 0.815 GB, free: 15.16 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0003985/0.004254, allocations: 420.2 kB / 0.8154 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.304e-05/0.004287, allocations: 12.03 kB / 0.8154 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001202/0.004408, allocations: 26.09 kB / 0.8155 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001573/0.004565, allocations: 144.5 kB / 0.8156 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.025e-05/0.004575, allocations: 5.906 kB / 0.8156 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.077e-05/0.004586, allocations: 4.375 kB / 0.8156 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000132/0.004718, allocations: 86.03 kB / 0.8157 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.432e-06/0.004724, allocations: 5.031 kB / 0.8157 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.346e-06/0.004733, allocations: 384 / 0.8157 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.004739, allocations: 5.234 kB / 0.8157 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.042e-05/0.004779, allocations: 23.86 kB / 0.8157 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000329/0.005108, allocations: 304.8 kB / 0.816 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 9.104e-05/0.005199, allocations: 47.7 kB / 0.8161 GB, free: 14 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.328e-05/0.005222, allocations: 20.98 kB / 0.8161 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.115e-05/0.005233, allocations: 0 / 0.8161 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.13e-05/0.005255, allocations: 37.39 kB / 0.8161 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=4): time 1.854e-06/0.005257, allocations: 0.5938 kB / 0.8161 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4): time 0.0001821/0.005439, allocations: 57.58 kB / 0.8162 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.725e-05/0.005466, allocations: 56.53 kB / 0.8162 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.012e-05/0.005546, allocations: 192.1 kB / 0.8164 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.425e-05/0.00556, allocations: 25.7 kB / 0.8164 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.999e-05/0.00561, allocations: 151.7 kB / 0.8166 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.767e-05/0.005628, allocations: 19.83 kB / 0.8166 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.981e-05/0.005658, allocations: 23.89 kB / 0.8166 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001009/0.005759, allocations: 0.4962 MB / 0.8171 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.455e-05/0.005773, allocations: 5.094 kB / 0.8171 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.295e-05/0.005786, allocations: 4 kB / 0.8171 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.017e-05/0.005816, allocations: 15.69 kB / 0.8171 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.005819, allocations: 13.67 kB / 0.8171 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of matching and sorting (n=5) (initialization): time 6.35e-05/0.005883, allocations: 57.59 kB / 0.8172 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 8.877e-06/0.005892, allocations: 4 kB / 0.8172 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.226e-06/0.005895, allocations: 0 / 0.8172 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.172e-06/0.005901, allocations: 0 / 0.8172 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.15e-05/0.005963, allocations: 14.14 kB / 0.8172 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.525e-06/0.005965, allocations: 0 / 0.8172 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.452e-05/0.006, allocations: 7.984 kB / 0.8172 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.041e-06/0.006006, allocations: 4 kB / 0.8172 GB, free: 12.72 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 (5): * Single equations (assignments): 5 * 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.446e-05/0.00607, allocations: 161.1 kB / 0.8174 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.883e-05/0.006089, allocations: 11.39 kB / 0.8174 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.982e-05/0.006109, allocations: 12.34 kB / 0.8174 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.00611, allocations: 0 / 0.8174 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.006112, allocations: 0 / 0.8174 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.006116, allocations: 3.984 kB / 0.8174 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.819e-05/0.006214, allocations: 113.2 kB / 0.8175 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.006215, allocations: 0 / 0.8175 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.483e-05/0.00624, allocations: 8.125 kB / 0.8175 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.006243, allocations: 11.94 kB / 0.8175 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.006251, allocations: 4.484 kB / 0.8175 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.51e-07/0.006252, allocations: 0 / 0.8175 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.006253, allocations: 0.5 kB / 0.8175 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.673e-05/0.00635, allocations: 200.4 kB / 0.8177 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 9.949e-06/0.00636, allocations: 11.89 kB / 0.8177 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.389e-05/0.006374, allocations: 1.406 kB / 0.8177 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.536e-05/0.006419, allocations: 11.98 kB / 0.8178 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.485e-05/0.006454, allocations: 11.97 kB / 0.8178 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.006458, allocations: 4.562 kB / 0.8178 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.605e-05/0.006494, allocations: 133.2 kB / 0.8179 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.006494, allocations: 0 / 0.8179 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001412/0.006635, allocations: 21.88 kB / 0.8179 GB, free: 11.97 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 (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 Backend phase and start with SimCode phase: time 6.279e-05/0.006698, allocations: 99.42 kB / 0.818 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 6.496e-05/0.006763, allocations: 27.66 kB / 0.818 GB, free: 11.83 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 8.41e-07/0.006764, allocations: 0 / 0.818 GB, free: 11.83 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.588e-05/0.00679, allocations: 24.47 kB / 0.8181 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001736/0.006963, allocations: 20.81 kB / 0.8181 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003639/0.007327, allocations: 200.8 kB / 0.8183 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.354e-05/0.007361, allocations: 60.22 kB / 0.8183 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.897e-05/0.00739, allocations: 5.562 kB / 0.8183 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.201e-05/0.007452, allocations: 82.19 kB / 0.8184 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of SimCode: time 4.01e-07/0.007452, allocations: 3.656 kB / 0.8184 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of Templates: time 0.002486/0.009938, allocations: 1.211 MB / 0.8196 GB, free: 10.23 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Less.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.181872822344303]