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.00104/0.00104, allocations: 80.3 kB / 21.47 MB, free: 3.027 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.001108/0.001108, allocations: 167.4 kB / 24.86 MB, free: 9.285 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.9913/0.9913, allocations: 177.1 MB / 205.3 MB, free: 5.504 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.894/1.894, allocations: 377.9 MB / 0.6247 GB, free: 8.406 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 3.196e-06/3.196e-06, allocations: 3.984 kB / 0.8128 GB, free: 1.438 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.625e-05/2.945e-05, allocations: 2.312 kB / 0.8128 GB, free: 1.434 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.002806/0.002835, allocations: 2.031 MB / 0.8148 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001659/0.004495, allocations: 1.302 MB / 0.816 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.789e-05/0.004593, allocations: 4 kB / 0.816 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0003539/0.004947, allocations: 167.3 kB / 0.8162 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0003426/0.005289, allocations: 220.2 kB / 0.8164 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002157/0.005505, allocations: 160.7 kB / 0.8166 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002902/0.005795, allocations: 343 kB / 0.8169 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001193/0.005914, allocations: 32.91 kB / 0.8169 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006065/0.006521, allocations: 270.1 kB / 0.8172 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001672/0.006688, allocations: 145 kB / 0.8173 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.65e-05/0.006715, allocations: 12 kB / 0.8173 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 9.28e-05/0.006807, allocations: 55.92 kB / 0.8174 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 7.953e-05/0.006887, allocations: 92.2 kB / 0.8175 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 6.233e-05/0.006949, allocations: 71.7 kB / 0.8175 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.000298/0.007247, allocations: 252.9 kB / 0.8178 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.007251, allocations: 7.938 kB / 0.8178 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.72e-07/0.007251, allocations: 0 / 0.8178 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.007256, allocations: 0 / 0.8178 GB, free: 12.35 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0006009/0.007857, allocations: 0.6661 MB / 0.8184 GB, free: 11.65 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.168e-05/0.007889, allocations: 9.875 kB / 0.8185 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.201e-05/0.007951, allocations: 44.69 kB / 0.8185 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002753/0.008226, allocations: 309.4 kB / 0.8188 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.023e-05/0.008246, allocations: 8.375 kB / 0.8188 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.555e-05/0.008262, allocations: 12.67 kB / 0.8188 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001412/0.008403, allocations: 94.77 kB / 0.8189 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.008411, allocations: 3.938 kB / 0.8189 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.008421, allocations: 4.719 kB / 0.8189 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.008426, allocations: 0.5312 kB / 0.8189 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.887e-05/0.008475, allocations: 27 kB / 0.8189 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004142/0.008889, allocations: 396 kB / 0.8193 GB, free: 10.7 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001336/0.009023, allocations: 89.09 kB / 0.8194 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.641e-05/0.009059, allocations: 35.67 kB / 0.8194 GB, free: 10.57 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.07e-05/0.00907, allocations: 0 / 0.8194 GB, free: 10.57 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001101/0.00918, allocations: 102.1 kB / 0.8195 GB, free: 10.45 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=13): time 1.032e-06/0.009181, allocations: 4 kB / 0.8195 GB, free: 10.45 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13): time 0.0002277/0.009408, allocations: 150.3 kB / 0.8197 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.996e-05/0.009438, allocations: 60.19 kB / 0.8197 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002688/0.009707, allocations: 442.4 kB / 0.8202 GB, free: 9.773 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.814e-05/0.009725, allocations: 34.98 kB / 0.8202 GB, free: 9.734 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001098/0.009835, allocations: 235.1 kB / 0.8204 GB, free: 9.5 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.078e-05/0.009866, allocations: 35.72 kB / 0.8204 GB, free: 9.465 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.926e-05/0.009945, allocations: 79.58 kB / 0.8205 GB, free: 9.375 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001473/0.01009, allocations: 0.5398 MB / 0.8211 GB, free: 8.824 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.6e-05/0.01014, allocations: 28.53 kB / 0.8211 GB, free: 8.797 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.293e-05/0.0102, allocations: 73.3 kB / 0.8211 GB, free: 8.715 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001023/0.0103, allocations: 96.83 kB / 0.8212 GB, free: 8.609 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.01031, allocations: 0 / 0.8212 GB, free: 8.609 MB / 0.7761 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000208/0.01051, allocations: 207.5 kB / 0.8214 GB, free: 8.402 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.01053, allocations: 11.98 kB / 0.8215 GB, free: 8.391 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.01053, allocations: 0 / 0.8215 GB, free: 8.391 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.486e-06/0.01054, allocations: 0 / 0.8215 GB, free: 8.391 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001195/0.01066, allocations: 54.52 kB / 0.8215 GB, free: 8.34 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.536e-06/0.01066, allocations: 3.984 kB / 0.8215 GB, free: 8.336 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.319e-05/0.01073, allocations: 23.83 kB / 0.8215 GB, free: 8.312 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.945e-05/0.01075, allocations: 7.984 kB / 0.8215 GB, free: 8.305 MB / 0.7761 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.0001083/0.01086, allocations: 181.2 kB / 0.8217 GB, free: 8.117 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.006e-05/0.0109, allocations: 39.77 kB / 0.8217 GB, free: 8.078 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001918/0.01109, allocations: 152.9 kB / 0.8219 GB, free: 7.93 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.145e-06/0.01109, allocations: 3.984 kB / 0.8219 GB, free: 7.926 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.963e-06/0.01109, allocations: 0 / 0.8219 GB, free: 7.926 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.0111, allocations: 0.7812 kB / 0.8219 GB, free: 7.926 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001505/0.01125, allocations: 197 kB / 0.8221 GB, free: 7.707 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.01125, allocations: 1.344 kB / 0.8221 GB, free: 7.707 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.126e-05/0.01129, allocations: 15.98 kB / 0.8221 GB, free: 7.691 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.01129, allocations: 0 / 0.8221 GB, free: 7.691 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.0113, allocations: 4 kB / 0.8221 GB, free: 7.688 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.0113, allocations: 8.891 kB / 0.8221 GB, free: 7.68 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.0113, allocations: 0 / 0.8221 GB, free: 7.68 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001761/0.01148, allocations: 192.6 kB / 0.8223 GB, free: 7.469 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.734e-05/0.01152, allocations: 39.75 kB / 0.8223 GB, free: 7.43 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.816e-05/0.01155, allocations: 8.656 kB / 0.8223 GB, free: 7.422 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.039e-05/0.01159, allocations: 11.02 kB / 0.8224 GB, free: 7.414 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.231e-05/0.01164, allocations: 23.97 kB / 0.8224 GB, free: 7.391 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.103e-05/0.01165, allocations: 7.984 kB / 0.8224 GB, free: 7.383 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.000148/0.0118, allocations: 267 kB / 0.8226 GB, free: 7.129 MB / 0.7761 GB Notification: Performance of sort global known variables: time 2e-07/0.0118, allocations: 0 / 0.8226 GB, free: 7.129 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001914/0.01199, allocations: 55.94 kB / 0.8227 GB, free: 7.074 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: 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.0008653/0.01285, allocations: 399.3 kB / 0.8231 GB, free: 6.836 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001648/0.01302, allocations: 112 kB / 0.8232 GB, free: 6.723 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.01302, allocations: 0 / 0.8232 GB, free: 6.723 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 5.873e-05/0.01308, allocations: 56.22 kB / 0.8232 GB, free: 6.664 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002752/0.01335, allocations: 101 kB / 0.8233 GB, free: 6.574 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004829/0.01384, allocations: 477 kB / 0.8238 GB, free: 6.074 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.558e-05/0.01389, allocations: 105 kB / 0.8239 GB, free: 5.953 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 8.018e-05/0.01397, allocations: 55.11 kB / 0.8239 GB, free: 5.902 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001355/0.01411, allocations: 138.2 kB / 0.8241 GB, free: 5.766 MB / 0.7761 GB Notification: Performance of SimCode: time 6.62e-07/0.01411, allocations: 0 / 0.8241 GB, free: 5.766 MB / 0.7761 GB Notification: Performance of Templates: time 0.007145/0.02125, allocations: 4.954 MB / 0.8289 GB, free: 0.9023 MB / 0.7761 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.406010519713163]