Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.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.Continuous.Validation.MovingMean_nonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.428/5.428, allocations: 0.5623 GB / 0.5776 GB, free: 3.332 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.00248/0.00248, allocations: 360.8 kB / 0.6447 GB, free: 185.6 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.644/4.644, allocations: 410.7 MB / 1.113 GB, free: 6.016 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.001884/0.001884, allocations: 190.9 kB / 1.226 GB, free: 6.113 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005396/0.0005399, allocations: 12 kB / 1.349 GB, free: 8.227 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8381/0.8387, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart): time 0.002318/0.8411, allocations: 1.613 MB / 1.463 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001246/0.8423, allocations: 0.6598 MB / 1.464 GB, free: 282 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001004/0.8425, allocations: 0 / 1.464 GB, free: 282 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 3.147e-05/0.8425, allocations: 7.875 kB / 1.464 GB, free: 282 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0001395/0.8427, allocations: 36.62 kB / 1.464 GB, free: 282 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004758/0.8431, allocations: 118.5 kB / 1.464 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0002908/0.8434, allocations: 287.9 kB / 1.464 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001545/0.8436, allocations: 32.44 kB / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001732/0.8438, allocations: 117.1 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000202/0.844, allocations: 131.5 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 5.408e-05/0.8441, allocations: 16 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 5.017e-05/0.8441, allocations: 16.97 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 6.151e-05/0.8442, allocations: 59.75 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 9.223e-05/0.8443, allocations: 65.56 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.000241/0.8446, allocations: 211.5 kB / 1.465 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.8446, allocations: 0 / 1.465 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.713e-06/0.8446, allocations: 0 / 1.465 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.8446, allocations: 0 / 1.465 GB, free: 280.9 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.001602/0.8462, allocations: 0.6054 MB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.972e-05/0.8463, allocations: 19.61 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.763e-05/0.8464, allocations: 27.72 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001299/0.8465, allocations: 200.7 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002081/0.8468, allocations: 259.8 kB / 1.466 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.072e-05/0.8468, allocations: 31.98 kB / 1.466 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007159/0.8476, allocations: 260.2 kB / 1.466 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.556e-05/0.8476, allocations: 12.64 kB / 1.466 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.863e-05/0.8477, allocations: 4 kB / 1.466 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.025e-05/0.8477, allocations: 8.5 kB / 1.466 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007361/0.8484, allocations: 191.5 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001442/0.8499, allocations: 0.7788 MB / 1.467 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006882/0.8506, allocations: 203.3 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004172/0.851, allocations: 145.1 kB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 6.557e-05/0.8511, allocations: 9.094 kB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007831/0.8519, allocations: 318.9 kB / 1.468 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=48): time 4.098e-06/0.8519, allocations: 0 / 1.468 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=48): time 0.001686/0.8536, allocations: 0.4948 MB / 1.468 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.912e-05/0.8537, allocations: 127.4 kB / 1.468 GB, free: 277 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001948/0.8539, allocations: 173.2 kB / 1.468 GB, free: 276.8 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 5.443e-05/0.854, allocations: 41.7 kB / 1.468 GB, free: 276.8 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.241e-05/0.8541, allocations: 117.3 kB / 1.469 GB, free: 276.7 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.000139/0.8542, allocations: 153.9 kB / 1.469 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.726e-05/0.8543, allocations: 9.312 kB / 1.469 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.847e-05/0.8544, allocations: 338.8 kB / 1.469 GB, free: 276.2 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004984/0.8549, allocations: 156.8 kB / 1.469 GB, free: 276 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005482/0.8554, allocations: 250.4 kB / 1.469 GB, free: 275.8 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005256/0.856, allocations: 170.9 kB / 1.47 GB, free: 275.6 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.856, allocations: 0 / 1.47 GB, free: 275.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001366/0.8574, allocations: 0.4896 MB / 1.47 GB, free: 275.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.539e-05/0.8574, allocations: 11.75 kB / 1.47 GB, free: 275.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/0.8575, allocations: 5.281 kB / 1.47 GB, free: 275.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.556e-05/0.8575, allocations: 11.94 kB / 1.47 GB, free: 275.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007114/0.8582, allocations: 105 kB / 1.47 GB, free: 275 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.555e-05/0.8582, allocations: 8 kB / 1.47 GB, free: 275 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005005/0.8587, allocations: 70.28 kB / 1.47 GB, free: 274.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.265e-05/0.8588, allocations: 20 kB / 1.47 GB, free: 274.9 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 27 ($whenCondition5,$PRE.movingMean_1.mode,movingMean_1.mode,$whenCondition6,$PRE.movingMean_2.mode,movingMean_2.mode,$whenCondition7,$PRE.movingMean_3.mode,movingMean_3.mode,$whenCondition8,$PRE.movingMean_4.mode,movingMean_4.mode,$whenCondition9,$PRE.movingMean_5.mode,movingMean_5.mode,$whenCondition3,$PRE.movingMean_6.mode,movingMean_6.mode,$whenCondition4,$PRE.movingMean_7.mode,movingMean_7.mode,$whenCondition1,$PRE.movingMean_8.mode,movingMean_8.mode,$whenCondition2,$PRE.movingMean_9.mode,movingMean_9.mode) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 75 * 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.0002336/0.8591, allocations: 162.3 kB / 1.47 GB, free: 274.7 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.462e-05/0.8591, allocations: 33.05 kB / 1.47 GB, free: 274.7 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.357e-05/0.8593, allocations: 29.88 kB / 1.47 GB, free: 274.7 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.213e-05/0.8593, allocations: 7.984 kB / 1.47 GB, free: 274.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.8593, allocations: 0 / 1.47 GB, free: 274.6 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.193e-05/0.8593, allocations: 102.2 kB / 1.471 GB, free: 274.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.118e-05/0.8594, allocations: 11.98 kB / 1.471 GB, free: 274.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004311/0.8599, allocations: 47.88 kB / 1.471 GB, free: 274.5 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001552/0.86, allocations: 39.89 kB / 1.471 GB, free: 274.4 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001935/0.862, allocations: 0.6901 MB / 1.471 GB, free: 273.8 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001858/0.8639, allocations: 0.8932 MB / 1.472 GB, free: 272.8 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005598/0.8645, allocations: 167.5 kB / 1.472 GB, free: 272.7 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001141/0.8646, allocations: 124.5 kB / 1.472 GB, free: 272.6 MB / 0.8542 GB Notification: Performance of Backend: time 1.112e-06/0.8646, allocations: 1.781 kB / 1.472 GB, free: 272.6 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001476/0.8661, allocations: 367.7 kB / 1.473 GB, free: 272.2 MB / 0.8542 GB Notification: Performance of SimCode: time 0.001282/0.8674, allocations: 1.08 MB / 1.474 GB, free: 271.1 MB / 0.8542 GB Notification: Performance of Templates: time 0.0116/0.8791, allocations: 3.961 MB / 1.478 GB, free: 267.4 MB / 0.8542 GB