Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingAverage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingAverage",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000874/0.0008739, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.006004/0.006004, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.303/1.303, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.241/2.241, allocations: 390.9 MB / 0.6664 GB, free: 2.391 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005727/0.0005727, allocations: 15.98 kB / 0.8161 GB, free: 13.11 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6322/0.6328, allocations: 142.4 MB / 0.9552 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage): time 0.0008667/0.6337, allocations: 0.8025 MB / 0.956 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008995/0.6346, allocations: 1.099 MB / 0.9571 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.261e-05/0.6347, allocations: 2.125 kB / 0.9571 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.332e-05/0.6347, allocations: 15.86 kB / 0.9571 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.033e-05/0.6348, allocations: 32.97 kB / 0.9571 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002892/0.6351, allocations: 130 kB / 0.9572 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002082/0.6353, allocations: 314.1 kB / 0.9575 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.6354, allocations: 43.89 kB / 0.9576 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001226/0.6355, allocations: 109.6 kB / 0.9577 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001216/0.6357, allocations: 137.4 kB / 0.9578 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.119e-05/0.6357, allocations: 14.59 kB / 0.9578 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.96e-05/0.6357, allocations: 20.12 kB / 0.9578 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.769e-05/0.6358, allocations: 58.48 kB / 0.9579 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.486e-05/0.6359, allocations: 150.1 kB / 0.958 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001718/0.6361, allocations: 288.5 kB / 0.9583 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.6361, allocations: 1.375 kB / 0.9583 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.432e-06/0.6361, allocations: 0 / 0.9583 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.6361, allocations: 0 / 0.9583 GB, free: 5.277 MB / 0.7169 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.0008773/0.637, allocations: 0.6066 MB / 0.9589 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.108e-05/0.637, allocations: 13.62 kB / 0.9589 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.64e-05/0.6371, allocations: 61.7 kB / 0.959 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.018e-05/0.6371, allocations: 29.91 kB / 0.959 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.659e-05/0.6372, allocations: 203.7 kB / 0.9592 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001228/0.6373, allocations: 262.2 kB / 0.9595 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.785e-05/0.6374, allocations: 35.84 kB / 0.9595 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003903/0.6378, allocations: 266.8 kB / 0.9597 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.6378, allocations: 3.938 kB / 0.9597 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.359e-05/0.6378, allocations: 14.64 kB / 0.9598 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.6378, allocations: 5.562 kB / 0.9598 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003705/0.6382, allocations: 177.8 kB / 0.9599 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007452/0.639, allocations: 0.7959 MB / 0.9607 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003747/0.6394, allocations: 215.8 kB / 0.9609 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002172/0.6396, allocations: 137.7 kB / 0.9611 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.265e-05/0.6396, allocations: 6.062 kB / 0.9611 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004157/0.64, allocations: 326.9 kB / 0.9614 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=48): time 1.674e-06/0.6401, allocations: 0 / 0.9614 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of matching and sorting (n=48): time 0.0008758/0.6409, allocations: 497.6 kB / 0.9618 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.652e-05/0.641, allocations: 114.2 kB / 0.962 GB, free: 2.375 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/0.6411, allocations: 176.5 kB / 0.9621 GB, free: 2.23 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.324e-05/0.6411, allocations: 41.64 kB / 0.9622 GB, free: 2.188 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.085e-05/0.6412, allocations: 121.2 kB / 0.9623 GB, free: 2.07 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.516e-05/0.6413, allocations: 155.9 kB / 0.9624 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.67e-05/0.6413, allocations: 62.17 kB / 0.9625 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.711e-05/0.6414, allocations: 341.4 kB / 0.9628 GB, free: 1.551 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002662/0.6416, allocations: 150.9 kB / 0.963 GB, free: 1.488 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002978/0.6419, allocations: 264.5 kB / 0.9632 GB, free: 1.293 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005185/0.6425, allocations: 405.3 kB / 0.9636 GB, free: 1.035 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.6425, allocations: 1.219 kB / 0.9636 GB, free: 1.035 MB / 0.7169 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0006976/0.6432, allocations: 0.4944 MB / 0.9641 GB, free: 0.7891 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.6432, allocations: 12.94 kB / 0.9641 GB, free: 0.7812 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.6432, allocations: 3.625 kB / 0.9641 GB, free: 0.7812 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.6432, allocations: 9.312 kB / 0.9641 GB, free: 0.7773 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003175/0.6436, allocations: 97.08 kB / 0.9642 GB, free: 0.7539 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.836e-06/0.6436, allocations: 6.156 kB / 0.9642 GB, free: 0.7539 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002386/0.6438, allocations: 71.52 kB / 0.9643 GB, free: 0.7148 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.489e-05/0.6439, allocations: 24.06 kB / 0.9643 GB, free: 0.707 MB / 0.7169 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 (movAve1.mode,$PRE.movAve1.mode,$whenCondition5,movAve2.mode,$PRE.movAve2.mode,$whenCondition6,movAve3.mode,$PRE.movAve3.mode,$whenCondition7,movAve4.mode,$PRE.movAve4.mode,$whenCondition8,movAve5.mode,$PRE.movAve5.mode,$whenCondition9,movAve6.mode,$PRE.movAve6.mode,$whenCondition3,movAve7.mode,$PRE.movAve7.mode,$whenCondition4,movAve8.mode,$PRE.movAve8.mode,$whenCondition1,movAve9.mode,$PRE.movAve9.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.0001041/0.644, allocations: 154.8 kB / 0.9644 GB, free: 0.5664 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.617e-05/0.644, allocations: 26.38 kB / 0.9645 GB, free: 0.5508 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.455e-05/0.6441, allocations: 34.27 kB / 0.9645 GB, free: 0.5234 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.189e-06/0.6441, allocations: 5.844 kB / 0.9645 GB, free: 0.5234 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.6441, allocations: 0 / 0.9645 GB, free: 0.5234 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.6441, allocations: 5.688 kB / 0.9645 GB, free: 0.5195 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002357/0.6443, allocations: 351.9 kB / 0.9648 GB, free: 196 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.6443, allocations: 5.156 kB / 0.9648 GB, free: 192 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003551/0.6447, allocations: 78.27 kB / 0.9649 GB, free: 172 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.489e-06/0.6447, allocations: 6.344 kB / 0.9649 GB, free: 168 kB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.665e-05/0.6447, allocations: 13.42 kB / 0.9649 GB, free: 160 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.6448, allocations: 2.781 kB / 0.9649 GB, free: 160 kB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.6448, allocations: 4.641 kB / 0.9649 GB, free: 156 kB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009557/0.6457, allocations: 0.6026 MB / 0.9655 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.249e-05/0.6458, allocations: 110 kB / 0.9656 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.21e-05/0.6458, allocations: 11.12 kB / 0.9657 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000232/0.6461, allocations: 46.98 kB / 0.9657 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000109/0.6462, allocations: 55.92 kB / 0.9657 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-05/0.6462, allocations: 14.75 kB / 0.9658 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.441e-05/0.6463, allocations: 128.8 kB / 0.9659 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6463, allocations: 1.031 kB / 0.9659 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000286/0.6466, allocations: 78.12 kB / 0.966 GB, free: 15.52 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 9 (movAve1.mu,movAve2.mu,movAve3.mu,movAve4.mu,movAve5.mu,movAve6.mu,movAve7.mu,movAve8.mu,movAve9.mu) * Number of discrete variables: 18 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,movAve1.mode,movAve2.mode,movAve3.mode,movAve4.mode,movAve5.mode,$whenCondition4,$whenCondition3,movAve6.mode,movAve7.mode,$whenCondition2,$whenCondition1,movAve8.mode,movAve9.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.001237/0.6478, allocations: 1.165 MB / 0.9671 GB, free: 14.65 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0006644/0.6485, allocations: 403.8 kB / 0.9675 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.6485, allocations: 1.094 kB / 0.9675 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003588/0.6489, allocations: 206.6 kB / 0.9677 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00031/0.6492, allocations: 47.22 kB / 0.9677 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003597/0.6528, allocations: 3.309 MB / 0.971 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002645/0.6531, allocations: 0.7613 MB / 0.9717 GB, free: 11.18 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001528/0.6533, allocations: 40.8 kB / 0.9717 GB, free: 11.17 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001442/0.6534, allocations: 85.12 kB / 0.9718 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.6534, allocations: 0 / 0.9718 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5826/1.236, allocations: 5.767 MB / 0.9775 GB, free: 7.945 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002064/1.236, allocations: 212.2 kB / 0.9777 GB, free: 7.695 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.967/3.203, allocations: 0 / 0.9777 GB, free: 7.695 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingAverage_fmu --startTime=0 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingAverage.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage.pipe 2>&1)