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.001633/0.001633, allocations: 109 kB / 20.48 MB, free: 1.473 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.002206/0.002206, allocations: 211.5 kB / 23.79 MB, free: 4.684 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.528/1.528, allocations: 230.6 MB / 257.6 MB, free: 8.012 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 0.9804/0.9804, allocations: 150 MB / 464 MB, free: 10.52 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.002058/0.002058, allocations: 65.75 kB / 0.6421 GB, free: 10.36 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1876/0.1897, allocations: 89.16 MB / 0.7292 GB, free: 1.254 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.003606/0.1933, allocations: 2.004 MB / 0.7311 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001302/0.1946, allocations: 0.7479 MB / 0.7319 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.723e-05/0.1947, allocations: 0 / 0.7319 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 5.957e-05/0.1948, allocations: 27.67 kB / 0.7319 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001394/0.1949, allocations: 39.58 kB / 0.7319 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005325/0.1954, allocations: 170.2 kB / 0.7321 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003925/0.1958, allocations: 335 kB / 0.7324 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001445/0.196, allocations: 37.2 kB / 0.7324 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002344/0.1962, allocations: 143.7 kB / 0.7326 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002204/0.1964, allocations: 155.3 kB / 0.7327 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.712e-05/0.1965, allocations: 28 kB / 0.7327 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.379e-05/0.1965, allocations: 32 kB / 0.7328 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.597e-05/0.1966, allocations: 83.72 kB / 0.7329 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001267/0.1967, allocations: 135.4 kB / 0.733 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003728/0.1971, allocations: 318.7 kB / 0.7333 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1971, allocations: 0 / 0.7333 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.323e-06/0.1971, allocations: 0 / 0.7333 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.163e-06/0.1971, allocations: 4 kB / 0.7333 GB, free: 13 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.001242/0.1984, allocations: 0.5599 MB / 0.7338 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.1984, allocations: 12.03 kB / 0.7339 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.514e-05/0.1984, allocations: 4.625 kB / 0.7339 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.693e-05/0.1985, allocations: 62.67 kB / 0.7339 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003389/0.1988, allocations: 60.7 kB / 0.734 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003447/0.1992, allocations: 191.3 kB / 0.7342 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003844/0.1996, allocations: 0.4918 MB / 0.7346 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.527e-05/0.1996, allocations: 36.08 kB / 0.7347 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005247/0.2002, allocations: 257.8 kB / 0.7349 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.802e-05/0.2002, allocations: 0 / 0.7349 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.173e-05/0.2002, allocations: 12 kB / 0.7349 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.2002, allocations: 4 kB / 0.7349 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004527/0.2007, allocations: 179.8 kB / 0.7351 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00113/0.2018, allocations: 0.7377 MB / 0.7358 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005045/0.2023, allocations: 200.3 kB / 0.736 GB, free: 9.949 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002869/0.2026, allocations: 130.5 kB / 0.7361 GB, free: 9.812 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.606e-05/0.2026, allocations: 12.38 kB / 0.7361 GB, free: 9.801 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005361/0.2032, allocations: 315.4 kB / 0.7365 GB, free: 9.473 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=48): time 1.653e-06/0.2032, allocations: 224 / 0.7365 GB, free: 9.473 MB / 0.5606 GB Notification: Performance of matching and sorting (n=48): time 0.001091/0.2043, allocations: 494.4 kB / 0.7369 GB, free: 8.988 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.47e-05/0.2044, allocations: 114.8 kB / 0.737 GB, free: 8.852 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001868/0.2045, allocations: 186.8 kB / 0.7372 GB, free: 8.66 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.729e-05/0.2046, allocations: 37.7 kB / 0.7372 GB, free: 8.617 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.106e-05/0.2047, allocations: 121.3 kB / 0.7374 GB, free: 8.496 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001463/0.2048, allocations: 158.7 kB / 0.7375 GB, free: 8.34 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001714/0.205, allocations: 106.3 kB / 0.7376 GB, free: 8.23 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001677/0.2052, allocations: 346.8 kB / 0.7379 GB, free: 7.883 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003263/0.2055, allocations: 145.2 kB / 0.7381 GB, free: 7.742 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004054/0.2059, allocations: 256.7 kB / 0.7383 GB, free: 7.453 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007029/0.2066, allocations: 386.1 kB / 0.7387 GB, free: 7.039 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.2066, allocations: 8 kB / 0.7387 GB, free: 7.031 MB / 0.5606 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009315/0.2075, allocations: 0.4892 MB / 0.7392 GB, free: 6.535 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/0.2076, allocations: 8 kB / 0.7392 GB, free: 6.527 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.2076, allocations: 0 / 0.7392 GB, free: 6.527 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.295e-05/0.2076, allocations: 8 kB / 0.7392 GB, free: 6.52 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003978/0.208, allocations: 95.77 kB / 0.7393 GB, free: 6.426 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.904e-05/0.208, allocations: 12.69 kB / 0.7393 GB, free: 6.414 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002814/0.2083, allocations: 59.75 kB / 0.7394 GB, free: 6.355 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.646e-05/0.2083, allocations: 20 kB / 0.7394 GB, free: 6.336 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.0002127/0.2085, allocations: 155.5 kB / 0.7395 GB, free: 6.172 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.645e-05/0.2086, allocations: 35.73 kB / 0.7396 GB, free: 6.137 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.124e-05/0.2087, allocations: 33.97 kB / 0.7396 GB, free: 6.102 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/0.2087, allocations: 4 kB / 0.7396 GB, free: 6.098 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.966e-06/0.2087, allocations: 3.938 kB / 0.7396 GB, free: 6.094 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.919e-06/0.2087, allocations: 11.98 kB / 0.7396 GB, free: 6.082 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005235/0.2093, allocations: 328.2 kB / 0.7399 GB, free: 5.719 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.2093, allocations: 3.984 kB / 0.7399 GB, free: 5.715 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004201/0.2097, allocations: 71.91 kB / 0.74 GB, free: 5.645 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.482e-06/0.2097, allocations: 4 kB / 0.74 GB, free: 5.641 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.129e-05/0.2097, allocations: 15.98 kB / 0.74 GB, free: 5.625 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.2097, allocations: 0 / 0.74 GB, free: 5.625 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.2097, allocations: 4 kB / 0.74 GB, free: 5.621 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001202/0.2109, allocations: 0.5822 MB / 0.7406 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.858e-05/0.211, allocations: 31.75 kB / 0.7406 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.953e-05/0.211, allocations: 11.98 kB / 0.7406 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002302/0.2113, allocations: 31.97 kB / 0.7407 GB, free: 4.938 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001453/0.2114, allocations: 59.91 kB / 0.7407 GB, free: 4.879 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.006e-05/0.2114, allocations: 12 kB / 0.7407 GB, free: 4.867 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001233/0.2116, allocations: 128.4 kB / 0.7409 GB, free: 4.742 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2116, allocations: 0 / 0.7409 GB, free: 4.742 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003391/0.2119, allocations: 83.95 kB / 0.7409 GB, free: 4.66 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.001555/0.2134, allocations: 1.151 MB / 0.7421 GB, free: 3.477 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008759/0.2143, allocations: 375.1 kB / 0.7424 GB, free: 3.109 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.2143, allocations: 0 / 0.7424 GB, free: 3.109 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003861/0.2147, allocations: 182.8 kB / 0.7426 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.0003579/0.2151, allocations: 49.03 kB / 0.7426 GB, free: 2.891 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004594/0.2197, allocations: 3.187 MB / 0.7457 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004464/0.2201, allocations: 0.7726 MB / 0.7465 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001611/0.2203, allocations: 47.22 kB / 0.7465 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001811/0.2204, allocations: 91.41 kB / 0.7466 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of SimCode: time 6.32e-07/0.2204, allocations: 0 / 0.7466 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03122/0.2517, allocations: 7.028 MB / 0.7535 GB, free: 7.754 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.75/12, allocations: 10.11 kB / 0.7535 GB, free: 7.746 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.257881374040153] Failed to read output from testmodel.py, exit status != 0: 12.164682110014837 12.514353879 12.314627034 Calling exit ...