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.001001/0.001001, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.0009638/0.0009638, allocations: 161 kB / 23.82 MB, free: 0.7539 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.9559/0.9559, allocations: 177.1 MB / 204.2 MB, free: 5.637 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.843/1.843, allocations: 377.8 MB / 0.6236 GB, free: 8.539 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 2.255e-06/2.255e-06, allocations: 0.6562 kB / 0.8115 GB, free: 1.699 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.455e-05/2.68e-05, allocations: 8.641 kB / 0.8116 GB, free: 1.691 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.007101/0.007128, allocations: 2.051 MB / 0.8136 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.005195/0.01232, allocations: 1.32 MB / 0.8148 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001405/0.01246, allocations: 9.094 kB / 0.8149 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0004105/0.01287, allocations: 156 kB / 0.815 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0004671/0.01334, allocations: 220 kB / 0.8152 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003484/0.01369, allocations: 168.3 kB / 0.8154 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.000374/0.01406, allocations: 347 kB / 0.8157 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001295/0.01419, allocations: 30.17 kB / 0.8157 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007366/0.01493, allocations: 267.5 kB / 0.816 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003224/0.01815, allocations: 141.2 kB / 0.8161 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.24e-05/0.01819, allocations: 12 kB / 0.8161 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001252/0.01831, allocations: 59.91 kB / 0.8162 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 9.78e-05/0.01841, allocations: 95.67 kB / 0.8163 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 8.154e-05/0.01849, allocations: 69.16 kB / 0.8163 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.000373/0.01886, allocations: 254.9 kB / 0.8166 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.564e-06/0.01887, allocations: 0 / 0.8166 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.11e-07/0.01887, allocations: 4 kB / 0.8166 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.06e-06/0.01887, allocations: 0.75 kB / 0.8166 GB, free: 12.57 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.0007861/0.01966, allocations: 0.6747 MB / 0.8173 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.0197, allocations: 8.031 kB / 0.8173 GB, free: 11.85 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.543e-05/0.01978, allocations: 45.98 kB / 0.8173 GB, free: 11.81 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003762/0.02016, allocations: 309.5 kB / 0.8176 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.472e-05/0.02018, allocations: 8.375 kB / 0.8176 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.918e-05/0.0202, allocations: 13.75 kB / 0.8176 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002047/0.02041, allocations: 106.2 kB / 0.8177 GB, free: 11.35 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.02041, allocations: 0 / 0.8177 GB, free: 11.35 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.02043, allocations: 0 / 0.8177 GB, free: 11.35 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.839e-06/0.02044, allocations: 5.469 kB / 0.8177 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.509e-05/0.02052, allocations: 35.97 kB / 0.8178 GB, free: 11.31 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006774/0.0212, allocations: 456 kB / 0.8182 GB, free: 10.83 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002033/0.0214, allocations: 92.67 kB / 0.8183 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.924e-05/0.02146, allocations: 32.2 kB / 0.8183 GB, free: 10.69 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.361e-05/0.02148, allocations: 3.938 kB / 0.8183 GB, free: 10.69 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001596/0.02164, allocations: 105.6 kB / 0.8184 GB, free: 10.57 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=13): time 1.723e-06/0.02164, allocations: 1.969 kB / 0.8184 GB, free: 10.57 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13): time 0.0003547/0.02199, allocations: 175.3 kB / 0.8186 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.721e-05/0.02203, allocations: 59.39 kB / 0.8186 GB, free: 10.32 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004106/0.02244, allocations: 458.5 kB / 0.8191 GB, free: 9.859 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.401e-05/0.02246, allocations: 34.23 kB / 0.8191 GB, free: 9.82 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001433/0.02261, allocations: 235.9 kB / 0.8193 GB, free: 9.586 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.747e-05/0.02265, allocations: 31.73 kB / 0.8194 GB, free: 9.555 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.453e-05/0.02274, allocations: 72.91 kB / 0.8194 GB, free: 9.473 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001645/0.0229, allocations: 0.5313 MB / 0.82 GB, free: 8.93 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.727e-05/0.023, allocations: 40.53 kB / 0.82 GB, free: 8.891 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001153/0.02312, allocations: 81.27 kB / 0.8201 GB, free: 8.801 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001745/0.02329, allocations: 112.1 kB / 0.8202 GB, free: 8.68 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.614e-06/0.02329, allocations: 0.8125 kB / 0.8202 GB, free: 8.68 MB / 0.7761 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000317/0.02361, allocations: 235.2 kB / 0.8204 GB, free: 8.445 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.02363, allocations: 4 kB / 0.8204 GB, free: 8.441 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.02363, allocations: 5.328 kB / 0.8204 GB, free: 8.438 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.02365, allocations: 4 kB / 0.8204 GB, free: 8.434 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001418/0.02379, allocations: 47.91 kB / 0.8205 GB, free: 8.387 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.0238, allocations: 7.938 kB / 0.8205 GB, free: 8.379 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.499e-05/0.02387, allocations: 20.81 kB / 0.8205 GB, free: 8.359 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.415e-05/0.02389, allocations: 12 kB / 0.8205 GB, free: 8.348 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 9.981e-05/0.02399, allocations: 175.5 kB / 0.8207 GB, free: 8.168 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.633e-05/0.02403, allocations: 47.73 kB / 0.8207 GB, free: 8.121 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002131/0.02424, allocations: 155.1 kB / 0.8209 GB, free: 7.969 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.02425, allocations: 0 / 0.8209 GB, free: 7.969 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.02425, allocations: 3.438 kB / 0.8209 GB, free: 7.969 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.02425, allocations: 3.938 kB / 0.8209 GB, free: 7.965 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003586/0.02461, allocations: 248.5 kB / 0.8211 GB, free: 7.688 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.02461, allocations: 3.984 kB / 0.8211 GB, free: 7.684 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.397e-05/0.02466, allocations: 15.94 kB / 0.8211 GB, free: 7.668 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.02466, allocations: 0 / 0.8211 GB, free: 7.668 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.288e-05/0.02467, allocations: 15.92 kB / 0.8211 GB, free: 7.652 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.02468, allocations: 4 kB / 0.8211 GB, free: 7.648 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.02468, allocations: 0 / 0.8211 GB, free: 7.648 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001911/0.02487, allocations: 200.7 kB / 0.8213 GB, free: 7.43 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.825e-05/0.02491, allocations: 40.25 kB / 0.8214 GB, free: 7.391 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.721e-05/0.02493, allocations: 4.562 kB / 0.8214 GB, free: 7.387 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.543e-05/0.02498, allocations: 11.98 kB / 0.8214 GB, free: 7.375 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.365e-05/0.02503, allocations: 16.53 kB / 0.8214 GB, free: 7.359 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.187e-05/0.02504, allocations: 9.406 kB / 0.8214 GB, free: 7.352 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0002158/0.02526, allocations: 283 kB / 0.8217 GB, free: 7.078 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.02526, allocations: 4 kB / 0.8217 GB, free: 7.074 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001997/0.02546, allocations: 55.94 kB / 0.8217 GB, free: 7.02 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.0008934/0.02635, allocations: 403.2 kB / 0.8221 GB, free: 6.777 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002128/0.02657, allocations: 119.6 kB / 0.8222 GB, free: 6.656 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.02657, allocations: 0.9375 kB / 0.8222 GB, free: 6.656 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 7.057e-05/0.02664, allocations: 55.59 kB / 0.8223 GB, free: 6.598 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003/0.02694, allocations: 111.3 kB / 0.8224 GB, free: 6.504 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00062/0.02756, allocations: 481 kB / 0.8229 GB, free: 6 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.219e-05/0.02762, allocations: 116.4 kB / 0.823 GB, free: 5.867 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 8.958e-05/0.02771, allocations: 39.61 kB / 0.823 GB, free: 5.832 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.153e-05/0.02778, allocations: 42.14 kB / 0.8231 GB, free: 5.793 MB / 0.7761 GB Notification: Performance of SimCode: time 6.61e-07/0.02778, allocations: 0 / 0.8231 GB, free: 5.793 MB / 0.7761 GB Notification: Performance of Templates: time 0.007458/0.03524, allocations: 4.799 MB / 0.8277 GB, free: 1.074 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.031224191188812]