Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009624/0.0009624, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.0009913/0.0009913, allocations: 161 kB / 24.17 MB, free: 332 kB / 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.004/1.004, allocations: 177.2 MB / 204.6 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.928/1.928, allocations: 377.9 MB / 0.624 GB, free: 8.336 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.Integers.Validation.Less,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intLes.u1|intLes.u2|intLes.y",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.OBC.CDL.Integers.Validation.Less") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 0.76 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.74e-05/1.918e-05, allocations: 2.312 kB / 0.76 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Less): time 0.00267/0.002689, allocations: 2.044 MB / 0.762 GB, free: 4.59 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001662/0.004351, allocations: 1.329 MB / 0.7633 GB, free: 3.27 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.659e-05/0.004447, allocations: 9.25 kB / 0.7633 GB, free: 3.262 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0003845/0.004832, allocations: 162.4 kB / 0.7635 GB, free: 3.105 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.000359/0.005191, allocations: 217.2 kB / 0.7637 GB, free: 2.898 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002462/0.005437, allocations: 163.4 kB / 0.7639 GB, free: 2.738 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0003298/0.005767, allocations: 347 kB / 0.7642 GB, free: 2.398 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001306/0.005897, allocations: 31.95 kB / 0.7642 GB, free: 2.367 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006087/0.006506, allocations: 264.3 kB / 0.7645 GB, free: 2.145 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001596/0.006666, allocations: 124.3 kB / 0.7646 GB, free: 2.023 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.511e-05/0.006691, allocations: 12.72 kB / 0.7646 GB, free: 2.012 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 9.28e-05/0.006784, allocations: 63.89 kB / 0.7647 GB, free: 1.949 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 8.132e-05/0.006865, allocations: 96.14 kB / 0.7648 GB, free: 1.855 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 6.287e-05/0.006928, allocations: 72.78 kB / 0.7648 GB, free: 1.785 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002933/0.007221, allocations: 251 kB / 0.7651 GB, free: 1.539 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.007224, allocations: 0 / 0.7651 GB, free: 1.539 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.092e-06/0.007225, allocations: 1.031 kB / 0.7651 GB, free: 1.539 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.071e-06/0.007231, allocations: 0 / 0.7651 GB, free: 1.539 MB / 0.7136 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.0005666/0.007797, allocations: 0.5381 MB / 0.7656 GB, free: 0.9766 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.068e-05/0.007828, allocations: 8.031 kB / 0.7656 GB, free: 0.9688 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.814e-05/0.007876, allocations: 30.69 kB / 0.7656 GB, free: 0.9414 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000273/0.008149, allocations: 271.9 kB / 0.7659 GB, free: 0.6523 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.238e-05/0.008172, allocations: 12.38 kB / 0.7659 GB, free: 0.6406 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.045e-05/0.008192, allocations: 15.92 kB / 0.7659 GB, free: 0.625 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001439/0.008336, allocations: 94.38 kB / 0.766 GB, free: 0.5234 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.008344, allocations: 0 / 0.766 GB, free: 0.5234 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.008353, allocations: 0 / 0.766 GB, free: 0.5234 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.008359, allocations: 4.938 kB / 0.766 GB, free: 0.5195 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.413e-05/0.008403, allocations: 27.91 kB / 0.766 GB, free: 0.4922 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003624/0.008766, allocations: 251.2 kB / 0.7663 GB, free: 236 kB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001327/0.008899, allocations: 124.7 kB / 0.7664 GB, free: 100 kB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.459e-05/0.008933, allocations: 33.5 kB / 0.7664 GB, free: 64 kB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.269e-05/0.008946, allocations: 5.562 kB / 0.7664 GB, free: 60 kB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001197/0.009066, allocations: 86.17 kB / 0.7665 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=13): time 1.624e-06/0.009067, allocations: 0 / 0.7665 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13): time 0.0001702/0.009237, allocations: 98.27 kB / 0.7666 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.447e-05/0.009272, allocations: 66.17 kB / 0.7667 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002375/0.009509, allocations: 366.1 kB / 0.767 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.855e-05/0.009528, allocations: 29.7 kB / 0.767 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.645e-05/0.009594, allocations: 141.5 kB / 0.7672 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.963e-05/0.009624, allocations: 39.67 kB / 0.7672 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.703e-05/0.009691, allocations: 65.94 kB / 0.7673 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001026/0.009794, allocations: 354.7 kB / 0.7676 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.185e-05/0.009835, allocations: 29.81 kB / 0.7676 GB, free: 14.74 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.597e-05/0.009891, allocations: 59.66 kB / 0.7677 GB, free: 14.67 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001019/0.009993, allocations: 100.1 kB / 0.7678 GB, free: 14.56 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.706e-06/0.009996, allocations: 0 / 0.7678 GB, free: 14.56 MB / 0.7292 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001676/0.01016, allocations: 150.8 kB / 0.7679 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.01018, allocations: 6.812 kB / 0.7679 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.01018, allocations: 5.016 kB / 0.768 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.0102, allocations: 4 kB / 0.768 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001243/0.01032, allocations: 43.92 kB / 0.768 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.01033, allocations: 5.141 kB / 0.768 GB, free: 14.35 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.477e-05/0.01039, allocations: 23.83 kB / 0.768 GB, free: 14.33 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.118e-05/0.01041, allocations: 11.94 kB / 0.768 GB, free: 14.32 MB / 0.7292 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 0.0001044/0.01052, allocations: 134.9 kB / 0.7682 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.469e-05/0.01054, allocations: 19.98 kB / 0.7682 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001679/0.01071, allocations: 117.7 kB / 0.7683 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.01071, allocations: 0 / 0.7683 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.01072, allocations: 0 / 0.7683 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.01072, allocations: 3.984 kB / 0.7683 GB, free: 14.03 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001334/0.01085, allocations: 153.6 kB / 0.7684 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.01085, allocations: 0 / 0.7684 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.187e-05/0.0109, allocations: 23.92 kB / 0.7685 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.0109, allocations: 2.094 kB / 0.7685 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.156e-06/0.01091, allocations: 4 kB / 0.7685 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.91e-07/0.01091, allocations: 4 kB / 0.7685 GB, free: 13.83 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.01091, allocations: 0 / 0.7685 GB, free: 13.83 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001223/0.01103, allocations: 130.7 kB / 0.7686 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.506e-05/0.01107, allocations: 38.11 kB / 0.7686 GB, free: 13.65 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.711e-05/0.01109, allocations: 8 kB / 0.7687 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.092e-05/0.01113, allocations: 7.984 kB / 0.7687 GB, free: 13.63 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.7e-05/0.01118, allocations: 19.97 kB / 0.7687 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.024e-05/0.01119, allocations: 4 kB / 0.7687 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001037/0.01129, allocations: 140.7 kB / 0.7688 GB, free: 13.47 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.01129, allocations: 0.875 kB / 0.7688 GB, free: 13.47 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001555/0.01145, allocations: 55.94 kB / 0.7689 GB, free: 13.42 MB / 0.7292 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.00116/0.01261, allocations: 0.5226 MB / 0.7694 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001624/0.01277, allocations: 113.5 kB / 0.7695 GB, free: 13.03 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/0.01278, allocations: 4 kB / 0.7695 GB, free: 13.03 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 5.684e-05/0.01284, allocations: 40.78 kB / 0.7695 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002441/0.01308, allocations: 93.83 kB / 0.7696 GB, free: 12.9 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000791/0.01387, allocations: 480.9 kB / 0.7701 GB, free: 12.4 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.298e-05/0.01393, allocations: 104.6 kB / 0.7702 GB, free: 12.28 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 8.541e-05/0.01402, allocations: 54.64 kB / 0.7702 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001298/0.01415, allocations: 107.3 kB / 0.7703 GB, free: 12.12 MB / 0.7292 GB Notification: Performance of SimCode: time 4.71e-07/0.01415, allocations: 4 kB / 0.7703 GB, free: 12.12 MB / 0.7292 GB Notification: Performance of Templates: time 0.00643/0.02058, allocations: 4.863 MB / 0.7751 GB, free: 7.473 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Less.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Less.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Less -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Less_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.177449413109571]