Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Continuous.Validation.MovingMean,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001664/0.001665, allocations: 106.6 kB / 16.29 MB, free: 6.43 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.001668/0.001668, allocations: 184 kB / 17.22 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.74/1.74, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 2.003/2.003, allocations: 292.3 MB / 0.5495 GB, free: 17.52 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001466, allocations: 75.84 kB / 0.6722 GB, free: 6.516 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2525/0.254, allocations: 114.6 MB / 0.7841 GB, free: 3.844 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean): time 0.003823/0.2579, allocations: 1.952 MB / 0.786 GB, free: 1.867 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001253/0.2592, allocations: 0.6943 MB / 0.7867 GB, free: 1.164 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.353e-05/0.2593, allocations: 0 / 0.7867 GB, free: 1.164 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 7.192e-05/0.2594, allocations: 23.73 kB / 0.7867 GB, free: 1.141 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001285/0.2595, allocations: 43.52 kB / 0.7868 GB, free: 1.098 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.000471/0.26, allocations: 147.8 kB / 0.7869 GB, free: 0.9531 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003402/0.2603, allocations: 323.1 kB / 0.7872 GB, free: 0.6367 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001572/0.2605, allocations: 44.39 kB / 0.7872 GB, free: 0.5938 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001782/0.2607, allocations: 131.6 kB / 0.7874 GB, free: 476 kB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000204/0.2609, allocations: 151.3 kB / 0.7875 GB, free: 324 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.817e-05/0.261, allocations: 28 kB / 0.7875 GB, free: 296 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 4.527e-05/0.261, allocations: 32 kB / 0.7876 GB, free: 264 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 8.537e-05/0.2611, allocations: 79.78 kB / 0.7876 GB, free: 184 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001182/0.2612, allocations: 135.3 kB / 0.7878 GB, free: 48 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.5033/0.7645, allocations: 304 kB / 0.7881 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.7646, allocations: 0 / 0.7881 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.004e-06/0.7646, allocations: 2.812 kB / 0.7881 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.474e-06/0.7646, allocations: 0.6562 kB / 0.7881 GB, free: 46.48 MB / 0.6544 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.001149/0.7658, allocations: 0.6243 MB / 0.7887 GB, free: 46.07 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.7658, allocations: 8 kB / 0.7887 GB, free: 46.07 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.953e-05/0.7659, allocations: 35.12 kB / 0.7887 GB, free: 46.06 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001148/0.766, allocations: 197.6 kB / 0.7889 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001724/0.7662, allocations: 265.5 kB / 0.7892 GB, free: 45.56 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.888e-05/0.7663, allocations: 30.88 kB / 0.7892 GB, free: 45.56 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004691/0.7668, allocations: 262.4 kB / 0.7894 GB, free: 45.5 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.723e-05/0.7668, allocations: 9.078 kB / 0.7894 GB, free: 45.5 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.953e-05/0.7668, allocations: 12.81 kB / 0.7895 GB, free: 45.5 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.102e-05/0.7669, allocations: 6.516 kB / 0.7895 GB, free: 45.5 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003683/0.7672, allocations: 173.5 kB / 0.7896 GB, free: 45.5 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009541/0.7682, allocations: 0.778 MB / 0.7904 GB, free: 45.05 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004394/0.7686, allocations: 206.2 kB / 0.7906 GB, free: 44.98 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002333/0.7689, allocations: 129.9 kB / 0.7907 GB, free: 44.96 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 4.745e-05/0.7689, allocations: 15.75 kB / 0.7907 GB, free: 44.96 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005116/0.7695, allocations: 311.8 kB / 0.791 GB, free: 44.87 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=48): time 2.675e-06/0.7695, allocations: 0 / 0.791 GB, free: 44.87 MB / 0.6544 GB Notification: Performance of matching and sorting (n=48): time 0.0008772/0.7704, allocations: 485 kB / 0.7915 GB, free: 44.82 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.63e-05/0.7704, allocations: 114.9 kB / 0.7916 GB, free: 44.7 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001277/0.7706, allocations: 176 kB / 0.7918 GB, free: 44.6 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.691e-05/0.7706, allocations: 44.2 kB / 0.7918 GB, free: 44.57 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 6.215e-05/0.7707, allocations: 120.8 kB / 0.7919 GB, free: 44.48 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 9.288e-05/0.7708, allocations: 152 kB / 0.7921 GB, free: 44.39 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001341/0.7709, allocations: 105.3 kB / 0.7922 GB, free: 44.38 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.351e-05/0.771, allocations: 339.8 kB / 0.7925 GB, free: 44.06 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002606/0.7712, allocations: 147 kB / 0.7926 GB, free: 44.06 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003129/0.7716, allocations: 261 kB / 0.7929 GB, free: 43.96 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005295/0.7721, allocations: 396.5 kB / 0.7933 GB, free: 43.87 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.7721, allocations: 0.5 kB / 0.7933 GB, free: 43.87 MB / 0.6544 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0007261/0.7728, allocations: 491.8 kB / 0.7937 GB, free: 43.82 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.7729, allocations: 10.78 kB / 0.7937 GB, free: 43.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/0.7729, allocations: 4.062 kB / 0.7937 GB, free: 43.82 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.36e-05/0.7729, allocations: 9.844 kB / 0.7938 GB, free: 43.82 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003522/0.7733, allocations: 90.41 kB / 0.7938 GB, free: 43.82 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.177e-05/0.7733, allocations: 10.09 kB / 0.7938 GB, free: 43.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002451/0.7735, allocations: 56.88 kB / 0.7939 GB, free: 43.8 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.356e-05/0.7736, allocations: 23.34 kB / 0.7939 GB, free: 43.8 MB / 0.6544 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 (movingMean_1.mode,$PRE.movingMean_1.mode,$whenCondition5,movingMean_2.mode,$PRE.movingMean_2.mode,$whenCondition6,movingMean_3.mode,$PRE.movingMean_3.mode,$whenCondition7,movingMean_4.mode,$PRE.movingMean_4.mode,$whenCondition8,movingMean_5.mode,$PRE.movingMean_5.mode,$whenCondition9,movingMean_6.mode,$PRE.movingMean_6.mode,$whenCondition3,movingMean_7.mode,$PRE.movingMean_7.mode,$whenCondition4,movingMean_8.mode,$PRE.movingMean_8.mode,$whenCondition1,movingMean_9.mode,$PRE.movingMean_9.mode,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001382/0.7737, allocations: 162.9 kB / 0.7941 GB, free: 43.69 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.314e-05/0.7738, allocations: 26 kB / 0.7941 GB, free: 43.68 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.272e-05/0.7739, allocations: 36.61 kB / 0.7941 GB, free: 43.68 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.7739, allocations: 3.406 kB / 0.7941 GB, free: 43.68 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.239e-05/0.7739, allocations: 0 / 0.7941 GB, free: 43.68 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.694e-06/0.7739, allocations: 3.719 kB / 0.7941 GB, free: 43.68 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003306/0.7742, allocations: 361.1 kB / 0.7945 GB, free: 43.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.7743, allocations: 0 / 0.7945 GB, free: 43.48 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003706/0.7746, allocations: 78.56 kB / 0.7946 GB, free: 43.48 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.664e-06/0.7746, allocations: 9.344 kB / 0.7946 GB, free: 43.47 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.63e-05/0.7747, allocations: 14.08 kB / 0.7946 GB, free: 43.47 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.7747, allocations: 0 / 0.7946 GB, free: 43.47 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.7747, allocations: 3.5 kB / 0.7946 GB, free: 43.47 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009689/0.7757, allocations: 0.5791 MB / 0.7952 GB, free: 43.37 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.433e-05/0.7757, allocations: 114.6 kB / 0.7953 GB, free: 43.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.479e-05/0.7758, allocations: 10.16 kB / 0.7953 GB, free: 43.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000206/0.776, allocations: 30 kB / 0.7953 GB, free: 43.25 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001512/0.7762, allocations: 59.16 kB / 0.7954 GB, free: 43.25 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.072e-05/0.7762, allocations: 16.83 kB / 0.7954 GB, free: 43.25 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 7.915e-05/0.7763, allocations: 132.2 kB / 0.7955 GB, free: 43.17 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7763, allocations: 0 / 0.7955 GB, free: 43.17 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003186/0.7766, allocations: 82.75 kB / 0.7956 GB, free: 43.16 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 9 (movingMean_1.mu,movingMean_2.mu,movingMean_3.mu,movingMean_4.mu,movingMean_5.mu,movingMean_6.mu,movingMean_7.mu,movingMean_8.mu,movingMean_9.mu) * Number of discrete variables: 18 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,movingMean_1.mode,movingMean_2.mode,movingMean_3.mode,movingMean_4.mode,movingMean_5.mode,$whenCondition4,$whenCondition3,movingMean_6.mode,movingMean_7.mode,$whenCondition2,$whenCondition1,movingMean_8.mode,movingMean_9.mode) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.0001713/0.7768, allocations: 120.5 kB / 0.7957 GB, free: 43.08 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0006785/0.7775, allocations: 380.9 kB / 0.7961 GB, free: 43.07 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.7775, allocations: 0 / 0.7961 GB, free: 43.07 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000376/0.7779, allocations: 209.3 kB / 0.7963 GB, free: 43.07 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003327/0.7782, allocations: 49.44 kB / 0.7963 GB, free: 43.06 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001032/0.7793, allocations: 0.5984 MB / 0.7969 GB, free: 42.75 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002264/0.7795, allocations: 0.7669 MB / 0.7976 GB, free: 42.05 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001327/0.7796, allocations: 37.64 kB / 0.7977 GB, free: 42.05 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001099/0.7798, allocations: 37.72 kB / 0.7977 GB, free: 42.04 MB / 0.6544 GB Notification: Performance of SimCode: time 2.9e-07/0.7798, allocations: 0 / 0.7977 GB, free: 42.04 MB / 0.6544 GB Notification: Performance of Templates: time 0.009248/0.789, allocations: 4.006 MB / 0.8016 GB, free: 41.91 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe 2>&1)