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.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.0008091/0.0008091, 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.0008283/0.0008283, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.9161/0.9161, allocations: 177.1 MB / 203.5 MB, free: 5.734 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.5747/0.5747, allocations: 114 MB / 373.9 MB, free: 8.711 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,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 2.494e-06/2.494e-06, allocations: 0 / 0.5543 GB, free: 2.695 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.019e-05/2.268e-05, allocations: 2.281 kB / 0.5543 GB, free: 2.691 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.001732/0.001755, allocations: 1.021 MB / 0.5553 GB, free: 1.672 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001199/0.002954, allocations: 1.139 MB / 0.5564 GB, free: 0.5195 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.369e-05/0.003028, allocations: 4 kB / 0.5564 GB, free: 0.5156 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 5.056e-05/0.003078, allocations: 23.67 kB / 0.5564 GB, free: 0.4922 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 8.585e-05/0.003164, allocations: 35.59 kB / 0.5564 GB, free: 468 kB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.000409/0.003573, allocations: 157.7 kB / 0.5566 GB, free: 312 kB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0002645/0.003838, allocations: 342.9 kB / 0.5569 GB, free: 15.97 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001249/0.003963, allocations: 40.52 kB / 0.5569 GB, free: 15.93 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002434/0.004206, allocations: 195.6 kB / 0.5571 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001841/0.00439, allocations: 115.6 kB / 0.5572 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 4.03e-05/0.00443, allocations: 32 kB / 0.5573 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 6.206e-05/0.004492, allocations: 32 kB / 0.5573 GB, free: 15.56 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 5.203e-05/0.004545, allocations: 79.77 kB / 0.5574 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 7.291e-05/0.004617, allocations: 95.77 kB / 0.5575 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0002904/0.004908, allocations: 350.9 kB / 0.5578 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.514e-06/0.00491, allocations: 0 / 0.5578 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of FrontEnd: time 9.42e-07/0.004911, allocations: 4 kB / 0.5578 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.623e-06/0.004918, allocations: 0 / 0.5578 GB, free: 15.04 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.0008128/0.005731, allocations: 0.5521 MB / 0.5584 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.005776, allocations: 12.62 kB / 0.5584 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.129e-05/0.005827, allocations: 58.73 kB / 0.5584 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001912/0.006018, allocations: 60.7 kB / 0.5585 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.818e-05/0.006106, allocations: 134.4 kB / 0.5586 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002036/0.00631, allocations: 0.4919 MB / 0.5591 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.913e-05/0.006349, allocations: 24.38 kB / 0.5591 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000321/0.00667, allocations: 271 kB / 0.5594 GB, free: 13.26 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.564e-05/0.006686, allocations: 8.141 kB / 0.5594 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.732e-05/0.006703, allocations: 4.375 kB / 0.5594 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/0.006711, allocations: 7.938 kB / 0.5594 GB, free: 13.24 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002632/0.006974, allocations: 175.9 kB / 0.5596 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007093/0.007683, allocations: 0.691 MB / 0.5602 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003131/0.007996, allocations: 191.7 kB / 0.5604 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001543/0.008151, allocations: 130.5 kB / 0.5605 GB, free: 11.97 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.1e-05/0.008182, allocations: 12 kB / 0.5605 GB, free: 11.96 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000361/0.008543, allocations: 312.1 kB / 0.5608 GB, free: 11.64 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=48): time 1.924e-06/0.008545, allocations: 0 / 0.5608 GB, free: 11.64 MB / 0.5261 GB Notification: Performance of matching and sorting (n=48): time 0.00064/0.009185, allocations: 489 kB / 0.5613 GB, free: 11.16 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.843e-05/0.009243, allocations: 122.7 kB / 0.5614 GB, free: 11.01 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001135/0.009357, allocations: 179.5 kB / 0.5616 GB, free: 10.82 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.817e-05/0.009385, allocations: 41.64 kB / 0.5616 GB, free: 10.78 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.713e-05/0.009442, allocations: 117.3 kB / 0.5618 GB, free: 10.66 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 8.615e-05/0.009528, allocations: 154.8 kB / 0.5619 GB, free: 10.51 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.412e-05/0.009622, allocations: 106.3 kB / 0.562 GB, free: 10.4 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.979e-05/0.009722, allocations: 342.8 kB / 0.5623 GB, free: 10.05 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002058/0.009928, allocations: 153.2 kB / 0.5625 GB, free: 9.902 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002344/0.01016, allocations: 248.7 kB / 0.5627 GB, free: 9.629 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004039/0.01057, allocations: 398 kB / 0.5631 GB, free: 9.203 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.087e-06/0.01057, allocations: 4 kB / 0.5631 GB, free: 9.199 MB / 0.5261 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0005428/0.01111, allocations: 493.6 kB / 0.5636 GB, free: 8.711 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.01113, allocations: 12 kB / 0.5636 GB, free: 8.699 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/0.01113, allocations: 4 kB / 0.5636 GB, free: 8.695 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.01115, allocations: 7.938 kB / 0.5636 GB, free: 8.688 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001969/0.01135, allocations: 99.81 kB / 0.5637 GB, free: 8.59 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.217e-06/0.01136, allocations: 4 kB / 0.5637 GB, free: 8.586 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001315/0.01149, allocations: 51.75 kB / 0.5637 GB, free: 8.535 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.217e-05/0.01151, allocations: 20 kB / 0.5638 GB, free: 8.516 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.0001143/0.01162, allocations: 171.6 kB / 0.5639 GB, free: 8.336 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.877e-05/0.01165, allocations: 27.81 kB / 0.5639 GB, free: 8.309 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.876e-05/0.01169, allocations: 29.97 kB / 0.564 GB, free: 8.273 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.0117, allocations: 7.938 kB / 0.564 GB, free: 8.266 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.587e-06/0.01171, allocations: 4 kB / 0.564 GB, free: 8.262 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.421e-06/0.01171, allocations: 3.984 kB / 0.564 GB, free: 8.258 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000221/0.01193, allocations: 276.5 kB / 0.5643 GB, free: 7.945 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.01193, allocations: 0 / 0.5643 GB, free: 7.945 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001967/0.01213, allocations: 75.84 kB / 0.5643 GB, free: 7.871 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.01213, allocations: 8 kB / 0.5643 GB, free: 7.863 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.16e-05/0.01216, allocations: 11.98 kB / 0.5643 GB, free: 7.852 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.01216, allocations: 3.938 kB / 0.5643 GB, free: 7.848 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.01216, allocations: 4 kB / 0.5644 GB, free: 7.844 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006667/0.01283, allocations: 0.591 MB / 0.5649 GB, free: 7.23 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.158e-05/0.01285, allocations: 27.8 kB / 0.565 GB, free: 7.203 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.828e-05/0.01288, allocations: 12.17 kB / 0.565 GB, free: 7.191 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001007/0.01298, allocations: 40 kB / 0.565 GB, free: 7.152 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.332e-05/0.01307, allocations: 59.78 kB / 0.5651 GB, free: 7.094 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.867e-05/0.01309, allocations: 19.98 kB / 0.5651 GB, free: 7.074 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 6.424e-05/0.01315, allocations: 121.2 kB / 0.5652 GB, free: 6.957 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5e-08/0.01315, allocations: 4 kB / 0.5652 GB, free: 6.953 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002224/0.01338, allocations: 79.95 kB / 0.5653 GB, free: 6.875 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.0008559/0.01423, allocations: 1.144 MB / 0.5664 GB, free: 5.699 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0004572/0.01469, allocations: 359.2 kB / 0.5667 GB, free: 5.348 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.01469, allocations: 0 / 0.5667 GB, free: 5.348 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002485/0.01494, allocations: 195.2 kB / 0.5669 GB, free: 5.16 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002215/0.01516, allocations: 44.16 kB / 0.567 GB, free: 5.117 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002723/0.01788, allocations: 3.136 MB / 0.57 GB, free: 1.82 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.155e-05/0.01798, allocations: 164.1 kB / 0.5702 GB, free: 1.645 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 9.684e-05/0.01807, allocations: 39.19 kB / 0.5702 GB, free: 1.605 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001235/0.0182, allocations: 96.45 kB / 0.5703 GB, free: 1.512 MB / 0.5261 GB Notification: Performance of SimCode: time 6.41e-07/0.0182, allocations: 0 / 0.5703 GB, free: 1.512 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01887/0.03706, allocations: 7.453 MB / 0.5776 GB, free: 10.25 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.992/7.029, allocations: 6.016 kB / 0.5776 GB, free: 10.25 MB / 0.5417 GB " [Timeout remaining time 653] (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: 9.656065836548805] Failed to read output from testmodel.py, exit status != 0: 7.114880748093128 7.126563969 7.119296366 Calling exit ...