Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.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.0009392/0.0009392, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.0009705/0.0009705, allocations: 177 kB / 23.36 MB, free: 1.129 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.977/0.977, allocations: 177.2 MB / 203.8 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.384/2.384, allocations: 438.8 MB / 0.6827 GB, free: 13.59 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Integers.Validation.Less,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intLes.u1|intLes.u2|intLes.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Less,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intLes.u1|intLes.u2|intLes.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.112e-06/1.112e-06, allocations: 0 / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.615e-05/1.726e-05, allocations: 13 kB / 0.8386 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Less): time 0.002229/0.002246, allocations: 2.037 MB / 0.8406 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001483/0.003729, allocations: 1.333 MB / 0.8419 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.277e-05/0.003812, allocations: 3.938 kB / 0.8419 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0002912/0.004103, allocations: 163.3 kB / 0.842 GB, free: 10.63 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0002928/0.004396, allocations: 211 kB / 0.8422 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002001/0.004596, allocations: 163.4 kB / 0.8424 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0004454/0.005041, allocations: 351 kB / 0.8427 GB, free: 9.922 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 9.955e-05/0.005141, allocations: 34.89 kB / 0.8428 GB, free: 9.891 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005643/0.005705, allocations: 271.8 kB / 0.843 GB, free: 9.656 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001377/0.005843, allocations: 123.7 kB / 0.8431 GB, free: 9.535 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.414e-05/0.005867, allocations: 12 kB / 0.8432 GB, free: 9.523 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 8.598e-05/0.005953, allocations: 59.91 kB / 0.8432 GB, free: 9.465 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 7.36e-05/0.006027, allocations: 95.67 kB / 0.8433 GB, free: 9.371 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 5.89e-05/0.006085, allocations: 67.72 kB / 0.8434 GB, free: 9.305 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002457/0.006331, allocations: 251 kB / 0.8436 GB, free: 9.059 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.664e-06/0.006333, allocations: 0 / 0.8436 GB, free: 9.059 MB / 0.8073 GB Notification: Performance of FrontEnd: time 4.71e-07/0.006333, allocations: 4 kB / 0.8436 GB, free: 9.055 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.537e-06/0.006337, allocations: 4 kB / 0.8436 GB, free: 9.051 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.000525/0.006862, allocations: 0.5414 MB / 0.8441 GB, free: 8.484 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.527e-05/0.006887, allocations: 8.625 kB / 0.8442 GB, free: 8.477 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.02e-05/0.006927, allocations: 24.91 kB / 0.8442 GB, free: 8.453 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000244/0.007171, allocations: 272 kB / 0.8444 GB, free: 8.16 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.634e-05/0.007188, allocations: 8.375 kB / 0.8444 GB, free: 8.152 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.594e-05/0.007204, allocations: 11.92 kB / 0.8445 GB, free: 8.141 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001237/0.007327, allocations: 101.1 kB / 0.8446 GB, free: 8.031 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.007334, allocations: 0 / 0.8446 GB, free: 8.031 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.278e-06/0.007343, allocations: 3.984 kB / 0.8446 GB, free: 8.027 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.00735, allocations: 7.984 kB / 0.8446 GB, free: 8.02 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.022e-05/0.00739, allocations: 25.8 kB / 0.8446 GB, free: 7.996 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003333/0.007724, allocations: 257.7 kB / 0.8448 GB, free: 7.727 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001188/0.007842, allocations: 124 kB / 0.845 GB, free: 7.594 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.977e-05/0.007872, allocations: 28.84 kB / 0.845 GB, free: 7.562 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 8.216e-06/0.00788, allocations: 0 / 0.845 GB, free: 7.562 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.356e-05/0.007974, allocations: 89.55 kB / 0.8451 GB, free: 7.465 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=13): time 1.062e-06/0.007975, allocations: 0 / 0.8451 GB, free: 7.465 MB / 0.8073 GB Notification: Performance of matching and sorting (n=13): time 0.0001451/0.00812, allocations: 105.6 kB / 0.8452 GB, free: 7.355 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.563e-05/0.008146, allocations: 67.28 kB / 0.8452 GB, free: 7.277 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002187/0.008364, allocations: 362.1 kB / 0.8456 GB, free: 6.91 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.569e-05/0.00838, allocations: 29.7 kB / 0.8456 GB, free: 6.875 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.537e-05/0.008435, allocations: 141.5 kB / 0.8457 GB, free: 6.734 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.481e-05/0.00846, allocations: 35.72 kB / 0.8458 GB, free: 6.699 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.591e-05/0.008526, allocations: 69.89 kB / 0.8458 GB, free: 6.621 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.18e-05/0.008618, allocations: 354.7 kB / 0.8462 GB, free: 6.266 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.039e-05/0.008658, allocations: 27.38 kB / 0.8462 GB, free: 6.238 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.393e-05/0.008712, allocations: 64.72 kB / 0.8463 GB, free: 6.168 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.197e-05/0.008804, allocations: 96.09 kB / 0.8464 GB, free: 6.062 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.008806, allocations: 0 / 0.8464 GB, free: 6.062 MB / 0.8073 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001482/0.008954, allocations: 157.9 kB / 0.8465 GB, free: 5.902 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.568e-06/0.008964, allocations: 7.984 kB / 0.8465 GB, free: 5.895 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.858e-06/0.008968, allocations: 4 kB / 0.8465 GB, free: 5.891 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.017e-05/0.008978, allocations: 0 / 0.8465 GB, free: 5.891 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/0.009089, allocations: 47.91 kB / 0.8466 GB, free: 5.844 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.867e-06/0.009092, allocations: 4 kB / 0.8466 GB, free: 5.84 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.774e-05/0.00915, allocations: 15.89 kB / 0.8466 GB, free: 5.824 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.698e-05/0.009167, allocations: 11.94 kB / 0.8466 GB, free: 5.812 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.timTabLin1.tab.nextTimeEvent,$whenCondition2,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition1,timTabLin1.tab.nextTimeEventScaled,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,reaToInt1.y,reaToInt.y,intLes.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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 7.855e-05/0.009246, allocations: 144.6 kB / 0.8467 GB, free: 5.66 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.358e-05/0.009269, allocations: 23.97 kB / 0.8468 GB, free: 5.637 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001246/0.009394, allocations: 104.8 kB / 0.8469 GB, free: 5.531 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.009395, allocations: 0 / 0.8469 GB, free: 5.531 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.009397, allocations: 0 / 0.8469 GB, free: 5.531 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.009402, allocations: 7.984 kB / 0.8469 GB, free: 5.523 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000112/0.009513, allocations: 149.6 kB / 0.847 GB, free: 5.359 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/0.009514, allocations: 0 / 0.847 GB, free: 5.359 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.054e-05/0.009555, allocations: 23.92 kB / 0.847 GB, free: 5.336 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-06/0.009556, allocations: 7.938 kB / 0.847 GB, free: 5.328 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.009563, allocations: 4 kB / 0.847 GB, free: 5.324 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.009564, allocations: 0 / 0.847 GB, free: 5.324 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.009564, allocations: 0 / 0.847 GB, free: 5.324 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001031/0.009667, allocations: 133.2 kB / 0.8472 GB, free: 5.176 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.326e-05/0.009701, allocations: 35.75 kB / 0.8472 GB, free: 5.141 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.361e-05/0.009724, allocations: 4 kB / 0.8472 GB, free: 5.137 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.863e-05/0.009763, allocations: 7.984 kB / 0.8472 GB, free: 5.129 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.907e-05/0.009802, allocations: 19.97 kB / 0.8472 GB, free: 5.109 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.135e-06/0.00981, allocations: 4 kB / 0.8472 GB, free: 5.105 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.000102/0.009912, allocations: 148.7 kB / 0.8474 GB, free: 4.957 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.009912, allocations: 0 / 0.8474 GB, free: 4.957 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000152/0.01006, allocations: 55.89 kB / 0.8474 GB, free: 4.902 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,intLes.y,reaToInt.y,reaToInt1.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 4 (timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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 0.001106/0.01117, allocations: 0.5154 MB / 0.8479 GB, free: 4.617 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001315/0.0113, allocations: 104.9 kB / 0.848 GB, free: 4.512 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.0113, allocations: 4 kB / 0.848 GB, free: 4.508 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 5.009e-05/0.01136, allocations: 47.3 kB / 0.8481 GB, free: 4.461 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002042/0.01156, allocations: 97.8 kB / 0.8482 GB, free: 4.375 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004479/0.01201, allocations: 473.1 kB / 0.8486 GB, free: 3.879 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.495e-05/0.01206, allocations: 104.6 kB / 0.8487 GB, free: 3.758 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 7.857e-05/0.01214, allocations: 54.92 kB / 0.8488 GB, free: 3.707 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001297/0.01227, allocations: 107.3 kB / 0.8489 GB, free: 3.602 MB / 0.8073 GB Notification: Performance of SimCode: time 5.31e-07/0.01227, allocations: 0 / 0.8489 GB, free: 3.602 MB / 0.8073 GB Notification: Performance of Templates: time 0.005934/0.01821, allocations: 4.86 MB / 0.8536 GB, free: 14.82 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_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.481148773804307]