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.001741/0.001741, allocations: 114.2 kB / 17.84 MB, free: 5.336 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.002063/0.002063, allocations: 207.1 kB / 20.8 MB, free: 2.391 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.652/1.652, allocations: 230.6 MB / 254.2 MB, free: 15.09 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.032/1.032, allocations: 150 MB / 460.2 MB, free: 5.719 MB / 350.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.002029/0.002029, allocations: 66.55 kB / 0.6369 GB, free: 30.34 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1886/0.1906, allocations: 89.14 MB / 0.7239 GB, free: 4.047 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.002318/0.1929, allocations: 1.097 MB / 0.725 GB, free: 2.945 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001575/0.1945, allocations: 1.156 MB / 0.7261 GB, free: 1.777 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.637e-05/0.1946, allocations: 3.938 kB / 0.7261 GB, free: 1.773 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 5.548e-05/0.1946, allocations: 15.75 kB / 0.7261 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001173/0.1947, allocations: 43.56 kB / 0.7262 GB, free: 1.715 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004701/0.1952, allocations: 147.8 kB / 0.7263 GB, free: 1.57 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003722/0.1956, allocations: 327.1 kB / 0.7266 GB, free: 1.246 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001471/0.1957, allocations: 44.31 kB / 0.7267 GB, free: 1.199 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002296/0.196, allocations: 139.6 kB / 0.7268 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002011/0.1962, allocations: 155.3 kB / 0.7269 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 5.14e-05/0.1962, allocations: 28 kB / 0.727 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.004e-05/0.1963, allocations: 32 kB / 0.727 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 7.237e-05/0.1964, allocations: 79.8 kB / 0.7271 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001273/0.1965, allocations: 135.3 kB / 0.7272 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000353/0.1968, allocations: 322.9 kB / 0.7275 GB, free: 332 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1968, allocations: 0 / 0.7275 GB, free: 332 kB / 0.5294 GB Notification: Performance of FrontEnd: time 1.212e-06/0.1968, allocations: 0 / 0.7275 GB, free: 332 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.091e-06/0.1969, allocations: 0 / 0.7275 GB, free: 332 kB / 0.5294 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.001296/0.1981, allocations: 0.6351 MB / 0.7281 GB, free: 15.64 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.1982, allocations: 8.031 kB / 0.7281 GB, free: 15.63 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.257e-05/0.1982, allocations: 4.625 kB / 0.7281 GB, free: 15.63 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.632e-05/0.1983, allocations: 62.72 kB / 0.7282 GB, free: 15.56 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003367/0.1986, allocations: 56.77 kB / 0.7283 GB, free: 15.5 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000173/0.1988, allocations: 200.9 kB / 0.7284 GB, free: 15.27 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002413/0.199, allocations: 268.3 kB / 0.7287 GB, free: 14.95 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.866e-05/0.1991, allocations: 32.33 kB / 0.7287 GB, free: 14.92 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005326/0.1996, allocations: 265.8 kB / 0.729 GB, free: 14.64 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.903e-05/0.1996, allocations: 4 kB / 0.729 GB, free: 14.64 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.998e-05/0.1997, allocations: 4 kB / 0.729 GB, free: 14.63 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.1997, allocations: 4 kB / 0.729 GB, free: 14.63 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004568/0.2001, allocations: 183.8 kB / 0.7292 GB, free: 14.45 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001137/0.2013, allocations: 0.7776 MB / 0.7299 GB, free: 13.61 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005144/0.2018, allocations: 199.7 kB / 0.7301 GB, free: 13.39 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002656/0.2021, allocations: 123.5 kB / 0.7302 GB, free: 13.26 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.319e-05/0.2021, allocations: 7.984 kB / 0.7302 GB, free: 13.25 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006023/0.2027, allocations: 315.6 kB / 0.7305 GB, free: 12.92 MB / 0.545 GB Notification: Performance of pre-optimization done (n=48): time 1.833e-06/0.2027, allocations: 0 / 0.7305 GB, free: 12.92 MB / 0.545 GB Notification: Performance of matching and sorting (n=48): time 0.001135/0.2038, allocations: 497.8 kB / 0.731 GB, free: 12.43 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.36e-05/0.2039, allocations: 118.8 kB / 0.7311 GB, free: 12.29 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001982/0.2041, allocations: 183.3 kB / 0.7313 GB, free: 12.1 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.6e-05/0.2042, allocations: 41.69 kB / 0.7314 GB, free: 12.05 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.42e-05/0.2043, allocations: 113.4 kB / 0.7315 GB, free: 11.94 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001519/0.2044, allocations: 158.8 kB / 0.7316 GB, free: 11.79 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001698/0.2046, allocations: 106.3 kB / 0.7317 GB, free: 11.68 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001752/0.2048, allocations: 338.8 kB / 0.732 GB, free: 11.34 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003326/0.2051, allocations: 153.2 kB / 0.7322 GB, free: 11.19 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000407/0.2055, allocations: 248.8 kB / 0.7324 GB, free: 10.91 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007119/0.2062, allocations: 402 kB / 0.7328 GB, free: 10.48 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.2062, allocations: 0 / 0.7328 GB, free: 10.48 MB / 0.545 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009603/0.2072, allocations: 497.6 kB / 0.7333 GB, free: 9.984 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/0.2072, allocations: 8 kB / 0.7333 GB, free: 9.977 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.365e-06/0.2072, allocations: 0 / 0.7333 GB, free: 9.977 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.252e-05/0.2072, allocations: 8 kB / 0.7333 GB, free: 9.969 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004021/0.2076, allocations: 91.83 kB / 0.7334 GB, free: 9.879 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.828e-05/0.2077, allocations: 11.98 kB / 0.7334 GB, free: 9.867 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002838/0.2079, allocations: 55.7 kB / 0.7334 GB, free: 9.812 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.67e-05/0.208, allocations: 24 kB / 0.7335 GB, free: 9.789 MB / 0.545 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.0001889/0.2082, allocations: 159.4 kB / 0.7336 GB, free: 9.625 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.836e-05/0.2082, allocations: 35.78 kB / 0.7337 GB, free: 9.59 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.155e-05/0.2083, allocations: 29.88 kB / 0.7337 GB, free: 9.555 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.2083, allocations: 4 kB / 0.7337 GB, free: 9.551 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.034e-05/0.2083, allocations: 4.062 kB / 0.7337 GB, free: 9.547 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.05e-05/0.2083, allocations: 11.92 kB / 0.7337 GB, free: 9.535 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000428/0.2088, allocations: 357.2 kB / 0.734 GB, free: 9.137 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.2088, allocations: 4 kB / 0.734 GB, free: 9.133 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004116/0.2092, allocations: 79.83 kB / 0.7341 GB, free: 9.055 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.2092, allocations: 0 / 0.7341 GB, free: 9.055 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.55e-05/0.2092, allocations: 11.98 kB / 0.7341 GB, free: 9.043 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.021e-05/0.2092, allocations: 4 kB / 0.7341 GB, free: 9.039 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.2092, allocations: 0 / 0.7341 GB, free: 9.039 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001107/0.2103, allocations: 0.5825 MB / 0.7347 GB, free: 8.434 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.586e-05/0.2104, allocations: 108.8 kB / 0.7348 GB, free: 8.309 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.86e-05/0.2105, allocations: 11.98 kB / 0.7348 GB, free: 8.297 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002425/0.2107, allocations: 31.97 kB / 0.7349 GB, free: 8.266 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001298/0.2108, allocations: 55.94 kB / 0.7349 GB, free: 8.211 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.183e-05/0.2109, allocations: 19.98 kB / 0.7349 GB, free: 8.191 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001193/0.211, allocations: 120.1 kB / 0.735 GB, free: 8.074 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.211, allocations: 0 / 0.735 GB, free: 8.074 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000333/0.2113, allocations: 83.98 kB / 0.7351 GB, free: 7.992 MB / 0.545 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.001541/0.2129, allocations: 1.147 MB / 0.7362 GB, free: 6.816 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0007727/0.2136, allocations: 362.9 kB / 0.7366 GB, free: 6.461 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.2136, allocations: 0 / 0.7366 GB, free: 6.461 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003877/0.214, allocations: 183.1 kB / 0.7368 GB, free: 6.285 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00036/0.2144, allocations: 47.91 kB / 0.7368 GB, free: 6.238 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004409/0.2188, allocations: 3.17 MB / 0.7399 GB, free: 2.91 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004183/0.2192, allocations: 0.7724 MB / 0.7407 GB, free: 2.109 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001451/0.2194, allocations: 38.97 kB / 0.7407 GB, free: 2.074 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001909/0.2195, allocations: 91.41 kB / 0.7408 GB, free: 1.984 MB / 0.545 GB Notification: Performance of SimCode: time 6.71e-07/0.2195, allocations: 0 / 0.7408 GB, free: 1.984 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02653/0.2461, allocations: 6.596 MB / 0.7472 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.713/8.959, allocations: 10.28 kB / 0.7472 GB, free: 11.54 MB / 0.5606 GB " [Timeout remaining time 651] (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: 13.176047213026322] Failed to read output from testmodel.py, exit status != 0: 9.088943496986758 9.104598551 8.90472412 Calling exit ...