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.0008377/0.0008377, allocations: 76.55 kB / 19.93 MB, free: 4.617 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.0008409/0.0008409, allocations: 173.9 kB / 23.21 MB, free: 1.336 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.9054/0.9054, allocations: 177.2 MB / 203.5 MB, free: 5.73 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.5659/0.5659, allocations: 114 MB / 373.9 MB, free: 8.703 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 2.274e-06/2.274e-06, allocations: 0 / 0.5543 GB, free: 2.719 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.189e-05/2.416e-05, allocations: 11.03 kB / 0.5543 GB, free: 2.711 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.002295/0.00232, allocations: 1.91 MB / 0.5561 GB, free: 0.793 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001053/0.003372, allocations: 0.6973 MB / 0.5568 GB, free: 92 kB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.881e-05/0.003461, allocations: 4 kB / 0.5568 GB, free: 88 kB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 4.609e-05/0.003507, allocations: 23.67 kB / 0.5568 GB, free: 64 kB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 9.385e-05/0.003601, allocations: 43.52 kB / 0.5569 GB, free: 20 kB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004984/0.0041, allocations: 179.5 kB / 0.5571 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0002794/0.004379, allocations: 342.9 kB / 0.5574 GB, free: 15.51 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001402/0.004519, allocations: 32.92 kB / 0.5574 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002607/0.00478, allocations: 199.6 kB / 0.5576 GB, free: 15.28 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001403/0.00492, allocations: 119.6 kB / 0.5577 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 3.556e-05/0.004956, allocations: 32 kB / 0.5577 GB, free: 15.13 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 5.828e-05/0.005014, allocations: 35.94 kB / 0.5578 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 4.907e-05/0.005063, allocations: 79.77 kB / 0.5579 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 7.705e-05/0.00514, allocations: 103.7 kB / 0.558 GB, free: 14.92 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0002785/0.005419, allocations: 335 kB / 0.5583 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.005421, allocations: 0 / 0.5583 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.032e-06/0.005423, allocations: 0 / 0.5583 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.05e-06/0.005428, allocations: 4 kB / 0.5583 GB, free: 14.59 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.0008754/0.006303, allocations: 0.5638 MB / 0.5588 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.308e-05/0.006356, allocations: 8.031 kB / 0.5588 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.151e-05/0.006418, allocations: 62.72 kB / 0.5589 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002443/0.006662, allocations: 64.75 kB / 0.559 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003525/0.007014, allocations: 189.3 kB / 0.5591 GB, free: 13.63 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002429/0.007257, allocations: 499.7 kB / 0.5596 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.857e-05/0.007306, allocations: 24.38 kB / 0.5596 GB, free: 13.01 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000354/0.00766, allocations: 263.1 kB / 0.5599 GB, free: 12.74 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.661e-05/0.007676, allocations: 8.141 kB / 0.5599 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.133e-05/0.007698, allocations: 11.92 kB / 0.5599 GB, free: 12.72 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.485e-06/0.007705, allocations: 8 kB / 0.5599 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002733/0.007978, allocations: 171.8 kB / 0.5601 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007709/0.008749, allocations: 0.691 MB / 0.5608 GB, free: 11.8 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003484/0.009098, allocations: 204.2 kB / 0.561 GB, free: 11.58 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001614/0.009259, allocations: 126.5 kB / 0.5611 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.775e-05/0.009297, allocations: 11.94 kB / 0.5611 GB, free: 11.43 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003618/0.009659, allocations: 300.6 kB / 0.5614 GB, free: 11.12 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=48): time 2.345e-06/0.009661, allocations: 224 / 0.5614 GB, free: 11.12 MB / 0.5261 GB Notification: Performance of matching and sorting (n=48): time 0.0007406/0.0104, allocations: 0.4886 MB / 0.5618 GB, free: 10.63 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.701e-05/0.01047, allocations: 114.8 kB / 0.562 GB, free: 10.49 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001557/0.01062, allocations: 187.5 kB / 0.5621 GB, free: 10.3 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.048e-05/0.01065, allocations: 41.7 kB / 0.5622 GB, free: 10.25 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.728e-05/0.01072, allocations: 117.4 kB / 0.5623 GB, free: 10.14 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 9.755e-05/0.01082, allocations: 154.8 kB / 0.5624 GB, free: 9.984 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001109/0.01093, allocations: 106.3 kB / 0.5625 GB, free: 9.875 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.01103, allocations: 338.8 kB / 0.5629 GB, free: 9.535 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002055/0.01124, allocations: 153.2 kB / 0.563 GB, free: 9.387 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004133/0.01165, allocations: 248.8 kB / 0.5632 GB, free: 9.109 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004301/0.01208, allocations: 394 kB / 0.5636 GB, free: 8.688 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.01209, allocations: 0 / 0.5636 GB, free: 8.688 MB / 0.5261 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0005757/0.01266, allocations: 493.6 kB / 0.5641 GB, free: 8.199 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.01268, allocations: 8 kB / 0.5641 GB, free: 8.191 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.01269, allocations: 7.938 kB / 0.5641 GB, free: 8.184 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.968e-05/0.01271, allocations: 8 kB / 0.5641 GB, free: 8.176 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002122/0.01292, allocations: 103.9 kB / 0.5642 GB, free: 8.074 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/0.01293, allocations: 7.938 kB / 0.5642 GB, free: 8.066 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001406/0.01307, allocations: 59.7 kB / 0.5643 GB, free: 8.008 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.125e-05/0.01309, allocations: 20 kB / 0.5643 GB, free: 7.988 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.0001323/0.01323, allocations: 171.7 kB / 0.5645 GB, free: 7.809 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.342e-05/0.01326, allocations: 23.86 kB / 0.5645 GB, free: 7.785 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.836e-05/0.01331, allocations: 37.91 kB / 0.5645 GB, free: 7.746 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.01331, allocations: 4 kB / 0.5645 GB, free: 7.742 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.01332, allocations: 7.922 kB / 0.5645 GB, free: 7.734 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.01333, allocations: 0 / 0.5645 GB, free: 7.734 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002382/0.01356, allocations: 284.5 kB / 0.5648 GB, free: 7.414 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.01357, allocations: 0 / 0.5648 GB, free: 7.414 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002246/0.01379, allocations: 75.89 kB / 0.5649 GB, free: 7.34 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.0138, allocations: 4 kB / 0.5649 GB, free: 7.336 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.472e-05/0.01382, allocations: 19.94 kB / 0.5649 GB, free: 7.316 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.01382, allocations: 0 / 0.5649 GB, free: 7.316 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/0.01383, allocations: 4 kB / 0.5649 GB, free: 7.312 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007922/0.01462, allocations: 0.587 MB / 0.5655 GB, free: 6.707 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.277e-05/0.01466, allocations: 31.73 kB / 0.5655 GB, free: 6.676 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.051e-05/0.0147, allocations: 15.94 kB / 0.5655 GB, free: 6.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001188/0.01482, allocations: 31.97 kB / 0.5655 GB, free: 6.629 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001271/0.01495, allocations: 59.91 kB / 0.5656 GB, free: 6.57 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.129e-05/0.01497, allocations: 11.98 kB / 0.5656 GB, free: 6.559 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 9.84e-05/0.01507, allocations: 132.9 kB / 0.5657 GB, free: 6.43 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.21e-07/0.01507, allocations: 0 / 0.5657 GB, free: 6.43 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002982/0.01536, allocations: 83.98 kB / 0.5658 GB, free: 6.348 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.0009601/0.01633, allocations: 1.148 MB / 0.5669 GB, free: 5.164 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0005834/0.01691, allocations: 355.2 kB / 0.5673 GB, free: 4.816 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.01691, allocations: 0 / 0.5673 GB, free: 4.816 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002382/0.01715, allocations: 183.7 kB / 0.5675 GB, free: 4.637 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002772/0.01743, allocations: 46.61 kB / 0.5675 GB, free: 4.594 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003143/0.02057, allocations: 3.184 MB / 0.5706 GB, free: 1.238 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.15e-05/0.02066, allocations: 156.2 kB / 0.5708 GB, free: 1.066 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001356/0.0208, allocations: 47.08 kB / 0.5708 GB, free: 1.02 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001319/0.02093, allocations: 96.47 kB / 0.5709 GB, free: 0.9258 MB / 0.5261 GB Notification: Performance of SimCode: time 9.72e-07/0.02093, allocations: 0 / 0.5709 GB, free: 0.9258 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02272/0.04365, allocations: 7.535 MB / 0.5783 GB, free: 9.609 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.984/7.028, allocations: 3.969 kB / 0.5783 GB, free: 9.609 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_MovingAverage_nonZeroStart_fmu --startTime=100 --stopTime=900 --stepSize=0.32 --timeout=50 --tolerance=1e-06 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.494396562688053] Failed to read output from testmodel.py, exit status != 0: 7.113173322752118 7.123901003 7.115979591 Calling exit ...