Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.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.0009787/0.0009787, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001211/0.001211, allocations: 169 kB / 24.28 MB, free: 276 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 0.999/0.999, allocations: 177.1 MB / 204.6 MB, free: 5.645 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.965/1.965, allocations: 377.8 MB / 0.6239 GB, free: 8.559 MB / 0.5886 GB " [Timeout remaining time 178] 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.Equal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intEqu.u1|intEqu.u2|intEqu.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Equal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intEqu.u1|intEqu.u2|intEqu.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 0.8115 GB, free: 0.9258 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.786e-05/1.952e-05, allocations: 2.312 kB / 0.8115 GB, free: 0.9219 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.002459/0.002478, allocations: 2.057 MB / 0.8135 GB, free: 14.87 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001731/0.004209, allocations: 1.309 MB / 0.8148 GB, free: 13.56 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001155/0.004325, allocations: 7.938 kB / 0.8148 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0004044/0.004729, allocations: 161.5 kB / 0.815 GB, free: 13.4 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0003858/0.005115, allocations: 216.4 kB / 0.8152 GB, free: 13.19 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002593/0.005374, allocations: 167.4 kB / 0.8153 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0003208/0.005695, allocations: 347 kB / 0.8157 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000153/0.005848, allocations: 32.91 kB / 0.8157 GB, free: 12.65 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001986/0.006047, allocations: 189.1 kB / 0.8159 GB, free: 12.47 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001705/0.006217, allocations: 147.6 kB / 0.816 GB, free: 12.32 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.825e-05/0.006245, allocations: 16 kB / 0.816 GB, free: 12.31 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001154/0.006361, allocations: 57.8 kB / 0.8161 GB, free: 12.25 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 9.148e-05/0.006452, allocations: 99.61 kB / 0.8162 GB, free: 12.16 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 8.121e-05/0.006533, allocations: 71.7 kB / 0.8163 GB, free: 12.09 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002979/0.006831, allocations: 262.9 kB / 0.8165 GB, free: 11.83 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.006833, allocations: 0 / 0.8165 GB, free: 11.83 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.152e-06/0.006834, allocations: 0.7188 kB / 0.8165 GB, free: 11.83 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.01e-06/0.006839, allocations: 0 / 0.8165 GB, free: 11.83 MB / 0.7292 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.0007406/0.00758, allocations: 0.6703 MB / 0.8172 GB, free: 11.12 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.00762, allocations: 8.75 kB / 0.8172 GB, free: 11.11 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.61e-05/0.007696, allocations: 44.7 kB / 0.8172 GB, free: 11.07 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003543/0.008051, allocations: 295.5 kB / 0.8175 GB, free: 10.76 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.369e-05/0.008075, allocations: 13.47 kB / 0.8175 GB, free: 10.75 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.843e-05/0.008093, allocations: 15.98 kB / 0.8175 GB, free: 10.73 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001753/0.008268, allocations: 94.33 kB / 0.8176 GB, free: 10.63 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.008276, allocations: 0.5312 kB / 0.8176 GB, free: 10.63 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.008289, allocations: 1.375 kB / 0.8176 GB, free: 10.63 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.011e-05/0.008299, allocations: 4 kB / 0.8176 GB, free: 10.62 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.633e-05/0.008375, allocations: 35.91 kB / 0.8177 GB, free: 10.59 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005696/0.008945, allocations: 452.7 kB / 0.8181 GB, free: 10.11 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001765/0.009121, allocations: 96.52 kB / 0.8182 GB, free: 10.01 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.391e-05/0.009175, allocations: 32.94 kB / 0.8182 GB, free: 9.973 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.567e-05/0.009191, allocations: 8 kB / 0.8182 GB, free: 9.965 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001495/0.00934, allocations: 100.4 kB / 0.8183 GB, free: 9.855 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=13): time 1.844e-06/0.009342, allocations: 0.6562 kB / 0.8183 GB, free: 9.855 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13): time 0.0003256/0.009668, allocations: 182.2 kB / 0.8185 GB, free: 9.672 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.61e-05/0.009704, allocations: 63.34 kB / 0.8186 GB, free: 9.598 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003387/0.01004, allocations: 459.4 kB / 0.819 GB, free: 9.133 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.881e-05/0.01006, allocations: 29.7 kB / 0.819 GB, free: 9.098 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001153/0.01018, allocations: 224.6 kB / 0.8192 GB, free: 8.875 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.49e-05/0.01021, allocations: 43.67 kB / 0.8193 GB, free: 8.832 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.785e-05/0.01029, allocations: 75.62 kB / 0.8193 GB, free: 8.746 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001538/0.01044, allocations: 0.5235 MB / 0.8199 GB, free: 8.211 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.509e-05/0.01052, allocations: 41.38 kB / 0.8199 GB, free: 8.172 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001021/0.01062, allocations: 85.89 kB / 0.82 GB, free: 8.078 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000148/0.01077, allocations: 116.2 kB / 0.8201 GB, free: 7.953 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.01077, allocations: 0 / 0.8201 GB, free: 7.953 MB / 0.7292 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002732/0.01104, allocations: 224.6 kB / 0.8203 GB, free: 7.73 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.01106, allocations: 6.031 kB / 0.8203 GB, free: 7.727 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.994e-06/0.01107, allocations: 4 kB / 0.8203 GB, free: 7.723 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.01108, allocations: 0 / 0.8203 GB, free: 7.723 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001421/0.01122, allocations: 51.91 kB / 0.8204 GB, free: 7.672 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.054e-06/0.01123, allocations: 6.5 kB / 0.8204 GB, free: 7.668 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.102e-05/0.0113, allocations: 23.88 kB / 0.8204 GB, free: 7.645 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.058e-05/0.01132, allocations: 12 kB / 0.8204 GB, free: 7.633 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,intEqu.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.0001186/0.01144, allocations: 177.2 kB / 0.8206 GB, free: 7.449 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.818e-05/0.01148, allocations: 39.77 kB / 0.8206 GB, free: 7.41 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002273/0.01171, allocations: 164.3 kB / 0.8208 GB, free: 7.242 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.01171, allocations: 0 / 0.8208 GB, free: 7.242 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.01171, allocations: 5.875 kB / 0.8208 GB, free: 7.238 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.01172, allocations: 7.984 kB / 0.8208 GB, free: 7.23 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001894/0.01191, allocations: 240.5 kB / 0.821 GB, free: 6.961 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.01191, allocations: 0 / 0.821 GB, free: 6.961 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.232e-05/0.01195, allocations: 15.94 kB / 0.821 GB, free: 6.945 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.636e-06/0.01195, allocations: 4.641 kB / 0.821 GB, free: 6.941 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.01196, allocations: 8 kB / 0.821 GB, free: 6.934 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.01197, allocations: 0.6562 kB / 0.821 GB, free: 6.934 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.01197, allocations: 3.062 kB / 0.821 GB, free: 6.934 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002004/0.01217, allocations: 208 kB / 0.8212 GB, free: 6.707 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.846e-05/0.01221, allocations: 35.77 kB / 0.8213 GB, free: 6.672 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.74e-05/0.01223, allocations: 4 kB / 0.8213 GB, free: 6.668 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.617e-05/0.01228, allocations: 11.98 kB / 0.8213 GB, free: 6.656 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.436e-05/0.01234, allocations: 15.97 kB / 0.8213 GB, free: 6.641 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.381e-05/0.01236, allocations: 15.94 kB / 0.8213 GB, free: 6.625 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001932/0.01255, allocations: 279.1 kB / 0.8216 GB, free: 6.355 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.01255, allocations: 2.469 kB / 0.8216 GB, free: 6.355 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002116/0.01276, allocations: 59.92 kB / 0.8216 GB, free: 6.297 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,intEqu.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.0009199/0.01368, allocations: 393.4 kB / 0.822 GB, free: 6.055 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002168/0.0139, allocations: 131.7 kB / 0.8221 GB, free: 5.922 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.0139, allocations: 0.875 kB / 0.8221 GB, free: 5.922 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 6.972e-05/0.01397, allocations: 51.66 kB / 0.8222 GB, free: 5.867 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003014/0.01427, allocations: 98.17 kB / 0.8223 GB, free: 5.777 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000564/0.01484, allocations: 480.8 kB / 0.8227 GB, free: 5.281 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.643e-05/0.0149, allocations: 115 kB / 0.8229 GB, free: 5.152 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 9.183e-05/0.01499, allocations: 55.55 kB / 0.8229 GB, free: 5.098 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.742e-05/0.01506, allocations: 40.48 kB / 0.8229 GB, free: 5.059 MB / 0.7292 GB Notification: Performance of SimCode: time 7.71e-07/0.01506, allocations: 4.188 kB / 0.823 GB, free: 5.055 MB / 0.7292 GB Notification: Performance of Templates: time 0.006491/0.02155, allocations: 4.517 MB / 0.8274 GB, free: 0.6172 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_Equal.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.296412841882557]