Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.351/1.351, allocations: 251.5 MB / 267.4 MB, free: 11.07 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001012/0.001012, allocations: 171.3 kB / 326.5 MB, free: 2.699 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.868/1.868, allocations: 205 MB / 0.5766 GB, free: 21.02 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008799/0.0008802, allocations: 93.11 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003633/0.0003633, allocations: 11.84 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2178/0.2181, allocations: 105.4 MB / 0.8968 GB, free: 68.17 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart): time 0.002001/0.2202, allocations: 1.756 MB / 0.8985 GB, free: 66.39 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009168/0.2211, allocations: 0.6979 MB / 0.8992 GB, free: 65.69 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.008e-05/0.2212, allocations: 4 kB / 0.8992 GB, free: 65.68 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 5.076e-05/0.2213, allocations: 15.84 kB / 0.8992 GB, free: 65.67 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001176/0.2214, allocations: 35.7 kB / 0.8992 GB, free: 65.63 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003536/0.2218, allocations: 135.7 kB / 0.8993 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002188/0.222, allocations: 303.1 kB / 0.8996 GB, free: 65.2 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001394/0.2221, allocations: 60.25 kB / 0.8997 GB, free: 65.14 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001528/0.2223, allocations: 111.7 kB / 0.8998 GB, free: 65.04 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001466/0.2225, allocations: 131.4 kB / 0.8999 GB, free: 64.91 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.613e-05/0.2225, allocations: 16 kB / 0.8999 GB, free: 64.89 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 3.148e-05/0.2225, allocations: 16 kB / 0.8999 GB, free: 64.88 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.697e-05/0.2226, allocations: 63.78 kB / 0.9 GB, free: 64.81 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 8.894e-05/0.2227, allocations: 119.4 kB / 0.9001 GB, free: 64.7 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.00015/0.2228, allocations: 203.5 kB / 0.9003 GB, free: 64.5 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.2229, allocations: 0 / 0.9003 GB, free: 64.5 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.635e-06/0.2229, allocations: 0 / 0.9003 GB, free: 64.5 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.191e-06/0.2229, allocations: 0 / 0.9003 GB, free: 64.5 MB / 0.6042 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.001023/0.2239, allocations: 0.6082 MB / 0.9009 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.2239, allocations: 12.03 kB / 0.9009 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.118e-05/0.224, allocations: 32.56 kB / 0.901 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001066/0.2241, allocations: 196.8 kB / 0.9011 GB, free: 63.57 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001523/0.2243, allocations: 268.3 kB / 0.9014 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.956e-05/0.2244, allocations: 36.25 kB / 0.9014 GB, free: 63.22 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003906/0.2248, allocations: 269.9 kB / 0.9017 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.844e-05/0.2248, allocations: 0 / 0.9017 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.631e-05/0.2248, allocations: 8 kB / 0.9017 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.2248, allocations: 4 kB / 0.9017 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003628/0.2252, allocations: 195.8 kB / 0.9019 GB, free: 62.74 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008796/0.2261, allocations: 0.7776 MB / 0.9026 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004091/0.2265, allocations: 211.7 kB / 0.9028 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002089/0.2267, allocations: 134.5 kB / 0.903 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.131e-05/0.2268, allocations: 19.97 kB / 0.903 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004746/0.2273, allocations: 319.6 kB / 0.9033 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=48): time 1.904e-06/0.2273, allocations: 0 / 0.9033 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of matching and sorting (n=48): time 0.0008775/0.2281, allocations: 0.5 MB / 0.9038 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.07e-05/0.2282, allocations: 114.8 kB / 0.9039 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/0.2283, allocations: 179.4 kB / 0.9041 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.039e-05/0.2284, allocations: 37.7 kB / 0.9041 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.851e-05/0.2284, allocations: 129.2 kB / 0.9042 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.338e-05/0.2285, allocations: 142 kB / 0.9044 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.795e-05/0.2286, allocations: 61.69 kB / 0.9044 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.422e-05/0.2286, allocations: 338.8 kB / 0.9047 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002559/0.2289, allocations: 153.2 kB / 0.9049 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002831/0.2292, allocations: 268.7 kB / 0.9051 GB, free: 59.17 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005076/0.2297, allocations: 410 kB / 0.9055 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.2297, allocations: 0 / 0.9055 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0006687/0.2304, allocations: 0.4974 MB / 0.906 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.2304, allocations: 8 kB / 0.906 GB, free: 58.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.2304, allocations: 0 / 0.906 GB, free: 58.22 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.2305, allocations: 8 kB / 0.906 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003355/0.2308, allocations: 99.81 kB / 0.9061 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.17e-05/0.2308, allocations: 4 kB / 0.9061 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002534/0.2311, allocations: 75.59 kB / 0.9062 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.655e-05/0.2311, allocations: 20 kB / 0.9062 GB, free: 58.02 MB / 0.6042 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 (movingMean_1.mode,$PRE.movingMean_1.mode,$whenCondition5,movingMean_2.mode,$PRE.movingMean_2.mode,$whenCondition6,movingMean_3.mode,$PRE.movingMean_3.mode,$whenCondition7,movingMean_4.mode,$PRE.movingMean_4.mode,$whenCondition8,movingMean_5.mode,$PRE.movingMean_5.mode,$whenCondition9,movingMean_6.mode,$PRE.movingMean_6.mode,$whenCondition3,movingMean_7.mode,$PRE.movingMean_7.mode,$whenCondition4,movingMean_8.mode,$PRE.movingMean_8.mode,$whenCondition1,movingMean_9.mode,$PRE.movingMean_9.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.0001621/0.2313, allocations: 164 kB / 0.9064 GB, free: 57.85 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.932e-05/0.2313, allocations: 27.66 kB / 0.9064 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.073e-05/0.2314, allocations: 29.88 kB / 0.9064 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.2314, allocations: 8 kB / 0.9064 GB, free: 57.78 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.2314, allocations: 4 kB / 0.9065 GB, free: 57.78 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.2314, allocations: 3.984 kB / 0.9065 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002667/0.2317, allocations: 353.2 kB / 0.9068 GB, free: 57.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.2317, allocations: 0 / 0.9068 GB, free: 57.38 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003642/0.2321, allocations: 87.81 kB / 0.9069 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.2321, allocations: 0 / 0.9069 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.981e-05/0.2321, allocations: 12 kB / 0.9069 GB, free: 57.28 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.2321, allocations: 4 kB / 0.9069 GB, free: 57.28 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2321, allocations: 7.938 kB / 0.9069 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009075/0.2331, allocations: 0.5949 MB / 0.9075 GB, free: 56.65 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.736e-05/0.2331, allocations: 108.7 kB / 0.9076 GB, free: 56.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.678e-05/0.2332, allocations: 15.98 kB / 0.9076 GB, free: 56.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002205/0.2334, allocations: 39.97 kB / 0.9076 GB, free: 56.47 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001064/0.2335, allocations: 39.94 kB / 0.9077 GB, free: 56.43 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.591e-05/0.2335, allocations: 16 kB / 0.9077 GB, free: 56.42 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.947e-05/0.2336, allocations: 125.2 kB / 0.9078 GB, free: 56.3 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2336, allocations: 192 / 0.9078 GB, free: 56.3 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002784/0.2339, allocations: 83.94 kB / 0.9079 GB, free: 56.21 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 9 (movingMean_1.mu,movingMean_2.mu,movingMean_3.mu,movingMean_4.mu,movingMean_5.mu,movingMean_6.mu,movingMean_7.mu,movingMean_8.mu,movingMean_9.mu) * Number of discrete variables: 18 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,movingMean_1.mode,movingMean_2.mode,movingMean_3.mode,movingMean_4.mode,movingMean_5.mode,$whenCondition4,$whenCondition3,movingMean_6.mode,movingMean_7.mode,$whenCondition2,$whenCondition1,movingMean_8.mode,movingMean_9.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.0001853/0.2341, allocations: 129.6 kB / 0.908 GB, free: 56.08 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006174/0.2347, allocations: 390.6 kB / 0.9084 GB, free: 55.7 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.2347, allocations: 4 kB / 0.9084 GB, free: 55.7 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002952/0.235, allocations: 191.9 kB / 0.9086 GB, free: 55.51 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003402/0.2354, allocations: 44.12 kB / 0.9086 GB, free: 55.46 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000952/0.2363, allocations: 0.7158 MB / 0.9093 GB, free: 54.71 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001883/0.2365, allocations: 0.7686 MB / 0.9101 GB, free: 53.92 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001227/0.2367, allocations: 39.42 kB / 0.9101 GB, free: 53.88 MB / 0.6042 GB Notification: Performance of SimCode: time 2.41e-07/0.2367, allocations: 0 / 0.9101 GB, free: 53.88 MB / 0.6042 GB Notification: Performance of Templates: time 0.004724/0.2414, allocations: 3.938 MB / 0.9139 GB, free: 49.96 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe 2>&1)