Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008226/0.0008226, allocations: 72.5 kB / 19.92 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001498/0.001498, allocations: 173.9 kB / 23.21 MB, free: 1.348 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9181/0.9181, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5777/0.5777, allocations: 114 MB / 373.9 MB, free: 8.695 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_MovingAverage_nonZeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_MovingAverage_nonZeroStart",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.587e-06/3.587e-06, allocations: 0 / 0.5543 GB, free: 2.691 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.211e-05/3.57e-05, allocations: 4.797 kB / 0.5543 GB, free: 2.688 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.002977/0.003013, allocations: 1.91 MB / 0.5561 GB, free: 0.7695 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001254/0.004267, allocations: 0.705 MB / 0.5568 GB, free: 60 kB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.138e-05/0.004348, allocations: 4 kB / 0.5568 GB, free: 56 kB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 4.244e-05/0.00439, allocations: 19.73 kB / 0.5568 GB, free: 36 kB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0001075/0.004498, allocations: 43.64 kB / 0.5569 GB, free: 15.99 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004194/0.004917, allocations: 182.1 kB / 0.5571 GB, free: 15.81 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0002441/0.005161, allocations: 338.9 kB / 0.5574 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001408/0.005302, allocations: 40.91 kB / 0.5574 GB, free: 15.44 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002509/0.005553, allocations: 199.5 kB / 0.5576 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001515/0.005705, allocations: 115.7 kB / 0.5577 GB, free: 15.13 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 3.849e-05/0.005743, allocations: 32 kB / 0.5577 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 6.513e-05/0.005808, allocations: 35.98 kB / 0.5578 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 4.884e-05/0.005857, allocations: 79.7 kB / 0.5579 GB, free: 14.99 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 6.958e-05/0.005927, allocations: 91.8 kB / 0.5579 GB, free: 14.9 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0002792/0.006206, allocations: 350.9 kB / 0.5583 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.006209, allocations: 0 / 0.5583 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.503e-06/0.006211, allocations: 4 kB / 0.5583 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.006216, allocations: 0 / 0.5583 GB, free: 14.55 MB / 0.5261 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.0008188/0.007034, allocations: 0.556 MB / 0.5588 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/0.007082, allocations: 8.031 kB / 0.5588 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.965e-05/0.007132, allocations: 62.73 kB / 0.5589 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001964/0.007328, allocations: 60.75 kB / 0.5589 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003385/0.007667, allocations: 185.4 kB / 0.5591 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002965/0.007963, allocations: 0.4957 MB / 0.5596 GB, free: 13.01 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.404e-05/0.008017, allocations: 24.38 kB / 0.5596 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004851/0.008503, allocations: 267.1 kB / 0.5599 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.388e-05/0.008526, allocations: 8.141 kB / 0.5599 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.702e-05/0.008553, allocations: 7.938 kB / 0.5599 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/0.008564, allocations: 11.94 kB / 0.5599 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000411/0.008975, allocations: 175.8 kB / 0.5601 GB, free: 12.51 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001097/0.01007, allocations: 0.6949 MB / 0.5608 GB, free: 11.77 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004997/0.01057, allocations: 191.7 kB / 0.5609 GB, free: 11.55 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002325/0.0108, allocations: 123.5 kB / 0.5611 GB, free: 11.43 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 4.253e-05/0.01085, allocations: 11.98 kB / 0.5611 GB, free: 11.41 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004851/0.01133, allocations: 312.5 kB / 0.5614 GB, free: 11.09 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=48): time 2.925e-06/0.01134, allocations: 0 / 0.5614 GB, free: 11.09 MB / 0.5261 GB Notification: Performance of matching and sorting (n=48): time 0.0007431/0.01208, allocations: 497 kB / 0.5618 GB, free: 10.6 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.471e-05/0.01214, allocations: 118.8 kB / 0.562 GB, free: 10.46 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001236/0.01227, allocations: 187.5 kB / 0.5621 GB, free: 10.27 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.714e-05/0.01229, allocations: 37.7 kB / 0.5622 GB, free: 10.23 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.861e-05/0.01235, allocations: 113.4 kB / 0.5623 GB, free: 10.11 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 9.942e-05/0.01245, allocations: 158.8 kB / 0.5624 GB, free: 9.957 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001024/0.01255, allocations: 106.3 kB / 0.5625 GB, free: 9.848 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.683e-05/0.01265, allocations: 338.8 kB / 0.5629 GB, free: 9.508 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001869/0.01284, allocations: 149.2 kB / 0.563 GB, free: 9.363 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005154/0.01335, allocations: 252.8 kB / 0.5632 GB, free: 9.082 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004049/0.01376, allocations: 397.9 kB / 0.5636 GB, free: 8.656 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/0.01376, allocations: 0 / 0.5636 GB, free: 8.656 MB / 0.5261 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.000525/0.01429, allocations: 497.6 kB / 0.5641 GB, free: 8.164 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/0.01431, allocations: 4 kB / 0.5641 GB, free: 8.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.01432, allocations: 7.938 kB / 0.5641 GB, free: 8.152 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/0.01434, allocations: 4 kB / 0.5641 GB, free: 8.148 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002233/0.01456, allocations: 103.9 kB / 0.5642 GB, free: 8.047 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/0.01457, allocations: 4 kB / 0.5642 GB, free: 8.043 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000147/0.01472, allocations: 67.64 kB / 0.5643 GB, free: 7.977 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.184e-05/0.01474, allocations: 20 kB / 0.5643 GB, free: 7.957 MB / 0.5261 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.0001397/0.01488, allocations: 163.7 kB / 0.5645 GB, free: 7.785 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.285e-05/0.01491, allocations: 27.84 kB / 0.5645 GB, free: 7.758 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.682e-05/0.01497, allocations: 37.91 kB / 0.5645 GB, free: 7.719 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.01498, allocations: 4 kB / 0.5645 GB, free: 7.715 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-05/0.01499, allocations: 0 / 0.5645 GB, free: 7.715 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.014e-06/0.01499, allocations: 3.984 kB / 0.5645 GB, free: 7.711 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002576/0.01525, allocations: 280.5 kB / 0.5648 GB, free: 7.395 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/0.01526, allocations: 3.984 kB / 0.5648 GB, free: 7.391 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002318/0.01549, allocations: 75.91 kB / 0.5649 GB, free: 7.316 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.01549, allocations: 0 / 0.5649 GB, free: 7.316 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.76e-05/0.01552, allocations: 23.86 kB / 0.5649 GB, free: 7.293 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.01552, allocations: 0 / 0.5649 GB, free: 7.293 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.01552, allocations: 4 kB / 0.5649 GB, free: 7.289 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007439/0.01627, allocations: 0.587 MB / 0.5655 GB, free: 6.684 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.137e-05/0.0163, allocations: 31.75 kB / 0.5655 GB, free: 6.652 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.788e-05/0.01634, allocations: 15.92 kB / 0.5655 GB, free: 6.637 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00011/0.01645, allocations: 35.97 kB / 0.5655 GB, free: 6.602 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001088/0.01656, allocations: 52 kB / 0.5656 GB, free: 6.551 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.03e-05/0.01658, allocations: 16 kB / 0.5656 GB, free: 6.535 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 8.044e-05/0.01666, allocations: 132.9 kB / 0.5657 GB, free: 6.406 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5e-08/0.01666, allocations: 0 / 0.5657 GB, free: 6.406 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002472/0.0169, allocations: 80 kB / 0.5658 GB, free: 6.328 MB / 0.5261 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.0009628/0.01787, allocations: 1.159 MB / 0.5669 GB, free: 5.137 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0005075/0.01837, allocations: 359.2 kB / 0.5673 GB, free: 4.785 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.01838, allocations: 0 / 0.5673 GB, free: 4.785 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002386/0.01862, allocations: 187.7 kB / 0.5675 GB, free: 4.602 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002666/0.01888, allocations: 42.44 kB / 0.5675 GB, free: 4.562 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003438/0.02232, allocations: 3.177 MB / 0.5706 GB, free: 1.215 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.676e-05/0.02242, allocations: 160.2 kB / 0.5708 GB, free: 1.039 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001133/0.02253, allocations: 42.95 kB / 0.5708 GB, free: 0.9961 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001296/0.02266, allocations: 92.47 kB / 0.5709 GB, free: 0.9062 MB / 0.5261 GB Notification: Performance of SimCode: time 1.874e-06/0.02266, allocations: 0 / 0.5709 GB, free: 0.9062 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02308/0.04575, allocations: 7.543 MB / 0.5783 GB, free: 9.578 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.039/7.085, allocations: 10.84 kB / 0.5783 GB, free: 9.574 MB / 0.5417 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart_res.csv --start-time 100 --stop-time 900 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.32 IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_MovingAverage_nonZeroStart.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.753778560087085] Failed to read output from testmodel.py, exit status != 0: 7.184764035046101 7.198781987 7.189827213 Calling exit ...