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.001282/0.001282, allocations: 84.75 kB / 19.94 MB, free: 1.758 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.001357/0.001357, allocations: 171.1 kB / 23.22 MB, free: 4.871 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.383/1.383, allocations: 177.1 MB / 203.5 MB, free: 9.129 MB / 190.1 MB " [Timeout remaining time 179] 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.8928/0.8928, allocations: 114 MB / 373.9 MB, free: 13.22 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: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 0.5547 GB, free: 2.629 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.631e-05/2.801e-05, allocations: 2.281 kB / 0.5547 GB, free: 2.625 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean): time 0.00185/0.001878, allocations: 0.8311 MB / 0.5555 GB, free: 1.793 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001865/0.003743, allocations: 1.341 MB / 0.5568 GB, free: 448 kB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.145e-05/0.003795, allocations: 3.938 kB / 0.5568 GB, free: 444 kB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 9.482e-05/0.00389, allocations: 19.8 kB / 0.5568 GB, free: 424 kB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001206/0.00401, allocations: 23.78 kB / 0.5568 GB, free: 400 kB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006888/0.004699, allocations: 280.3 kB / 0.5571 GB, free: 128 kB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003438/0.005043, allocations: 295.3 kB / 0.5574 GB, free: 15.84 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.339e-05/0.005136, allocations: 21.3 kB / 0.5574 GB, free: 15.82 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002841/0.00542, allocations: 171.8 kB / 0.5576 GB, free: 15.65 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000216/0.005636, allocations: 111.7 kB / 0.5577 GB, free: 15.54 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 5.746e-05/0.005694, allocations: 24 kB / 0.5577 GB, free: 15.52 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.395e-05/0.005788, allocations: 39.98 kB / 0.5577 GB, free: 15.48 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 7.507e-05/0.005863, allocations: 43.83 kB / 0.5578 GB, free: 15.43 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001191/0.005982, allocations: 83.8 kB / 0.5579 GB, free: 15.35 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003717/0.006354, allocations: 307.2 kB / 0.5581 GB, free: 15.05 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.394e-06/0.006356, allocations: 4 kB / 0.5581 GB, free: 15.05 MB / 478.1 MB Notification: Performance of FrontEnd: time 7.82e-07/0.006357, allocations: 4 kB / 0.5582 GB, free: 15.04 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.006361, allocations: 0 / 0.5582 GB, free: 15.04 MB / 478.1 MB 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.0009144/0.007275, allocations: 481.5 kB / 0.5586 GB, free: 14.53 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.361e-05/0.007309, allocations: 8.625 kB / 0.5586 GB, free: 14.52 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001826/0.007492, allocations: 32.83 kB / 0.5587 GB, free: 14.49 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002736/0.007765, allocations: 166.8 kB / 0.5588 GB, free: 14.3 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.267e-05/0.007798, allocations: 16.36 kB / 0.5588 GB, free: 14.29 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.281e-05/0.007851, allocations: 20.38 kB / 0.5588 GB, free: 14.27 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004262/0.008277, allocations: 187.2 kB / 0.559 GB, free: 14.07 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.008286, allocations: 4.188 kB / 0.559 GB, free: 14.07 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.438e-05/0.008311, allocations: 4.375 kB / 0.559 GB, free: 14.07 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.008317, allocations: 4.375 kB / 0.559 GB, free: 14.06 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002186/0.008536, allocations: 92.11 kB / 0.5591 GB, free: 13.97 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005961/0.009132, allocations: 356.6 kB / 0.5595 GB, free: 13.59 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003182/0.00945, allocations: 122.5 kB / 0.5596 GB, free: 13.46 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000244/0.009694, allocations: 88.75 kB / 0.5597 GB, free: 13.38 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.765e-05/0.009712, allocations: 3.938 kB / 0.5597 GB, free: 13.37 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003748/0.01009, allocations: 215.4 kB / 0.5599 GB, free: 13.15 MB / 478.1 MB Notification: Performance of pre-optimization done (n=28): time 1.963e-06/0.01009, allocations: 3.938 kB / 0.5599 GB, free: 13.15 MB / 478.1 MB Notification: Performance of matching and sorting (n=28): time 0.0009404/0.01103, allocations: 457.1 kB / 0.5603 GB, free: 12.7 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.037e-05/0.01109, allocations: 63.34 kB / 0.5604 GB, free: 12.62 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001391/0.01123, allocations: 143.8 kB / 0.5605 GB, free: 12.48 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.716e-05/0.0113, allocations: 41.7 kB / 0.5606 GB, free: 12.43 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.173e-05/0.01139, allocations: 108.7 kB / 0.5607 GB, free: 12.32 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.237e-05/0.01146, allocations: 63.58 kB / 0.5607 GB, free: 12.25 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001633/0.01162, allocations: 93.98 kB / 0.5608 GB, free: 12.15 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001682/0.01179, allocations: 330.8 kB / 0.5611 GB, free: 11.82 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004137/0.0122, allocations: 204.2 kB / 0.5613 GB, free: 11.61 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004375/0.01264, allocations: 276.9 kB / 0.5616 GB, free: 11.31 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005942/0.01324, allocations: 362.2 kB / 0.5619 GB, free: 10.92 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.01324, allocations: 0 / 0.5619 GB, free: 10.92 MB / 478.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001039/0.01428, allocations: 0.5613 MB / 0.5625 GB, free: 10.33 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.215e-05/0.01435, allocations: 71.33 kB / 0.5625 GB, free: 10.25 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/0.01436, allocations: 4 kB / 0.5625 GB, free: 10.24 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.046e-05/0.01438, allocations: 4 kB / 0.5625 GB, free: 10.24 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002398/0.01462, allocations: 52 kB / 0.5626 GB, free: 10.19 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.365e-05/0.01464, allocations: 4 kB / 0.5626 GB, free: 10.18 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000394/0.01503, allocations: 75.89 kB / 0.5627 GB, free: 10.11 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.835e-05/0.0151, allocations: 27.97 kB / 0.5627 GB, free: 10.08 MB / 478.1 MB 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.0002655/0.01536, allocations: 162.8 kB / 0.5629 GB, free: 9.914 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.45e-05/0.01541, allocations: 19.89 kB / 0.5629 GB, free: 9.895 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.887e-05/0.01545, allocations: 9.969 kB / 0.5629 GB, free: 9.891 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.01545, allocations: 4 kB / 0.5629 GB, free: 9.887 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/0.01546, allocations: 0 / 0.5629 GB, free: 9.887 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.01547, allocations: 4 kB / 0.5629 GB, free: 9.883 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009464/0.01641, allocations: 0.5961 MB / 0.5635 GB, free: 9.25 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.211e-06/0.01642, allocations: 3.984 kB / 0.5635 GB, free: 9.246 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.118e-05/0.01646, allocations: 4 kB / 0.5635 GB, free: 9.242 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.551e-06/0.01647, allocations: 4 kB / 0.5635 GB, free: 9.238 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.654e-05/0.01649, allocations: 7.984 kB / 0.5635 GB, free: 9.23 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.01649, allocations: 0 / 0.5635 GB, free: 9.23 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.0165, allocations: 3.984 kB / 0.5635 GB, free: 9.227 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007743/0.01727, allocations: 468.8 kB / 0.5639 GB, free: 8.754 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.751e-05/0.0173, allocations: 27.84 kB / 0.564 GB, free: 8.727 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.542e-05/0.01736, allocations: 11.98 kB / 0.564 GB, free: 8.715 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001144/0.01747, allocations: 7.984 kB / 0.564 GB, free: 8.707 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.367e-05/0.01755, allocations: 19.97 kB / 0.564 GB, free: 8.688 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.7e-05/0.01759, allocations: 15.98 kB / 0.564 GB, free: 8.672 MB / 478.1 MB Notification: Performance of sorting global known variables: time 8.607e-05/0.01768, allocations: 105.3 kB / 0.5641 GB, free: 8.57 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.01768, allocations: 0 / 0.5641 GB, free: 8.57 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0003773/0.01805, allocations: 71.92 kB / 0.5642 GB, free: 8.5 MB / 478.1 MB 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.0003242/0.01838, allocations: 137.1 kB / 0.5643 GB, free: 8.359 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0008568/0.01924, allocations: 489.7 kB / 0.5648 GB, free: 7.844 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.01924, allocations: 0 / 0.5648 GB, free: 7.844 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002294/0.01947, allocations: 95.89 kB / 0.5649 GB, free: 7.75 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003914/0.01986, allocations: 36.22 kB / 0.5649 GB, free: 7.715 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006355/0.02049, allocations: 307 kB / 0.5652 GB, free: 7.383 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001266/0.02062, allocations: 110.5 kB / 0.5653 GB, free: 7.254 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 5.641e-05/0.02068, allocations: 21.58 kB / 0.5653 GB, free: 7.234 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.456e-05/0.02073, allocations: 20.5 kB / 0.5654 GB, free: 7.215 MB / 478.1 MB Notification: Performance of SimCode: time 3.11e-07/0.02073, allocations: 0 / 0.5654 GB, free: 7.215 MB / 478.1 MB Notification: Performance of Templates: time 0.008698/0.02943, allocations: 3.839 MB / 0.5691 GB, free: 3.469 MB / 478.1 MB " [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.167184203863144] Failed to read output from testmodel.py, exit status != 0: 0.037327028810977936 0.052738649000000005 0.043327166 Calling exit ...