Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001363/0.001363, allocations: 105.7 kB / 17.07 MB, free: 6.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001391/0.001391, allocations: 191.8 kB / 20.02 MB, free: 3.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.487/1.487, allocations: 222.9 MB / 245.7 MB, free: 4.238 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.101/1.101, allocations: 147.6 MB / 445.5 MB, free: 8.555 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_MovingAverage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_MovingAverage",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00267/0.00267, allocations: 71.88 kB / 0.611 GB, free: 92 kB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4516/0.4543, allocations: 83.15 MB / 0.6922 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.002241/0.4566, allocations: 1.088 MB / 0.6932 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0014/0.458, allocations: 1.104 MB / 0.6943 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.276e-05/0.4581, allocations: 2.719 kB / 0.6943 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 4.995e-05/0.4581, allocations: 19.73 kB / 0.6943 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001164/0.4583, allocations: 43.86 kB / 0.6944 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004221/0.4587, allocations: 154.9 kB / 0.6945 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003457/0.4591, allocations: 323.1 kB / 0.6948 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001398/0.4592, allocations: 49.09 kB / 0.6949 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001744/0.4594, allocations: 131.1 kB / 0.695 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002032/0.4596, allocations: 154.6 kB / 0.6951 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.611e-05/0.4597, allocations: 30.34 kB / 0.6952 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 4.357e-05/0.4597, allocations: 29.81 kB / 0.6952 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 7.348e-05/0.4598, allocations: 72.27 kB / 0.6953 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001309/0.4599, allocations: 136.7 kB / 0.6954 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003243/0.4602, allocations: 309.8 kB / 0.6957 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.4603, allocations: 1.25 kB / 0.6957 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.372e-06/0.4603, allocations: 4 kB / 0.6957 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.4603, allocations: 0 / 0.6957 GB, free: 10.73 MB / 0.5137 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.001214/0.4615, allocations: 0.6301 MB / 0.6963 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.4615, allocations: 17.55 kB / 0.6963 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.51e-05/0.4616, allocations: 53.61 kB / 0.6964 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.026e-05/0.4617, allocations: 38.62 kB / 0.6964 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001784/0.4619, allocations: 203.8 kB / 0.6966 GB, free: 9.875 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002377/0.4621, allocations: 266.2 kB / 0.6969 GB, free: 9.578 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.091e-05/0.4622, allocations: 26.25 kB / 0.6969 GB, free: 9.57 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000486/0.4627, allocations: 268.9 kB / 0.6972 GB, free: 9.387 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.736e-05/0.4627, allocations: 1.375 kB / 0.6972 GB, free: 9.387 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.28e-05/0.4627, allocations: 6.75 kB / 0.6972 GB, free: 9.383 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.4628, allocations: 5.5 kB / 0.6972 GB, free: 9.383 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004179/0.4632, allocations: 178.9 kB / 0.6973 GB, free: 9.301 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001112/0.4643, allocations: 0.7891 MB / 0.6981 GB, free: 8.586 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004889/0.4648, allocations: 207.5 kB / 0.6983 GB, free: 8.445 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002577/0.4651, allocations: 128.7 kB / 0.6984 GB, free: 8.371 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.479e-05/0.4651, allocations: 9.266 kB / 0.6984 GB, free: 8.367 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006127/0.4657, allocations: 316.9 kB / 0.6987 GB, free: 8.07 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=48): time 1.753e-06/0.4658, allocations: 0 / 0.6987 GB, free: 8.07 MB / 0.5137 GB Notification: Performance of matching and sorting (n=48): time 0.001073/0.4668, allocations: 478.3 kB / 0.6992 GB, free: 7.598 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.268e-05/0.4669, allocations: 122.8 kB / 0.6993 GB, free: 7.453 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001738/0.4671, allocations: 175.4 kB / 0.6995 GB, free: 7.27 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.336e-05/0.4672, allocations: 45.69 kB / 0.6995 GB, free: 7.219 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 9.2e-05/0.4673, allocations: 117.3 kB / 0.6996 GB, free: 7.102 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001364/0.4674, allocations: 158.6 kB / 0.6998 GB, free: 6.945 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000155/0.4676, allocations: 110.3 kB / 0.6999 GB, free: 6.832 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001601/0.4677, allocations: 338.8 kB / 0.7002 GB, free: 6.492 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003096/0.468, allocations: 149.2 kB / 0.7004 GB, free: 6.348 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003807/0.4684, allocations: 248.8 kB / 0.7006 GB, free: 6.066 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006443/0.4691, allocations: 394 kB / 0.701 GB, free: 5.645 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.4691, allocations: 4 kB / 0.701 GB, free: 5.641 MB / 0.5137 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008667/0.47, allocations: 489.7 kB / 0.7014 GB, free: 5.156 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.47, allocations: 11.94 kB / 0.7015 GB, free: 5.145 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.47, allocations: 0 / 0.7015 GB, free: 5.145 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.47, allocations: 8 kB / 0.7015 GB, free: 5.137 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004084/0.4704, allocations: 91.83 kB / 0.7015 GB, free: 5.047 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.499e-05/0.4705, allocations: 11.98 kB / 0.7016 GB, free: 5.035 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002837/0.4708, allocations: 59.91 kB / 0.7016 GB, free: 4.977 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.611e-05/0.4708, allocations: 20 kB / 0.7016 GB, free: 4.957 MB / 0.5137 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.0001707/0.471, allocations: 166.7 kB / 0.7018 GB, free: 4.789 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.201e-05/0.471, allocations: 35.73 kB / 0.7018 GB, free: 4.754 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.241e-05/0.4711, allocations: 33.88 kB / 0.7019 GB, free: 4.719 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.501e-06/0.4711, allocations: 4 kB / 0.7019 GB, free: 4.715 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/0.4711, allocations: 3.938 kB / 0.7019 GB, free: 4.711 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.104e-06/0.4712, allocations: 3.984 kB / 0.7019 GB, free: 4.707 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004276/0.4716, allocations: 345.3 kB / 0.7022 GB, free: 4.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/0.4716, allocations: 11.88 kB / 0.7022 GB, free: 4.309 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003986/0.472, allocations: 75.89 kB / 0.7023 GB, free: 4.234 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.472, allocations: 7.938 kB / 0.7023 GB, free: 4.227 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.384e-05/0.4721, allocations: 15.98 kB / 0.7023 GB, free: 4.211 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/0.4721, allocations: 4.078 kB / 0.7023 GB, free: 4.207 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.668e-06/0.4721, allocations: 3.984 kB / 0.7023 GB, free: 4.203 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001115/0.4732, allocations: 0.5786 MB / 0.7029 GB, free: 3.602 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.187e-05/0.4733, allocations: 104.8 kB / 0.703 GB, free: 3.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.215e-05/0.4733, allocations: 16.08 kB / 0.703 GB, free: 3.465 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002294/0.4736, allocations: 31.91 kB / 0.703 GB, free: 3.434 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001322/0.4737, allocations: 55.94 kB / 0.7031 GB, free: 3.379 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.158e-05/0.4737, allocations: 23.98 kB / 0.7031 GB, free: 3.355 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 9.649e-05/0.4738, allocations: 121.2 kB / 0.7032 GB, free: 3.238 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4739, allocations: 0 / 0.7032 GB, free: 3.238 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003207/0.4742, allocations: 83.92 kB / 0.7033 GB, free: 3.156 MB / 0.5137 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.001449/0.4756, allocations: 1.155 MB / 0.7044 GB, free: 1.969 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0007506/0.4764, allocations: 382.7 kB / 0.7048 GB, free: 1.594 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.4764, allocations: 4 kB / 0.7048 GB, free: 1.59 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003897/0.4768, allocations: 192.8 kB / 0.705 GB, free: 1.402 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003112/0.4771, allocations: 39.72 kB / 0.705 GB, free: 1.363 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004468/0.4816, allocations: 3.163 MB / 0.7081 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004504/0.4821, allocations: 0.7686 MB / 0.7089 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001756/0.4823, allocations: 39.16 kB / 0.7089 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001959/0.4825, allocations: 95.34 kB / 0.709 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of SimCode: time 8.52e-07/0.4825, allocations: 0 / 0.709 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03114/0.5136, allocations: 6.521 MB / 0.7154 GB, free: 6.707 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.273/8.787, allocations: 10.47 kB / 0.7154 GB, free: 6.699 MB / 0.5294 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage_res.csv --start-time 0 --stop-time 900 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.36 IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_MovingAverage.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.598319702083245] Failed to read output from testmodel.py, exit status != 0: 8.861933887936175 8.882353277 8.419380842 Calling exit ...