Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.38/1.38, allocations: 252 MB / 267.6 MB, free: 10.92 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000927/0.0009269, allocations: 171.5 kB / 327.3 MB, free: 2.246 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.698/1.698, allocations: 205.4 MB / 0.5783 GB, free: 20.61 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007763/0.0007762, allocations: 87.97 kB / 0.6829 GB, free: 13.37 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005162/0.0005165, allocations: 15.66 kB / 0.797 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.248/0.2485, allocations: 106.3 MB / 0.9009 GB, free: 64.46 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean): time 0.001807/0.2504, allocations: 1.689 MB / 0.9025 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008337/0.2512, allocations: 0.667 MB / 0.9032 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.294e-05/0.2513, allocations: 0 / 0.9032 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.663e-05/0.2513, allocations: 11.86 kB / 0.9032 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001013/0.2515, allocations: 35.7 kB / 0.9032 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003259/0.2518, allocations: 119.9 kB / 0.9033 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001881/0.252, allocations: 291.1 kB / 0.9036 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00013/0.2521, allocations: 36.39 kB / 0.9036 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001304/0.2523, allocations: 111.7 kB / 0.9037 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001278/0.2524, allocations: 135.5 kB / 0.9039 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.493e-05/0.2524, allocations: 12 kB / 0.9039 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 3.694e-05/0.2525, allocations: 19.94 kB / 0.9039 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.857e-05/0.2525, allocations: 55.81 kB / 0.9039 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.705e-05/0.2526, allocations: 69.56 kB / 0.904 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001456/0.2527, allocations: 203.7 kB / 0.9042 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.2528, allocations: 0 / 0.9042 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.894e-06/0.2528, allocations: 0 / 0.9042 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.2528, allocations: 4 kB / 0.9042 GB, free: 60.99 MB / 0.6042 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.00102/0.2538, allocations: 0.6041 MB / 0.9048 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.2538, allocations: 8.031 kB / 0.9048 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.778e-05/0.2539, allocations: 39.61 kB / 0.9048 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001011/0.254, allocations: 195.5 kB / 0.905 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001417/0.2542, allocations: 271.7 kB / 0.9053 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.559e-05/0.2542, allocations: 27.98 kB / 0.9053 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004086/0.2546, allocations: 265.7 kB / 0.9056 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.848e-05/0.2547, allocations: 7.984 kB / 0.9056 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.602e-05/0.2547, allocations: 7.984 kB / 0.9056 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.2547, allocations: 4 kB / 0.9056 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003714/0.2551, allocations: 195.8 kB / 0.9058 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000827/0.2559, allocations: 0.7699 MB / 0.9065 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000411/0.2564, allocations: 212.3 kB / 0.9067 GB, free: 58.17 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002298/0.2566, allocations: 138.8 kB / 0.9069 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.155e-05/0.2567, allocations: 12.19 kB / 0.9069 GB, free: 58.01 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004616/0.2571, allocations: 315.4 kB / 0.9072 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=48): time 1.863e-06/0.2571, allocations: 8 kB / 0.9072 GB, free: 57.67 MB / 0.6042 GB Notification: Performance of matching and sorting (n=48): time 0.0008597/0.258, allocations: 496.9 kB / 0.9077 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.198e-05/0.2581, allocations: 126.7 kB / 0.9078 GB, free: 57.04 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001127/0.2582, allocations: 175.4 kB / 0.9079 GB, free: 56.85 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.465e-05/0.2582, allocations: 41.7 kB / 0.908 GB, free: 56.8 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.752e-05/0.2583, allocations: 117.3 kB / 0.9081 GB, free: 56.68 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.683e-05/0.2584, allocations: 145.9 kB / 0.9082 GB, free: 56.54 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.215e-05/0.2584, allocations: 16 kB / 0.9083 GB, free: 56.52 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.343e-05/0.2584, allocations: 338.8 kB / 0.9086 GB, free: 56.18 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002625/0.2587, allocations: 153.2 kB / 0.9087 GB, free: 56.03 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002846/0.259, allocations: 256.8 kB / 0.909 GB, free: 55.75 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002686/0.2593, allocations: 163.9 kB / 0.9091 GB, free: 55.59 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.2593, allocations: 0 / 0.9091 GB, free: 55.59 MB / 0.6042 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0006812/0.26, allocations: 0.493 MB / 0.9096 GB, free: 55.09 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.26, allocations: 8 kB / 0.9096 GB, free: 55.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.26, allocations: 0 / 0.9096 GB, free: 55.08 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.26, allocations: 8 kB / 0.9096 GB, free: 55.07 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003522/0.2604, allocations: 103.9 kB / 0.9097 GB, free: 54.97 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.808e-06/0.2604, allocations: 8 kB / 0.9097 GB, free: 54.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002883/0.2607, allocations: 71.66 kB / 0.9098 GB, free: 54.89 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.911e-05/0.2608, allocations: 20 kB / 0.9098 GB, free: 54.88 MB / 0.6042 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.0001199/0.2609, allocations: 164 kB / 0.91 GB, free: 54.7 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.931e-05/0.2609, allocations: 31.67 kB / 0.91 GB, free: 54.67 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.436e-05/0.261, allocations: 33.86 kB / 0.91 GB, free: 54.64 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.251e-06/0.261, allocations: 4 kB / 0.91 GB, free: 54.63 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.261, allocations: 7.938 kB / 0.91 GB, free: 54.62 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.261, allocations: 7.922 kB / 0.9101 GB, free: 54.62 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002522/0.2613, allocations: 357.2 kB / 0.9104 GB, free: 54.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.2613, allocations: 0 / 0.9104 GB, free: 54.22 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003781/0.2617, allocations: 83.89 kB / 0.9105 GB, free: 54.14 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.2617, allocations: 0 / 0.9105 GB, free: 54.14 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.001e-05/0.2617, allocations: 15.95 kB / 0.9105 GB, free: 54.12 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.2617, allocations: 0 / 0.9105 GB, free: 54.12 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2617, allocations: 0 / 0.9105 GB, free: 54.12 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008522/0.2626, allocations: 0.602 MB / 0.9111 GB, free: 53.5 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.669e-05/0.2626, allocations: 108.7 kB / 0.9112 GB, free: 53.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.28e-05/0.2627, allocations: 16 kB / 0.9112 GB, free: 53.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002348/0.2629, allocations: 39.92 kB / 0.9112 GB, free: 53.32 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.271e-05/0.263, allocations: 43.94 kB / 0.9113 GB, free: 53.27 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.539e-05/0.2631, allocations: 12 kB / 0.9113 GB, free: 53.26 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.05e-05/0.2631, allocations: 128.1 kB / 0.9114 GB, free: 53.14 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2631, allocations: 0 / 0.9114 GB, free: 53.14 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002757/0.2634, allocations: 80 kB / 0.9115 GB, free: 53.06 MB / 0.6042 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 (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.0001396/0.2636, allocations: 112 kB / 0.9116 GB, free: 52.94 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00062/0.2642, allocations: 408.5 kB / 0.912 GB, free: 52.54 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.2642, allocations: 0 / 0.912 GB, free: 52.54 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003161/0.2645, allocations: 183.8 kB / 0.9122 GB, free: 52.36 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003212/0.2648, allocations: 44.16 kB / 0.9122 GB, free: 52.32 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009251/0.2658, allocations: 0.732 MB / 0.9129 GB, free: 51.55 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001526/0.2659, allocations: 0.7686 MB / 0.9137 GB, free: 50.76 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001257/0.2661, allocations: 35.44 kB / 0.9137 GB, free: 50.72 MB / 0.6042 GB Notification: Performance of SimCode: time 3.01e-07/0.2661, allocations: 0 / 0.9137 GB, free: 50.72 MB / 0.6042 GB Notification: Performance of Templates: time 0.004647/0.2707, allocations: 3.939 MB / 0.9175 GB, free: 46.81 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe 2>&1)