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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001809/0.001809, allocations: 106.9 kB / 17.07 MB, free: 6.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002152/0.002152, allocations: 190.8 kB / 20.02 MB, free: 3.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.61/1.61, allocations: 222.9 MB / 245.7 MB, free: 4.234 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.097/1.097, allocations: 147.6 MB / 445.5 MB, free: 8.43 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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="me",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="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002038/0.002038, allocations: 66.5 kB / 0.611 GB, free: 37.71 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1574/0.1595, allocations: 83.15 MB / 0.6922 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.003912/0.1634, allocations: 1.962 MB / 0.6941 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001415/0.1649, allocations: 0.6489 MB / 0.6947 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001684/0.1651, allocations: 2.156 kB / 0.6947 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 8.14e-05/0.1652, allocations: 23.67 kB / 0.6947 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001487/0.1653, allocations: 41.23 kB / 0.6948 GB, free: 11.28 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005228/0.1659, allocations: 149.6 kB / 0.6949 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003566/0.1662, allocations: 318.9 kB / 0.6952 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001685/0.1664, allocations: 49 kB / 0.6953 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002094/0.1666, allocations: 135.8 kB / 0.6954 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000224/0.1669, allocations: 151.3 kB / 0.6955 GB, free: 10.76 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 5.835e-05/0.1669, allocations: 28.88 kB / 0.6956 GB, free: 10.76 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 5.401e-05/0.167, allocations: 30.25 kB / 0.6956 GB, free: 10.76 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 9.338e-05/0.1671, allocations: 76.06 kB / 0.6957 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001499/0.1672, allocations: 132.3 kB / 0.6958 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003866/0.1676, allocations: 311.1 kB / 0.6961 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.1676, allocations: 0 / 0.6961 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.633e-06/0.1676, allocations: 4 kB / 0.6961 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.873e-06/0.1677, allocations: 0 / 0.6961 GB, free: 10.36 MB / 0.5137 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.001364/0.169, allocations: 0.6309 MB / 0.6967 GB, free: 9.82 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.1691, allocations: 9.281 kB / 0.6967 GB, free: 9.82 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.967e-05/0.1692, allocations: 58.16 kB / 0.6968 GB, free: 9.762 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.125e-05/0.1693, allocations: 37.39 kB / 0.6968 GB, free: 9.742 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001984/0.1695, allocations: 204.4 kB / 0.697 GB, free: 9.512 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002676/0.1697, allocations: 265.4 kB / 0.6973 GB, free: 9.211 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.837e-05/0.1698, allocations: 27 kB / 0.6973 GB, free: 9.203 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005871/0.1704, allocations: 265.2 kB / 0.6975 GB, free: 9.027 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.929e-05/0.1704, allocations: 2.188 kB / 0.6975 GB, free: 9.027 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.725e-05/0.1705, allocations: 5.312 kB / 0.6975 GB, free: 9.023 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.1705, allocations: 5 kB / 0.6975 GB, free: 9.023 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004327/0.1709, allocations: 178.3 kB / 0.6977 GB, free: 8.941 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001177/0.1721, allocations: 0.7841 MB / 0.6985 GB, free: 8.23 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005392/0.1726, allocations: 204.3 kB / 0.6987 GB, free: 8.074 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002734/0.1729, allocations: 126.5 kB / 0.6988 GB, free: 7.941 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 5.277e-05/0.173, allocations: 24.28 kB / 0.6988 GB, free: 7.918 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006145/0.1736, allocations: 303.3 kB / 0.6991 GB, free: 7.598 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=48): time 1.753e-06/0.1736, allocations: 3.938 kB / 0.6991 GB, free: 7.594 MB / 0.5137 GB Notification: Performance of matching and sorting (n=48): time 0.001102/0.1747, allocations: 484 kB / 0.6996 GB, free: 7.117 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000116/0.1749, allocations: 122.8 kB / 0.6997 GB, free: 6.973 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001878/0.175, allocations: 171.5 kB / 0.6999 GB, free: 6.793 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.64e-05/0.1751, allocations: 41.7 kB / 0.6999 GB, free: 6.746 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 9.765e-05/0.1752, allocations: 129.2 kB / 0.7 GB, free: 6.617 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001586/0.1754, allocations: 154.8 kB / 0.7002 GB, free: 6.465 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001572/0.1755, allocations: 106.3 kB / 0.7003 GB, free: 6.355 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001923/0.1757, allocations: 334.8 kB / 0.7006 GB, free: 6.02 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003355/0.1761, allocations: 153.2 kB / 0.7007 GB, free: 5.871 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004184/0.1765, allocations: 252.8 kB / 0.701 GB, free: 5.586 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007015/0.1772, allocations: 402 kB / 0.7014 GB, free: 5.156 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.1772, allocations: 0 / 0.7014 GB, free: 5.156 MB / 0.5137 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009639/0.1782, allocations: 497 kB / 0.7018 GB, free: 4.664 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.1782, allocations: 4 kB / 0.7018 GB, free: 4.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/0.1782, allocations: 4 kB / 0.7018 GB, free: 4.656 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.126e-05/0.1783, allocations: 4 kB / 0.7018 GB, free: 4.652 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003895/0.1787, allocations: 99.83 kB / 0.7019 GB, free: 4.555 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.387e-05/0.1787, allocations: 7.938 kB / 0.7019 GB, free: 4.547 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002933/0.179, allocations: 59.73 kB / 0.702 GB, free: 4.488 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.811e-05/0.179, allocations: 20 kB / 0.702 GB, free: 4.469 MB / 0.5137 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.0002021/0.1792, allocations: 163.5 kB / 0.7022 GB, free: 4.301 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.438e-05/0.1793, allocations: 31.75 kB / 0.7022 GB, free: 4.27 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.5e-05/0.1794, allocations: 33.86 kB / 0.7022 GB, free: 4.234 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.1794, allocations: 4 kB / 0.7022 GB, free: 4.23 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.045e-05/0.1794, allocations: 4 kB / 0.7022 GB, free: 4.227 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.937e-06/0.1794, allocations: 3.984 kB / 0.7023 GB, free: 4.223 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004317/0.1799, allocations: 357.2 kB / 0.7026 GB, free: 3.824 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.1799, allocations: 3.938 kB / 0.7026 GB, free: 3.82 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004466/0.1803, allocations: 75.89 kB / 0.7027 GB, free: 3.746 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.091e-06/0.1804, allocations: 4 kB / 0.7027 GB, free: 3.742 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.011e-05/0.1804, allocations: 15.98 kB / 0.7027 GB, free: 3.727 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.1804, allocations: 0 / 0.7027 GB, free: 3.727 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.1804, allocations: 4 kB / 0.7027 GB, free: 3.723 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001164/0.1816, allocations: 0.5824 MB / 0.7033 GB, free: 3.117 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.546e-05/0.1817, allocations: 108.8 kB / 0.7034 GB, free: 2.992 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.744e-05/0.1817, allocations: 11.98 kB / 0.7034 GB, free: 2.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002305/0.182, allocations: 27.97 kB / 0.7034 GB, free: 2.953 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001406/0.1821, allocations: 51.94 kB / 0.7035 GB, free: 2.902 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.466e-05/0.1822, allocations: 24.05 kB / 0.7035 GB, free: 2.879 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001116/0.1823, allocations: 121.4 kB / 0.7036 GB, free: 2.762 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.9e-07/0.1823, allocations: 0 / 0.7036 GB, free: 2.762 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003302/0.1826, allocations: 87.88 kB / 0.7037 GB, free: 2.676 MB / 0.5137 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.001605/0.1843, allocations: 1.156 MB / 0.7048 GB, free: 1.488 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0008683/0.1851, allocations: 388.6 kB / 0.7052 GB, free: 1.113 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1851, allocations: 4 kB / 0.7052 GB, free: 1.109 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003973/0.1856, allocations: 188 kB / 0.7054 GB, free: 0.9258 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003436/0.1859, allocations: 45.64 kB / 0.7054 GB, free: 0.8828 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004651/0.1906, allocations: 3.172 MB / 0.7085 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004154/0.191, allocations: 0.7608 MB / 0.7092 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.000169/0.1912, allocations: 43.14 kB / 0.7093 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001793/0.1914, allocations: 91.41 kB / 0.7094 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of SimCode: time 2.565e-06/0.1914, allocations: 0 / 0.7094 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03131/0.2227, allocations: 6.535 MB / 0.7158 GB, free: 6.254 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.325/8.548, allocations: 17.94 kB / 0.7158 GB, free: 6.242 MB / 0.5294 GB " [Timeout remaining time 651] (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: 12.571243637008592] Failed to read output from testmodel.py, exit status != 0: 8.887306431075558 8.650324246 8.47766013 Calling exit ...