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.001444/0.001444, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.0017/0.0017, allocations: 211.6 kB / 22.99 MB, free: 4.977 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.621/1.621, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.045/1.045, allocations: 149.9 MB / 463 MB, free: 10.39 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="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: 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.002224/0.002224, allocations: 70.33 kB / 0.6411 GB, free: 10.07 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2181/0.2203, allocations: 89.17 MB / 0.7282 GB, free: 0.9727 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.003686/0.224, allocations: 1.905 MB / 0.7301 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001364/0.2253, allocations: 0.6974 MB / 0.7308 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000148/0.2255, allocations: 7.938 kB / 0.7308 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 6.465e-05/0.2255, allocations: 19.73 kB / 0.7308 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001532/0.2257, allocations: 51.39 kB / 0.7308 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006308/0.2263, allocations: 169 kB / 0.731 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000484/0.2268, allocations: 335.1 kB / 0.7313 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001656/0.227, allocations: 29.2 kB / 0.7313 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003233/0.2273, allocations: 143.5 kB / 0.7315 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002286/0.2275, allocations: 135.4 kB / 0.7316 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.393e-05/0.2276, allocations: 32 kB / 0.7316 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.173e-05/0.2277, allocations: 35.98 kB / 0.7317 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.301e-05/0.2278, allocations: 75.8 kB / 0.7317 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001328/0.2279, allocations: 115.5 kB / 0.7319 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004179/0.2283, allocations: 326.6 kB / 0.7322 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.2283, allocations: 4 kB / 0.7322 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.643e-06/0.2283, allocations: 0 / 0.7322 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.063e-06/0.2283, allocations: 0 / 0.7322 GB, free: 12.9 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.001336/0.2297, allocations: 0.5599 MB / 0.7327 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.2297, allocations: 8.031 kB / 0.7327 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.174e-05/0.2298, allocations: 54.73 kB / 0.7328 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003538/0.2301, allocations: 60.7 kB / 0.7328 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003773/0.2305, allocations: 191.3 kB / 0.733 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004307/0.2309, allocations: 0.4918 MB / 0.7335 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.496e-05/0.231, allocations: 32.33 kB / 0.7335 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005383/0.2316, allocations: 269.6 kB / 0.7338 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.203e-05/0.2316, allocations: 4 kB / 0.7338 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.347e-05/0.2316, allocations: 7.938 kB / 0.7338 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.2316, allocations: 4 kB / 0.7338 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004343/0.232, allocations: 179.8 kB / 0.734 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001218/0.2333, allocations: 0.6911 MB / 0.7346 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005128/0.2338, allocations: 191.7 kB / 0.7348 GB, free: 9.91 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002761/0.2341, allocations: 126.5 kB / 0.7349 GB, free: 9.777 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.138e-05/0.2341, allocations: 12.34 kB / 0.735 GB, free: 9.766 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005701/0.2347, allocations: 323.4 kB / 0.7353 GB, free: 9.426 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=48): time 1.763e-06/0.2347, allocations: 0 / 0.7353 GB, free: 9.426 MB / 0.5606 GB Notification: Performance of matching and sorting (n=48): time 0.001105/0.2358, allocations: 491.5 kB / 0.7357 GB, free: 8.945 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.382e-05/0.2359, allocations: 114.8 kB / 0.7358 GB, free: 8.809 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001932/0.2361, allocations: 190.7 kB / 0.736 GB, free: 8.613 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.944e-05/0.2361, allocations: 37.7 kB / 0.7361 GB, free: 8.57 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001098/0.2362, allocations: 125.2 kB / 0.7362 GB, free: 8.445 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001511/0.2364, allocations: 154.8 kB / 0.7363 GB, free: 8.293 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002017/0.2366, allocations: 106.3 kB / 0.7364 GB, free: 8.184 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002083/0.2368, allocations: 342.8 kB / 0.7368 GB, free: 7.84 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003485/0.2371, allocations: 149.2 kB / 0.7369 GB, free: 7.695 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004237/0.2376, allocations: 244.8 kB / 0.7371 GB, free: 7.418 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007241/0.2383, allocations: 398 kB / 0.7375 GB, free: 6.992 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/0.2383, allocations: 3.984 kB / 0.7375 GB, free: 6.988 MB / 0.5606 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009555/0.2392, allocations: 0.4937 MB / 0.738 GB, free: 6.488 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.2393, allocations: 7.938 kB / 0.738 GB, free: 6.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/0.2393, allocations: 4 kB / 0.738 GB, free: 6.477 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.498e-05/0.2393, allocations: 7.984 kB / 0.738 GB, free: 6.469 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003852/0.2397, allocations: 95.83 kB / 0.7381 GB, free: 6.375 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.511e-05/0.2397, allocations: 4 kB / 0.7381 GB, free: 6.371 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002841/0.24, allocations: 55.75 kB / 0.7382 GB, free: 6.316 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.72e-05/0.24, allocations: 24 kB / 0.7382 GB, free: 6.293 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.0002022/0.2402, allocations: 159.5 kB / 0.7383 GB, free: 6.129 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.027e-05/0.2403, allocations: 31.75 kB / 0.7384 GB, free: 6.098 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.684e-05/0.2404, allocations: 29.97 kB / 0.7384 GB, free: 6.066 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.827e-06/0.2404, allocations: 11.98 kB / 0.7384 GB, free: 6.055 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.097e-05/0.2404, allocations: 0 / 0.7384 GB, free: 6.055 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.2404, allocations: 0 / 0.7384 GB, free: 6.055 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004106/0.2408, allocations: 292.4 kB / 0.7387 GB, free: 5.727 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.2408, allocations: 7.938 kB / 0.7387 GB, free: 5.719 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003995/0.2412, allocations: 75.89 kB / 0.7388 GB, free: 5.645 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.2412, allocations: 0 / 0.7388 GB, free: 5.645 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.4e-05/0.2412, allocations: 16 kB / 0.7388 GB, free: 5.629 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.2412, allocations: 0 / 0.7388 GB, free: 5.629 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.2413, allocations: 0 / 0.7388 GB, free: 5.629 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00117/0.2424, allocations: 0.5784 MB / 0.7394 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.568e-05/0.2425, allocations: 47.7 kB / 0.7394 GB, free: 4.973 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.794e-05/0.2425, allocations: 11.94 kB / 0.7394 GB, free: 4.961 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000228/0.2427, allocations: 31.97 kB / 0.7394 GB, free: 4.93 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000142/0.2429, allocations: 55.98 kB / 0.7395 GB, free: 4.875 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.575e-05/0.2429, allocations: 19.98 kB / 0.7395 GB, free: 4.855 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001208/0.243, allocations: 124.4 kB / 0.7396 GB, free: 4.734 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.243, allocations: 0 / 0.7396 GB, free: 4.734 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000357/0.2434, allocations: 87.94 kB / 0.7397 GB, free: 4.648 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.00156/0.245, allocations: 1.147 MB / 0.7408 GB, free: 3.469 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007934/0.2458, allocations: 358.7 kB / 0.7412 GB, free: 3.121 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.2458, allocations: 0 / 0.7412 GB, free: 3.121 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003972/0.2462, allocations: 194.4 kB / 0.7414 GB, free: 2.934 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003438/0.2465, allocations: 45.72 kB / 0.7414 GB, free: 2.891 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005258/0.2518, allocations: 3.188 MB / 0.7445 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000254/0.252, allocations: 164.1 kB / 0.7447 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002464/0.2523, allocations: 38.97 kB / 0.7447 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002152/0.2525, allocations: 95.41 kB / 0.7448 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of SimCode: time 1.253e-06/0.2525, allocations: 0 / 0.7448 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04296/0.2954, allocations: 7.405 MB / 0.752 GB, free: 8.016 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.5/11.8, allocations: 8.047 kB / 0.752 GB, free: 8.008 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 & 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: 16.246702414005995] Failed to read output from testmodel.py, exit status != 0: 11.906040014699101 12.223334545 11.990160478 Calling exit ...