Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean.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.001662/0.001662, allocations: 114.5 kB / 17.13 MB, free: 6.027 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.001438/0.001438, allocations: 207.2 kB / 20.1 MB, free: 3.074 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.48/1.48, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.9964/0.9964, allocations: 150 MB / 459.5 MB, free: 5.309 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: translateModel(IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean") translateModel(IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean") [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.00199/0.00199, allocations: 68.23 kB / 0.6366 GB, free: 30.35 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2019/0.2038, allocations: 89.13 MB / 0.7236 GB, free: 3.559 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean): time 0.002228/0.2061, allocations: 0.8509 MB / 0.7244 GB, free: 2.707 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001928/0.208, allocations: 1.359 MB / 0.7258 GB, free: 1.336 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.263e-05/0.2081, allocations: 4 kB / 0.7258 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001124/0.2082, allocations: 19.73 kB / 0.7258 GB, free: 1.312 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001412/0.2083, allocations: 31.78 kB / 0.7258 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007266/0.209, allocations: 275.1 kB / 0.7261 GB, free: 1.02 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003364/0.2094, allocations: 279.5 kB / 0.7264 GB, free: 0.7461 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.2095, allocations: 21.11 kB / 0.7264 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002358/0.2097, allocations: 147.6 kB / 0.7265 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002331/0.21, allocations: 123.6 kB / 0.7266 GB, free: 472 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.912e-05/0.21, allocations: 24 kB / 0.7267 GB, free: 448 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 9.77e-05/0.2101, allocations: 47.92 kB / 0.7267 GB, free: 400 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 7.385e-05/0.2102, allocations: 43.83 kB / 0.7267 GB, free: 356 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001229/0.2103, allocations: 103.6 kB / 0.7268 GB, free: 252 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003407/0.2106, allocations: 271 kB / 0.7271 GB, free: 15.98 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.2106, allocations: 4 kB / 0.7271 GB, free: 15.98 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.363e-06/0.2106, allocations: 0 / 0.7271 GB, free: 15.98 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.63e-06/0.2107, allocations: 0 / 0.7271 GB, free: 15.98 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.001006/0.2117, allocations: 0.5376 MB / 0.7276 GB, free: 15.37 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.2117, allocations: 12.03 kB / 0.7276 GB, free: 15.36 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001877/0.2119, allocations: 32.77 kB / 0.7277 GB, free: 15.33 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000288/0.2122, allocations: 226.3 kB / 0.7279 GB, free: 15.07 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.831e-05/0.2122, allocations: 16.36 kB / 0.7279 GB, free: 15.05 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.932e-05/0.2123, allocations: 20.38 kB / 0.7279 GB, free: 15.04 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003928/0.2127, allocations: 185.8 kB / 0.7281 GB, free: 14.85 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.2127, allocations: 8.188 kB / 0.7281 GB, free: 14.84 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.688e-05/0.2127, allocations: 7.938 kB / 0.7281 GB, free: 14.83 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.2127, allocations: 7.984 kB / 0.7281 GB, free: 14.82 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002202/0.2129, allocations: 92.11 kB / 0.7282 GB, free: 14.73 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006598/0.2136, allocations: 472.7 kB / 0.7287 GB, free: 14.22 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002631/0.2138, allocations: 122.4 kB / 0.7288 GB, free: 14.09 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001666/0.214, allocations: 80.81 kB / 0.7289 GB, free: 14.01 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.35e-05/0.214, allocations: 4 kB / 0.7289 GB, free: 14.01 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003568/0.2144, allocations: 205 kB / 0.7291 GB, free: 13.8 MB / 0.545 GB Notification: Performance of pre-optimization done (n=28): time 1.603e-06/0.2144, allocations: 7.938 kB / 0.7291 GB, free: 13.79 MB / 0.545 GB Notification: Performance of matching and sorting (n=28): time 0.000926/0.2153, allocations: 453.3 kB / 0.7295 GB, free: 13.34 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.007e-05/0.2154, allocations: 63.39 kB / 0.7296 GB, free: 13.27 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001631/0.2155, allocations: 142.1 kB / 0.7297 GB, free: 13.12 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.99e-05/0.2156, allocations: 37.7 kB / 0.7297 GB, free: 13.08 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.541e-05/0.2157, allocations: 104.6 kB / 0.7298 GB, free: 12.97 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 9.146e-05/0.2158, allocations: 71.52 kB / 0.7299 GB, free: 12.9 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001925/0.216, allocations: 86 kB / 0.73 GB, free: 12.81 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002008/0.2162, allocations: 338.7 kB / 0.7303 GB, free: 12.47 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003316/0.2165, allocations: 148.7 kB / 0.7304 GB, free: 12.32 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003656/0.2169, allocations: 205.2 kB / 0.7306 GB, free: 12.1 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005858/0.2175, allocations: 370.2 kB / 0.731 GB, free: 11.7 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.2175, allocations: 0 / 0.731 GB, free: 11.7 MB / 0.545 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009557/0.2184, allocations: 0.4916 MB / 0.7315 GB, free: 11.2 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.492e-05/0.2185, allocations: 71.39 kB / 0.7315 GB, free: 11.11 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/0.2185, allocations: 0 / 0.7315 GB, free: 11.11 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.76e-05/0.2185, allocations: 4 kB / 0.7315 GB, free: 11.11 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002407/0.2188, allocations: 56.03 kB / 0.7316 GB, free: 11.05 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.394e-05/0.2188, allocations: 7.938 kB / 0.7316 GB, free: 11.05 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003997/0.2192, allocations: 75.72 kB / 0.7317 GB, free: 10.97 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.194e-05/0.2192, allocations: 23.98 kB / 0.7317 GB, free: 10.95 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 42 ($whenCondition5,$whenCondition6,booPul1.y,$PRE.booPul1.y,$whenCondition4,booPul.y,$PRE.booPul.y,$whenCondition3,$whenCondition1,$whenCondition2,triMovMea2.ySample[3],$PRE.triMovMea2.ySample[3],triMovMea2.ySample[2],$PRE.triMovMea2.ySample[2],triMovMea2.ySample[1],$PRE.triMovMea2.ySample[1],triMovMea2.index,triMovMea2.counter,$PRE.triMovMea2.counter,triMovMea2.iSample,$PRE.triMovMea2.iSample,triMovMea2.y,triMovMea1.ySample[1],$PRE.triMovMea1.ySample[1],triMovMea1.index,triMovMea1.counter,$PRE.triMovMea1.counter,triMovMea1.iSample,$PRE.triMovMea1.iSample,triMovMea1.y,triMovMea.ySample[3],$PRE.triMovMea.ySample[3],triMovMea.ySample[2],$PRE.triMovMea.ySample[2],triMovMea.ySample[1],$PRE.triMovMea.ySample[1],triMovMea.index,triMovMea.counter,$PRE.triMovMea.counter,triMovMea.iSample,$PRE.triMovMea.iSample,triMovMea.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 35 * Array equations: 2 * Algorithm blocks: 2 * 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.0002422/0.2195, allocations: 169.7 kB / 0.7319 GB, free: 10.77 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.411e-05/0.2195, allocations: 15.91 kB / 0.7319 GB, free: 10.76 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.313e-05/0.2196, allocations: 13.88 kB / 0.7319 GB, free: 10.75 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.2196, allocations: 4 kB / 0.7319 GB, free: 10.74 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.09e-05/0.2196, allocations: 3.984 kB / 0.7319 GB, free: 10.74 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.185e-06/0.2196, allocations: 3.938 kB / 0.7319 GB, free: 10.73 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009883/0.2206, allocations: 0.6584 MB / 0.7325 GB, free: 10.02 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.2206, allocations: 4 kB / 0.7325 GB, free: 10.02 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.436e-05/0.2206, allocations: 15.97 kB / 0.7326 GB, free: 10 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.2206, allocations: 3.938 kB / 0.7326 GB, free: 9.996 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.685e-05/0.2207, allocations: 11.92 kB / 0.7326 GB, free: 9.984 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.2207, allocations: 3.938 kB / 0.7326 GB, free: 9.98 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2207, allocations: 0 / 0.7326 GB, free: 9.98 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006742/0.2213, allocations: 451.3 kB / 0.733 GB, free: 9.523 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.01e-05/0.2214, allocations: 92.95 kB / 0.7331 GB, free: 9.414 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.372e-05/0.2215, allocations: 19.98 kB / 0.7331 GB, free: 9.395 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001228/0.2216, allocations: 11.92 kB / 0.7331 GB, free: 9.383 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.503e-05/0.2216, allocations: 19.97 kB / 0.7331 GB, free: 9.363 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.299e-05/0.2217, allocations: 19.98 kB / 0.7332 GB, free: 9.344 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.147e-05/0.2218, allocations: 100.8 kB / 0.7333 GB, free: 9.246 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.2218, allocations: 0 / 0.7333 GB, free: 9.246 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003481/0.2221, allocations: 67.94 kB / 0.7333 GB, free: 9.18 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 27 ($whenCondition5,$whenCondition6,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,triMovMea.y,triMovMea.iSample,triMovMea.counter,triMovMea.index,triMovMea.ySample[1],triMovMea.ySample[2],triMovMea.ySample[3],triMovMea1.y,triMovMea1.iSample,triMovMea1.counter,triMovMea1.index,triMovMea1.ySample[1],triMovMea2.y,triMovMea2.iSample,triMovMea2.counter,triMovMea2.index,triMovMea2.ySample[1],triMovMea2.ySample[2],triMovMea2.ySample[3],booPul1.y) * Number of discrete states: 13 (triMovMea2.iSample,triMovMea2.ySample[1],triMovMea2.ySample[2],triMovMea2.ySample[3],triMovMea2.counter,triMovMea.iSample,triMovMea.counter,triMovMea.ySample[1],triMovMea.ySample[2],triMovMea.ySample[3],triMovMea1.iSample,triMovMea1.counter,triMovMea1.ySample[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 17 * 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.0002368/0.2223, allocations: 137.4 kB / 0.7335 GB, free: 9.039 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0007752/0.2231, allocations: 411.2 kB / 0.7339 GB, free: 8.613 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.2231, allocations: 0 / 0.7339 GB, free: 8.613 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002154/0.2233, allocations: 103.9 kB / 0.734 GB, free: 8.512 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003647/0.2237, allocations: 33.25 kB / 0.734 GB, free: 8.48 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006826/0.2244, allocations: 327.4 kB / 0.7343 GB, free: 8.133 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003767/0.2248, allocations: 0.7167 MB / 0.735 GB, free: 7.387 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.49e-05/0.2248, allocations: 21.55 kB / 0.735 GB, free: 7.367 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.867e-05/0.2249, allocations: 23.42 kB / 0.735 GB, free: 7.344 MB / 0.545 GB Notification: Performance of SimCode: time 2.81e-07/0.2249, allocations: 0 / 0.735 GB, free: 7.344 MB / 0.545 GB Notification: Performance of Templates: time 0.007687/0.2326, allocations: 3.598 MB / 0.7386 GB, free: 3.789 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.976206407882273] Failed to read output from testmodel.py, exit status != 0: 0.23988656280562282 0.25372016799999997 0.04021885699999994 Calling exit ...