Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.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.00101/0.00101, allocations: 80.3 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.00123/0.00123, allocations: 166.5 kB / 24.86 MB, free: 8.883 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.9822/0.9822, allocations: 177.1 MB / 205.3 MB, free: 5.129 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.976/1.976, 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.Integers.Validation.LessEqual,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intLesEqu.u1|intLesEqu.u2|intLesEqu.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intLesEqu.u1|intLesEqu.u2|intLesEqu.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.186e-06/3.186e-06, allocations: 0 / 0.8128 GB, free: 1.441 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.936e-05/4.255e-05, allocations: 7.688 kB / 0.8128 GB, free: 1.434 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual): time 0.00311/0.003153, allocations: 0.7831 MB / 0.8136 GB, free: 0.6758 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001648/0.0048, allocations: 0.8988 MB / 0.8144 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.696e-05/0.004877, allocations: 4 kB / 0.8144 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 4.484e-05/0.004922, allocations: 7.875 kB / 0.8144 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.000132/0.005054, allocations: 13.11 kB / 0.8145 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002006/0.005255, allocations: 39.89 kB / 0.8145 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001385/0.005393, allocations: 87.77 kB / 0.8146 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001352/0.005528, allocations: 17.66 kB / 0.8146 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001325/0.005661, allocations: 55.89 kB / 0.8146 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 8.915e-05/0.00575, allocations: 35.94 kB / 0.8147 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.028e-05/0.00578, allocations: 8 kB / 0.8147 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 1.772e-05/0.005798, allocations: 8.906 kB / 0.8147 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 3.24e-05/0.00583, allocations: 27.84 kB / 0.8147 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.579e-05/0.005866, allocations: 20.61 kB / 0.8147 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001485/0.006015, allocations: 59.8 kB / 0.8148 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.006018, allocations: 0.9062 kB / 0.8148 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.512e-06/0.00602, allocations: 4 kB / 0.8148 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 7.153e-06/0.006027, allocations: 3.984 kB / 0.8148 GB, free: 15.38 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000588/0.006615, allocations: 409 kB / 0.8152 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/0.006661, allocations: 9 kB / 0.8152 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.456e-05/0.006716, allocations: 16.89 kB / 0.8152 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001315/0.006848, allocations: 121.2 kB / 0.8153 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.828e-05/0.006876, allocations: 8.359 kB / 0.8153 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.759e-05/0.006893, allocations: 9.125 kB / 0.8154 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002269/0.00712, allocations: 84.16 kB / 0.8154 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.007131, allocations: 7.875 kB / 0.8154 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.007143, allocations: 0 / 0.8154 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.00715, allocations: 2.062 kB / 0.8154 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.501e-05/0.007235, allocations: 27.97 kB / 0.8155 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005043/0.007739, allocations: 308.1 kB / 0.8158 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003899/0.008129, allocations: 76.05 kB / 0.8158 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.069e-05/0.00818, allocations: 29.19 kB / 0.8159 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.976e-05/0.0082, allocations: 0 / 0.8159 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.287e-05/0.008233, allocations: 37.39 kB / 0.8159 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 1.954e-06/0.008235, allocations: 4 kB / 0.8159 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.0002609/0.008496, allocations: 67.2 kB / 0.816 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.078e-05/0.008536, allocations: 55.41 kB / 0.816 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001122/0.008648, allocations: 181.8 kB / 0.8162 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.536e-05/0.008664, allocations: 27.39 kB / 0.8162 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.746e-05/0.008731, allocations: 134.9 kB / 0.8163 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.357e-05/0.008765, allocations: 31.77 kB / 0.8164 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.348e-05/0.008818, allocations: 27.36 kB / 0.8164 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001574/0.008976, allocations: 0.4884 MB / 0.8169 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.448e-05/0.00901, allocations: 12.92 kB / 0.8169 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.942e-05/0.00904, allocations: 8 kB / 0.8169 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.873e-05/0.009118, allocations: 41.66 kB / 0.8169 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.00912, allocations: 0 / 0.8169 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001411/0.009262, allocations: 69.61 kB / 0.817 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.009278, allocations: 8.531 kB / 0.817 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.009283, allocations: 0.6875 kB / 0.817 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.009294, allocations: 0 / 0.817 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001079/0.009402, allocations: 20.45 kB / 0.817 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.456e-06/0.009406, allocations: 0.7188 kB / 0.817 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.036e-05/0.009466, allocations: 11.92 kB / 0.817 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.022e-05/0.009476, allocations: 4.969 kB / 0.8171 GB, free: 12.9 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 (reaToInt1.y,reaToInt.y,intLesEqu.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001091/0.009585, allocations: 161 kB / 0.8172 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.627e-05/0.009622, allocations: 7.953 kB / 0.8172 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.371e-05/0.009655, allocations: 13.81 kB / 0.8172 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.009658, allocations: 0 / 0.8172 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.009662, allocations: 3.984 kB / 0.8172 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.009666, allocations: 0 / 0.8172 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001744/0.009841, allocations: 114.5 kB / 0.8173 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.009844, allocations: 4 kB / 0.8173 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.858e-05/0.009933, allocations: 23.92 kB / 0.8174 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.009936, allocations: 0.5938 kB / 0.8174 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.009946, allocations: 4.766 kB / 0.8174 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.009948, allocations: 0 / 0.8174 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.009949, allocations: 0.8438 kB / 0.8174 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002243/0.01017, allocations: 223.8 kB / 0.8176 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.11e-05/0.01019, allocations: 20.73 kB / 0.8176 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.668e-05/0.01021, allocations: 4 kB / 0.8176 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.136e-05/0.0103, allocations: 13.33 kB / 0.8176 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.495e-05/0.01038, allocations: 23.97 kB / 0.8176 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.434e-06/0.01039, allocations: 0 / 0.8176 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.131e-05/0.01045, allocations: 135.2 kB / 0.8178 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1e-07/0.01045, allocations: 0.6562 kB / 0.8178 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002637/0.01071, allocations: 16.53 kB / 0.8178 GB, free: 12.09 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: 3 (intLesEqu.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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 0.0001301/0.01084, allocations: 97.16 kB / 0.8179 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001484/0.01099, allocations: 43.59 kB / 0.8179 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.01099, allocations: 0 / 0.8179 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 6.778e-05/0.01106, allocations: 32.55 kB / 0.818 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003066/0.01137, allocations: 27.34 kB / 0.818 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004114/0.01178, allocations: 170.7 kB / 0.8181 GB, free: 11.69 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.78e-05/0.01182, allocations: 61.58 kB / 0.8182 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 6.812e-05/0.01189, allocations: 13.98 kB / 0.8182 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001192/0.01201, allocations: 87.28 kB / 0.8183 GB, free: 11.51 MB / 0.7761 GB Notification: Performance of SimCode: time 9.42e-07/0.01201, allocations: 3.938 kB / 0.8183 GB, free: 11.51 MB / 0.7761 GB Notification: Performance of Templates: time 0.004466/0.01648, allocations: 1.873 MB / 0.8201 GB, free: 9.676 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqual.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.262596513144672]