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.001275/0.001275, 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.001447/0.001447, 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.493/1.493, allocations: 230.6 MB / 257.6 MB, free: 8.023 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.9892/0.9892, allocations: 150 MB / 464 MB, free: 10.5 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,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_MovingAverage",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_MovingAverage",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.002103/0.002103, allocations: 66.08 kB / 0.6421 GB, free: 10.33 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1877/0.1898, allocations: 89.17 MB / 0.7292 GB, free: 1.23 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.002607/0.1924, allocations: 1.097 MB / 0.7302 GB, free: 136 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001877/0.1943, allocations: 1.159 MB / 0.7314 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001517/0.1944, allocations: 4 kB / 0.7314 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 8.37e-05/0.1945, allocations: 15.75 kB / 0.7314 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001857/0.1947, allocations: 39.59 kB / 0.7314 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005935/0.1953, allocations: 156 kB / 0.7316 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0004646/0.1957, allocations: 323.1 kB / 0.7319 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001777/0.1959, allocations: 36.56 kB / 0.7319 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003516/0.1963, allocations: 151.5 kB / 0.7321 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002839/0.1966, allocations: 151.4 kB / 0.7322 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.223e-05/0.1966, allocations: 28 kB / 0.7322 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.721e-05/0.1967, allocations: 32 kB / 0.7323 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.761e-05/0.1968, allocations: 79.78 kB / 0.7323 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001445/0.1969, allocations: 131.4 kB / 0.7325 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00039/0.1973, allocations: 323 kB / 0.7328 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.1973, allocations: 0 / 0.7328 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.194e-06/0.1973, allocations: 0 / 0.7328 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.033e-06/0.1973, allocations: 3.938 kB / 0.7328 GB, free: 13.52 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.001291/0.1986, allocations: 0.556 MB / 0.7333 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/0.1987, allocations: 12.03 kB / 0.7333 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.228e-05/0.1987, allocations: 4.625 kB / 0.7333 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.886e-05/0.1988, allocations: 54.73 kB / 0.7334 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003551/0.1991, allocations: 64.7 kB / 0.7335 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001529/0.1993, allocations: 147 kB / 0.7336 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004242/0.1997, allocations: 499.6 kB / 0.7341 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.517e-05/0.1998, allocations: 32.38 kB / 0.7341 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005469/0.2003, allocations: 257.8 kB / 0.7343 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.564e-05/0.2003, allocations: 7.953 kB / 0.7344 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.14e-05/0.2004, allocations: 12 kB / 0.7344 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/0.2004, allocations: 4 kB / 0.7344 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004579/0.2008, allocations: 175.8 kB / 0.7345 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001385/0.2022, allocations: 0.7456 MB / 0.7353 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005797/0.2028, allocations: 196.3 kB / 0.7355 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002904/0.2031, allocations: 126.5 kB / 0.7356 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.437e-05/0.2031, allocations: 15.98 kB / 0.7356 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006806/0.2038, allocations: 323.8 kB / 0.7359 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=48): time 2.054e-06/0.2038, allocations: 0 / 0.7359 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of matching and sorting (n=48): time 0.001119/0.2049, allocations: 476.7 kB / 0.7363 GB, free: 9.551 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.498e-05/0.205, allocations: 126.7 kB / 0.7365 GB, free: 9.402 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00018/0.2052, allocations: 179.5 kB / 0.7366 GB, free: 9.215 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.012e-05/0.2053, allocations: 41.7 kB / 0.7367 GB, free: 9.168 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.168e-05/0.2053, allocations: 121.4 kB / 0.7368 GB, free: 9.047 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001369/0.2055, allocations: 150.8 kB / 0.7369 GB, free: 8.898 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001667/0.2056, allocations: 106.3 kB / 0.737 GB, free: 8.789 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001707/0.2058, allocations: 342.8 kB / 0.7374 GB, free: 8.445 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003339/0.2061, allocations: 149.2 kB / 0.7375 GB, free: 8.301 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004262/0.2066, allocations: 248.7 kB / 0.7377 GB, free: 8.02 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006839/0.2073, allocations: 394 kB / 0.7381 GB, free: 7.598 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-06/0.2073, allocations: 4 kB / 0.7381 GB, free: 7.594 MB / 0.5606 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.000966/0.2082, allocations: 493 kB / 0.7386 GB, free: 7.105 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.245e-05/0.2082, allocations: 8 kB / 0.7386 GB, free: 7.098 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.2083, allocations: 0 / 0.7386 GB, free: 7.098 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.6e-05/0.2083, allocations: 8 kB / 0.7386 GB, free: 7.09 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004135/0.2087, allocations: 103.8 kB / 0.7387 GB, free: 6.988 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.847e-05/0.2087, allocations: 8 kB / 0.7387 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002953/0.209, allocations: 59.64 kB / 0.7388 GB, free: 6.922 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.823e-05/0.209, allocations: 20 kB / 0.7388 GB, free: 6.902 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.0002071/0.2093, allocations: 163.4 kB / 0.739 GB, free: 6.73 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.177e-05/0.2093, allocations: 31.8 kB / 0.739 GB, free: 6.699 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.147e-05/0.2094, allocations: 29.97 kB / 0.739 GB, free: 6.672 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/0.2094, allocations: 8 kB / 0.739 GB, free: 6.664 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.2094, allocations: 0 / 0.739 GB, free: 6.664 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.225e-06/0.2094, allocations: 3.984 kB / 0.739 GB, free: 6.66 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004041/0.2098, allocations: 332.3 kB / 0.7393 GB, free: 6.293 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.572e-06/0.2098, allocations: 8 kB / 0.7393 GB, free: 6.285 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004098/0.2102, allocations: 71.83 kB / 0.7394 GB, free: 6.215 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/0.2102, allocations: 4 kB / 0.7394 GB, free: 6.211 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.746e-05/0.2103, allocations: 12 kB / 0.7394 GB, free: 6.199 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-06/0.2103, allocations: 8 kB / 0.7394 GB, free: 6.191 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.2103, allocations: 0.7031 kB / 0.7394 GB, free: 6.191 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001218/0.2115, allocations: 0.5799 MB / 0.74 GB, free: 5.59 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.964e-05/0.2116, allocations: 35.72 kB / 0.74 GB, free: 5.555 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.107e-05/0.2116, allocations: 8 kB / 0.74 GB, free: 5.547 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002425/0.2118, allocations: 31.97 kB / 0.7401 GB, free: 5.516 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001319/0.212, allocations: 55.91 kB / 0.7401 GB, free: 5.461 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.379e-05/0.212, allocations: 20.08 kB / 0.7402 GB, free: 5.441 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001137/0.2121, allocations: 121.2 kB / 0.7403 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2121, allocations: 0 / 0.7403 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003768/0.2125, allocations: 87.95 kB / 0.7403 GB, free: 5.238 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.001563/0.2141, allocations: 1.144 MB / 0.7415 GB, free: 4.059 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000842/0.2149, allocations: 367.6 kB / 0.7418 GB, free: 3.703 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.2149, allocations: 0 / 0.7418 GB, free: 3.703 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003924/0.2153, allocations: 183.1 kB / 0.742 GB, free: 3.527 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003496/0.2157, allocations: 51.91 kB / 0.742 GB, free: 3.477 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004591/0.2202, allocations: 3.177 MB / 0.7451 GB, free: 132 kB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004844/0.2207, allocations: 0.7609 MB / 0.7459 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001974/0.2209, allocations: 42.95 kB / 0.7459 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002081/0.2211, allocations: 91.41 kB / 0.746 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of SimCode: time 1.593e-06/0.2211, allocations: 0 / 0.746 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03095/0.2521, allocations: 6.939 MB / 0.7528 GB, free: 8.457 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.73/11.98, allocations: 8.875 kB / 0.7528 GB, free: 8.453 MB / 0.5762 GB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_MovingAverage_fmu --startTime=0 --stopTime=900 --stepSize=0.36 --timeout=50 --tolerance=1e-06 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: 16.339573149976786] Failed to read output from testmodel.py, exit status != 0: 12.14749311801279 12.544308114 12.344308177 Calling exit ...