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.001267/0.001267, allocations: 97.91 kB / 20.48 MB, free: 1.363 MB / 14.72 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.001532/0.001532, allocations: 213.4 kB / 23.78 MB, free: 4.523 MB / 14.72 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 1.531/1.531, allocations: 230.6 MB / 257.6 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] 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 1.039/1.039, allocations: 150 MB / 463.9 MB, free: 10.23 MB / 366.1 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="cs",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="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002228/0.002228, allocations: 65.91 kB / 0.642 GB, free: 9.863 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2015/0.2037, allocations: 89.18 MB / 0.7291 GB, free: 0.7617 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.003463/0.2072, allocations: 1.895 MB / 0.731 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001444/0.2086, allocations: 0.705 MB / 0.7316 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001388/0.2087, allocations: 4 kB / 0.7316 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 7.165e-05/0.2088, allocations: 23.67 kB / 0.7317 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001454/0.209, allocations: 43.58 kB / 0.7317 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005342/0.2095, allocations: 167.8 kB / 0.7319 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0004017/0.2099, allocations: 327.1 kB / 0.7322 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001374/0.21, allocations: 33.2 kB / 0.7322 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002696/0.2103, allocations: 151.5 kB / 0.7324 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002329/0.2105, allocations: 147.4 kB / 0.7325 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.645e-05/0.2106, allocations: 28 kB / 0.7325 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.32e-05/0.2107, allocations: 40 kB / 0.7326 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.15e-05/0.2108, allocations: 83.72 kB / 0.7326 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001458/0.2109, allocations: 115.5 kB / 0.7328 GB, free: 13 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004073/0.2113, allocations: 322.7 kB / 0.7331 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.2113, allocations: 0 / 0.7331 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.743e-06/0.2113, allocations: 0 / 0.7331 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.358e-06/0.2113, allocations: 0 / 0.7331 GB, free: 12.69 MB / 0.5606 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.001517/0.2128, allocations: 0.5599 MB / 0.7336 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.577e-05/0.2129, allocations: 12.03 kB / 0.7336 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.818e-05/0.2129, allocations: 4.625 kB / 0.7336 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.911e-05/0.213, allocations: 58.73 kB / 0.7337 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004268/0.2134, allocations: 64.7 kB / 0.7337 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005001/0.2139, allocations: 191.3 kB / 0.7339 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004782/0.2144, allocations: 499.6 kB / 0.7344 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.964e-05/0.2145, allocations: 40.08 kB / 0.7344 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006357/0.2152, allocations: 257.8 kB / 0.7347 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.309e-05/0.2152, allocations: 0 / 0.7347 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.958e-05/0.2152, allocations: 12 kB / 0.7347 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/0.2152, allocations: 4 kB / 0.7347 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005484/0.2158, allocations: 181.8 kB / 0.7349 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001445/0.2172, allocations: 0.691 MB / 0.7355 GB, free: 9.902 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006041/0.2178, allocations: 199.7 kB / 0.7357 GB, free: 9.68 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002656/0.2181, allocations: 122.5 kB / 0.7359 GB, free: 9.551 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 5.289e-05/0.2181, allocations: 16.3 kB / 0.7359 GB, free: 9.535 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005728/0.2187, allocations: 311.4 kB / 0.7362 GB, free: 9.211 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=48): time 2.785e-06/0.2187, allocations: 0 / 0.7362 GB, free: 9.211 MB / 0.5606 GB Notification: Performance of matching and sorting (n=48): time 0.001167/0.2199, allocations: 499.1 kB / 0.7366 GB, free: 8.723 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001212/0.22, allocations: 114.8 kB / 0.7368 GB, free: 8.586 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000247/0.2203, allocations: 186.8 kB / 0.7369 GB, free: 8.395 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 8.216e-05/0.2203, allocations: 37.7 kB / 0.737 GB, free: 8.352 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001126/0.2205, allocations: 125.3 kB / 0.7371 GB, free: 8.227 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001778/0.2206, allocations: 150.8 kB / 0.7372 GB, free: 8.078 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001933/0.2208, allocations: 102.3 kB / 0.7373 GB, free: 7.973 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000215/0.221, allocations: 346.8 kB / 0.7377 GB, free: 7.625 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003483/0.2214, allocations: 149.2 kB / 0.7378 GB, free: 7.48 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004416/0.2218, allocations: 252.7 kB / 0.738 GB, free: 7.195 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007409/0.2226, allocations: 406 kB / 0.7384 GB, free: 6.762 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.199e-06/0.2226, allocations: 0 / 0.7384 GB, free: 6.762 MB / 0.5606 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001041/0.2236, allocations: 0.4894 MB / 0.7389 GB, free: 6.266 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.705e-05/0.2236, allocations: 4 kB / 0.7389 GB, free: 6.262 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.558e-05/0.2237, allocations: 4 kB / 0.7389 GB, free: 6.258 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.926e-05/0.2237, allocations: 4 kB / 0.7389 GB, free: 6.254 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004353/0.2241, allocations: 103.8 kB / 0.739 GB, free: 6.152 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.363e-05/0.2241, allocations: 7.938 kB / 0.739 GB, free: 6.145 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003621/0.2245, allocations: 59.75 kB / 0.7391 GB, free: 6.086 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.515e-05/0.2246, allocations: 20 kB / 0.7391 GB, free: 6.066 MB / 0.5606 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.0002804/0.2248, allocations: 159.5 kB / 0.7393 GB, free: 5.898 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.375e-05/0.2249, allocations: 31.75 kB / 0.7393 GB, free: 5.867 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001039/0.225, allocations: 37.97 kB / 0.7393 GB, free: 5.828 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.648e-06/0.225, allocations: 4 kB / 0.7393 GB, free: 5.824 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.398e-05/0.2251, allocations: 0 / 0.7393 GB, free: 5.824 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.016e-05/0.2251, allocations: 3.984 kB / 0.7393 GB, free: 5.82 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004935/0.2256, allocations: 292.4 kB / 0.7396 GB, free: 5.492 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.2256, allocations: 0 / 0.7396 GB, free: 5.492 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004254/0.226, allocations: 75.89 kB / 0.7397 GB, free: 5.418 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.226, allocations: 0 / 0.7397 GB, free: 5.418 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.171e-05/0.226, allocations: 15.94 kB / 0.7397 GB, free: 5.402 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.2261, allocations: 0 / 0.7397 GB, free: 5.402 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.2261, allocations: 0 / 0.7397 GB, free: 5.402 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001228/0.2273, allocations: 0.59 MB / 0.7403 GB, free: 4.785 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.605e-05/0.2273, allocations: 31.75 kB / 0.7403 GB, free: 4.754 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.934e-05/0.2274, allocations: 15.98 kB / 0.7403 GB, free: 4.738 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002425/0.2277, allocations: 27.97 kB / 0.7403 GB, free: 4.711 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001622/0.2278, allocations: 55.91 kB / 0.7404 GB, free: 4.656 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.743e-05/0.2279, allocations: 16.17 kB / 0.7404 GB, free: 4.641 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001378/0.228, allocations: 132.4 kB / 0.7405 GB, free: 4.512 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.228, allocations: 3.938 kB / 0.7405 GB, free: 4.508 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004027/0.2284, allocations: 83.95 kB / 0.7406 GB, free: 4.426 MB / 0.5606 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.001627/0.23, allocations: 1.147 MB / 0.7417 GB, free: 3.246 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007961/0.2308, allocations: 368.2 kB / 0.7421 GB, free: 2.887 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.2308, allocations: 0 / 0.7421 GB, free: 2.887 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004426/0.2313, allocations: 175.8 kB / 0.7423 GB, free: 2.715 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003827/0.2316, allocations: 50.12 kB / 0.7423 GB, free: 2.668 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00506/0.2367, allocations: 3.189 MB / 0.7454 GB, free: 15.31 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001787/0.2369, allocations: 160.1 kB / 0.7456 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001821/0.2371, allocations: 51.16 kB / 0.7456 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001975/0.2373, allocations: 91.41 kB / 0.7457 GB, free: 15 MB / 0.5762 GB Notification: Performance of SimCode: time 8.11e-07/0.2373, allocations: 0 / 0.7457 GB, free: 15 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04223/0.2795, allocations: 7.062 MB / 0.7526 GB, free: 8.156 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.77/12.05, allocations: 4.062 kB / 0.7526 GB, free: 8.152 MB / 0.5762 GB " [Timeout remaining time 648] (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: 16.532597815967165] Failed to read output from testmodel.py, exit status != 0: 12.215809601009823 12.664189868 12.449772687 Calling exit ...