Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Equal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Integers.Validation.Equal") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.901/4.901, allocations: 0.5623 GB / 0.5769 GB, free: 3.32 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002402/0.002401, allocations: 362.7 kB / 0.644 GB, free: 185.7 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.226/4.226, allocations: 410.7 MB / 1.112 GB, free: 6.039 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00177/0.00177, allocations: 195.2 kB / 1.225 GB, free: 6.168 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0008155/0.000816, allocations: 12 kB / 1.348 GB, free: 8.293 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6417/0.6426, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.001969/0.6446, allocations: 1.646 MB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001635/0.6463, allocations: 1.014 MB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001104/0.6464, allocations: 7.938 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.000359/0.6468, allocations: 141.5 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0002804/0.6471, allocations: 128.5 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004795/0.6476, allocations: 155.9 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0002766/0.6479, allocations: 265.8 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001319/0.648, allocations: 34.78 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001514/0.6482, allocations: 116.2 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001626/0.6484, allocations: 132.2 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 3.092e-05/0.6484, allocations: 4 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001321/0.6486, allocations: 50.64 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 8.178e-05/0.6487, allocations: 71.75 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 5.916e-05/0.6487, allocations: 73.5 kB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.000287/0.649, allocations: 281.4 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.672e-06/0.649, allocations: 4 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.079e-06/0.6491, allocations: 0 / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.15e-05/0.6491, allocations: 0 / 1.465 GB, free: 280.3 MB / 0.8542 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.0008218/0.6499, allocations: 0.5824 MB / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.65, allocations: 15.62 kB / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.433e-05/0.65, allocations: 35.53 kB / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004825/0.6505, allocations: 351 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.364e-05/0.6506, allocations: 8 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.816e-05/0.6506, allocations: 9.156 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002625/0.6509, allocations: 113.2 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.6509, allocations: 1.031 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.879e-05/0.6509, allocations: 3.953 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.067e-06/0.651, allocations: 0 / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002029/0.6512, allocations: 61.09 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008156/0.652, allocations: 0.4905 MB / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003876/0.6524, allocations: 128.6 kB / 1.466 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001411/0.6526, allocations: 56.61 kB / 1.467 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.923e-05/0.6526, allocations: 4 kB / 1.467 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002491/0.6529, allocations: 112.3 kB / 1.467 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=13): time 4.353e-06/0.6529, allocations: 2.375 kB / 1.467 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13): time 0.0006024/0.6535, allocations: 213.1 kB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.123e-05/0.6536, allocations: 59.92 kB / 1.467 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005971/0.6542, allocations: 0.51 MB / 1.467 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.08e-05/0.6542, allocations: 33.7 kB / 1.467 GB, free: 277.3 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001101/0.6543, allocations: 165.5 kB / 1.468 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.078e-05/0.6544, allocations: 39.53 kB / 1.468 GB, free: 277.1 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.783e-05/0.6544, allocations: 5.156 kB / 1.468 GB, free: 277.1 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.028e-05/0.6545, allocations: 350.8 kB / 1.468 GB, free: 276.8 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002327/0.6547, allocations: 97.11 kB / 1.468 GB, free: 276.7 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002452/0.655, allocations: 129.8 kB / 1.468 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002437/0.6553, allocations: 108 kB / 1.468 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.376e-06/0.6553, allocations: 4.516 kB / 1.468 GB, free: 276.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006389/0.6559, allocations: 318 kB / 1.469 GB, free: 276.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.656, allocations: 11.92 kB / 1.469 GB, free: 276.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.242e-06/0.656, allocations: 4.625 kB / 1.469 GB, free: 276.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.656, allocations: 1.125 kB / 1.469 GB, free: 276.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002855/0.6563, allocations: 55.91 kB / 1.469 GB, free: 276.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.893e-06/0.6563, allocations: 0 / 1.469 GB, free: 276.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001899/0.6565, allocations: 16.78 kB / 1.469 GB, free: 276 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.645e-05/0.6566, allocations: 13.61 kB / 1.469 GB, free: 276 MB / 0.8542 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 ($whenCondition2,$PRE.timTabLin1.tab.nextTimeEvent,$whenCondition1,$PRE.timTabLin.tab.nextTimeEvent,intEqu.y,reaToInt.y,reaToInt1.y,timTabLin.tab.nextTimeEvent,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000183/0.6568, allocations: 181.2 kB / 1.469 GB, free: 275.9 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.415e-05/0.6568, allocations: 43.48 kB / 1.469 GB, free: 275.8 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.469e-05/0.6569, allocations: 36.98 kB / 1.469 GB, free: 275.8 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.685e-06/0.6569, allocations: 4 kB / 1.469 GB, free: 275.8 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.755e-06/0.657, allocations: 2.219 kB / 1.469 GB, free: 275.8 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.396e-06/0.657, allocations: 0 / 1.469 GB, free: 275.8 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002637/0.6572, allocations: 297.5 kB / 1.469 GB, free: 275.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.799e-06/0.6573, allocations: 0 / 1.469 GB, free: 275.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.352e-05/0.6574, allocations: 15.94 kB / 1.469 GB, free: 275.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.409e-06/0.6574, allocations: 0 / 1.469 GB, free: 275.4 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.752e-05/0.6574, allocations: 4.719 kB / 1.469 GB, free: 275.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.06e-06/0.6574, allocations: 0 / 1.469 GB, free: 275.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.468e-06/0.6574, allocations: 5.594 kB / 1.469 GB, free: 275.4 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004223/0.6579, allocations: 205.6 kB / 1.469 GB, free: 275.2 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 9.504e-05/0.658, allocations: 120.7 kB / 1.47 GB, free: 275 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.237e-05/0.658, allocations: 7.953 kB / 1.47 GB, free: 275 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001376/0.6582, allocations: 9.859 kB / 1.47 GB, free: 275 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.369e-05/0.6583, allocations: 17.81 kB / 1.47 GB, free: 275 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.129e-05/0.6583, allocations: 11.98 kB / 1.47 GB, free: 275 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0003655/0.6587, allocations: 315.8 kB / 1.47 GB, free: 274.7 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.33e-07/0.6587, allocations: 0 / 1.47 GB, free: 274.7 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003887/0.6591, allocations: 56.78 kB / 1.47 GB, free: 274.6 MB / 0.8542 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001409/0.6605, allocations: 420.3 kB / 1.47 GB, free: 274.4 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.000504/0.661, allocations: 191.7 kB / 1.471 GB, free: 274.3 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.034e-06/0.6611, allocations: 0 / 1.471 GB, free: 274.3 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001751/0.6613, allocations: 64.41 kB / 1.471 GB, free: 274.2 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005259/0.6618, allocations: 79.61 kB / 1.471 GB, free: 274.1 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009212/0.6627, allocations: 0.5778 MB / 1.471 GB, free: 273.5 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000249/0.663, allocations: 0.7976 MB / 1.472 GB, free: 272.7 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001876/0.6632, allocations: 51.08 kB / 1.472 GB, free: 272.7 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.761e-05/0.6633, allocations: 35.42 kB / 1.472 GB, free: 272.6 MB / 0.8542 GB Notification: Performance of SimCode: time 1.579e-06/0.6633, allocations: 0 / 1.472 GB, free: 272.6 MB / 0.8542 GB Notification: Performance of Templates: time 0.009805/0.6731, allocations: 3.738 MB / 1.476 GB, free: 269.1 MB / 0.8542 GB