Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Equal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Equal") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Equal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Equal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001677/0.001677, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002459/0.00246, allocations: 195.8 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.48/1.48, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.997/2.997, allocations: 472.6 MB / 0.7448 GB, free: 4.906 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001566/0.001567, allocations: 61.17 kB / 0.9115 GB, free: 33.51 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4657/0.4673, allocations: 159.9 MB / 1.068 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.003606/0.4709, allocations: 2.055 MB / 1.07 GB, free: 8.727 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001997/0.473, allocations: 1.181 MB / 1.071 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001191/0.4731, allocations: 7.938 kB / 1.071 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0004274/0.4735, allocations: 151.6 kB / 1.071 GB, free: 7.387 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003157/0.4739, allocations: 139.6 kB / 1.071 GB, free: 7.25 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005114/0.4744, allocations: 207.1 kB / 1.071 GB, free: 7.051 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003345/0.4748, allocations: 311.1 kB / 1.072 GB, free: 6.746 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000142/0.4749, allocations: 52.38 kB / 1.072 GB, free: 6.695 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001793/0.4751, allocations: 143.4 kB / 1.072 GB, free: 6.555 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001682/0.4753, allocations: 159.3 kB / 1.072 GB, free: 6.398 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.759e-05/0.4753, allocations: 16 kB / 1.072 GB, free: 6.383 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001262/0.4755, allocations: 51.98 kB / 1.072 GB, free: 6.332 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001063/0.4756, allocations: 95.72 kB / 1.072 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001218/0.4757, allocations: 131.1 kB / 1.072 GB, free: 6.109 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003826/0.4761, allocations: 359 kB / 1.073 GB, free: 5.758 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.4761, allocations: 0 / 1.073 GB, free: 5.758 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.202e-06/0.4761, allocations: 0 / 1.073 GB, free: 5.758 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.644e-06/0.4761, allocations: 0 / 1.073 GB, free: 5.758 MB / 0.8262 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.0009291/0.4771, allocations: 0.6185 MB / 1.073 GB, free: 5.09 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.4771, allocations: 12.03 kB / 1.073 GB, free: 5.078 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.928e-05/0.4772, allocations: 32.56 kB / 1.073 GB, free: 5.047 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004664/0.4776, allocations: 382.1 kB / 1.074 GB, free: 4.637 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.916e-05/0.4777, allocations: 8 kB / 1.074 GB, free: 4.629 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.09e-05/0.4777, allocations: 4 kB / 1.074 GB, free: 4.625 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000234/0.4779, allocations: 105.6 kB / 1.074 GB, free: 4.516 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.273e-06/0.478, allocations: 0 / 1.074 GB, free: 4.516 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.509e-05/0.478, allocations: 3.984 kB / 1.074 GB, free: 4.512 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.478, allocations: 4 kB / 1.074 GB, free: 4.508 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001643/0.4782, allocations: 63.91 kB / 1.074 GB, free: 4.445 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007683/0.4789, allocations: 492.3 kB / 1.074 GB, free: 3.914 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003316/0.4793, allocations: 146.6 kB / 1.074 GB, free: 3.762 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001171/0.4794, allocations: 52.83 kB / 1.074 GB, free: 3.707 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.637e-05/0.4794, allocations: 3.984 kB / 1.074 GB, free: 3.703 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002389/0.4797, allocations: 103.3 kB / 1.075 GB, free: 3.59 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=13): time 1.463e-06/0.4797, allocations: 0 / 1.075 GB, free: 3.59 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13): time 0.0005196/0.4802, allocations: 232.8 kB / 1.075 GB, free: 3.359 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.48e-05/0.4803, allocations: 59.39 kB / 1.075 GB, free: 3.289 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005485/0.4808, allocations: 0.5053 MB / 1.075 GB, free: 2.777 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.712e-05/0.4809, allocations: 33.7 kB / 1.075 GB, free: 2.738 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001242/0.481, allocations: 160.4 kB / 1.076 GB, free: 2.578 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.04e-05/0.481, allocations: 39.55 kB / 1.076 GB, free: 2.539 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001041/0.4812, allocations: 65.88 kB / 1.076 GB, free: 2.465 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001571/0.4813, allocations: 354.8 kB / 1.076 GB, free: 2.109 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001858/0.4815, allocations: 100.5 kB / 1.076 GB, free: 2.012 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002056/0.4817, allocations: 135.6 kB / 1.076 GB, free: 1.871 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003226/0.4821, allocations: 184 kB / 1.076 GB, free: 1.684 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.4821, allocations: 0 / 1.076 GB, free: 1.684 MB / 0.8262 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005215/0.4826, allocations: 329.2 kB / 1.077 GB, free: 1.355 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.4826, allocations: 4 kB / 1.077 GB, free: 1.352 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.4826, allocations: 3.938 kB / 1.077 GB, free: 1.348 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.4827, allocations: 4 kB / 1.077 GB, free: 1.344 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002191/0.4829, allocations: 47.91 kB / 1.077 GB, free: 1.297 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-06/0.4829, allocations: 4 kB / 1.077 GB, free: 1.293 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001294/0.483, allocations: 15.84 kB / 1.077 GB, free: 1.277 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.039e-05/0.4831, allocations: 15.98 kB / 1.077 GB, free: 1.262 MB / 0.8262 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.0001831/0.4833, allocations: 193.8 kB / 1.077 GB, free: 1.062 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.386e-05/0.4833, allocations: 31.53 kB / 1.077 GB, free: 1.031 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.531e-05/0.4834, allocations: 39.06 kB / 1.077 GB, free: 0.9922 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.4834, allocations: 0 / 1.077 GB, free: 0.9922 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.4834, allocations: 0 / 1.077 GB, free: 0.9922 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.4834, allocations: 3.984 kB / 1.077 GB, free: 0.9883 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003515/0.4838, allocations: 301.4 kB / 1.077 GB, free: 0.6445 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.4838, allocations: 0 / 1.077 GB, free: 0.6445 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.144e-05/0.4839, allocations: 15.98 kB / 1.077 GB, free: 0.6289 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.681e-06/0.4839, allocations: 4 kB / 1.077 GB, free: 0.625 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.797e-05/0.4839, allocations: 7.875 kB / 1.077 GB, free: 0.6172 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.947e-06/0.4839, allocations: 7.938 kB / 1.077 GB, free: 0.6094 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.4839, allocations: 0 / 1.077 GB, free: 0.6094 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003817/0.4843, allocations: 200.7 kB / 1.078 GB, free: 404 kB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.663e-05/0.4844, allocations: 120.6 kB / 1.078 GB, free: 264 kB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.454e-05/0.4845, allocations: 7.938 kB / 1.078 GB, free: 256 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.359e-05/0.4846, allocations: 8 kB / 1.078 GB, free: 248 kB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.392e-05/0.4847, allocations: 19.97 kB / 1.078 GB, free: 228 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.783e-05/0.4847, allocations: 8 kB / 1.078 GB, free: 220 kB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003876/0.4851, allocations: 315.1 kB / 1.078 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4851, allocations: 0 / 1.078 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000314/0.4854, allocations: 56 kB / 1.078 GB, free: 15.85 MB / 0.8419 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 (timTabLin1.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * 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.00113/0.4866, allocations: 416.1 kB / 1.078 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004391/0.487, allocations: 195.9 kB / 1.079 GB, free: 15.4 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.487, allocations: 0 / 1.079 GB, free: 15.4 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001499/0.4872, allocations: 67.89 kB / 1.079 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000484/0.4877, allocations: 99.95 kB / 1.079 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008927/0.4886, allocations: 0.598 MB / 1.079 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003752/0.489, allocations: 0.787 MB / 1.08 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001485/0.4891, allocations: 58.94 kB / 1.08 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.598e-05/0.4892, allocations: 35.42 kB / 1.08 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of SimCode: time 5e-07/0.4892, allocations: 0 / 1.08 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of Templates: time 0.008199/0.4974, allocations: 4.013 MB / 1.084 GB, free: 9.738 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Equal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe 2>&1)