Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.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.001109/0.001109, allocations: 82.64 kB / 20.68 MB, free: 3.816 MB / 18.57 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.001361/0.001361, allocations: 181 kB / 24.09 MB, free: 420 kB / 18.57 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 0.9901/0.9901, allocations: 177.1 MB / 204.5 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.896/1.896, allocations: 377.9 MB / 0.624 GB, free: 8.418 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sinInpNoDel.y|movAve1.y|movAve2.y|movAve3.y|movAve4.y|sinInp50sDel.y|movAve6.y|movAve7.y|sinInp100sDel.y|movAve8.y|movAve9.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sinInpNoDel.y|movAve1.y|movAve2.y|movAve3.y|movAve4.y|sinInp50sDel.y|movAve6.y|movAve7.y|sinInp100sDel.y|movAve8.y|movAve9.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 0.8121 GB, free: 1.395 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.437e-05/2.628e-05, allocations: 2.312 kB / 0.8121 GB, free: 1.391 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.002361/0.002388, allocations: 1.975 MB / 0.814 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.0009425/0.00333, allocations: 0.7155 MB / 0.8147 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.564e-05/0.003426, allocations: 0.6875 kB / 0.8147 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 4.416e-05/0.00347, allocations: 24.58 kB / 0.8147 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001061/0.003576, allocations: 48.17 kB / 0.8148 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004282/0.004004, allocations: 180.4 kB / 0.815 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002969/0.004301, allocations: 336.2 kB / 0.8153 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001401/0.004441, allocations: 40.91 kB / 0.8153 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002616/0.004703, allocations: 199.6 kB / 0.8155 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000141/0.004844, allocations: 117.1 kB / 0.8156 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.824e-05/0.004882, allocations: 28 kB / 0.8156 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 6.253e-05/0.004944, allocations: 35.94 kB / 0.8157 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 5.34e-05/0.004998, allocations: 81.23 kB / 0.8158 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 7.09e-05/0.005069, allocations: 103.7 kB / 0.8159 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002302/0.005299, allocations: 239.2 kB / 0.8161 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.005301, allocations: 0 / 0.8161 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.052e-06/0.005302, allocations: 1.438 kB / 0.8161 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.005307, allocations: 0 / 0.8161 GB, free: 13.3 MB / 0.7761 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.0007386/0.006045, allocations: 0.6626 MB / 0.8167 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.00609, allocations: 9.344 kB / 0.8167 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002289/0.006319, allocations: 76.77 kB / 0.8168 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002206/0.006539, allocations: 193.4 kB / 0.817 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002127/0.006752, allocations: 0.4891 MB / 0.8175 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.877e-05/0.006791, allocations: 24.38 kB / 0.8175 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002581/0.007049, allocations: 220.2 kB / 0.8177 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/0.007064, allocations: 8.891 kB / 0.8177 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.685e-05/0.007081, allocations: 12.12 kB / 0.8177 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.679e-06/0.00709, allocations: 8.719 kB / 0.8177 GB, free: 11.42 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001118/0.007202, allocations: 71.92 kB / 0.8178 GB, free: 11.35 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008061/0.008008, allocations: 0.7467 MB / 0.8185 GB, free: 10.57 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002293/0.008238, allocations: 161.1 kB / 0.8187 GB, free: 10.37 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.771e-05/0.008315, allocations: 78.95 kB / 0.8188 GB, free: 10.28 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.834e-05/0.008354, allocations: 20.97 kB / 0.8188 GB, free: 10.26 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002302/0.008584, allocations: 252.5 kB / 0.819 GB, free: 9.992 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=48): time 1.894e-06/0.008586, allocations: 0 / 0.819 GB, free: 9.992 MB / 0.7761 GB Notification: Performance of matching and sorting (n=48): time 0.0004185/0.009004, allocations: 351.9 kB / 0.8194 GB, free: 9.645 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.96e-05/0.009054, allocations: 115.1 kB / 0.8195 GB, free: 9.508 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001231/0.009177, allocations: 243.6 kB / 0.8197 GB, free: 9.254 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.631e-05/0.009203, allocations: 37.7 kB / 0.8197 GB, free: 9.211 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.349e-05/0.009267, allocations: 171.5 kB / 0.8199 GB, free: 9.043 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 9.326e-05/0.00936, allocations: 158.7 kB / 0.82 GB, free: 8.887 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.959e-05/0.00946, allocations: 115.9 kB / 0.8202 GB, free: 8.766 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.009596, allocations: 0.5157 MB / 0.8207 GB, free: 8.238 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.183e-05/0.009677, allocations: 61.25 kB / 0.8207 GB, free: 8.18 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001408/0.009818, allocations: 206.7 kB / 0.8209 GB, free: 7.926 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002321/0.01005, allocations: 295.9 kB / 0.8212 GB, free: 7.586 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.01005, allocations: 4 kB / 0.8212 GB, free: 7.582 MB / 0.7761 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0003623/0.01042, allocations: 369.5 kB / 0.8216 GB, free: 7.215 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.01043, allocations: 4.688 kB / 0.8216 GB, free: 7.211 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/0.01044, allocations: 4 kB / 0.8216 GB, free: 7.207 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.01046, allocations: 8.5 kB / 0.8216 GB, free: 7.199 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002076/0.01067, allocations: 92.39 kB / 0.8217 GB, free: 7.109 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.01068, allocations: 11.88 kB / 0.8217 GB, free: 7.098 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001228/0.0108, allocations: 61.64 kB / 0.8217 GB, free: 7.039 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.821e-05/0.01082, allocations: 12 kB / 0.8217 GB, free: 7.027 MB / 0.7761 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.0001103/0.01093, allocations: 199.6 kB / 0.8219 GB, free: 6.82 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.429e-05/0.01097, allocations: 43.91 kB / 0.822 GB, free: 6.777 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.275e-05/0.01101, allocations: 35.94 kB / 0.822 GB, free: 6.75 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.89e-06/0.01102, allocations: 8 kB / 0.822 GB, free: 6.742 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.01102, allocations: 0 / 0.822 GB, free: 6.742 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.804e-06/0.01103, allocations: 7.922 kB / 0.822 GB, free: 6.734 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001855/0.01122, allocations: 216.9 kB / 0.8222 GB, free: 6.496 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.01122, allocations: 0.8125 kB / 0.8222 GB, free: 6.496 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002003/0.01142, allocations: 71.89 kB / 0.8223 GB, free: 6.426 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.01142, allocations: 0.9375 kB / 0.8223 GB, free: 6.426 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.988e-05/0.01144, allocations: 12 kB / 0.8223 GB, free: 6.414 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.01144, allocations: 4 kB / 0.8223 GB, free: 6.41 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.01145, allocations: 5.328 kB / 0.8223 GB, free: 6.406 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004297/0.01188, allocations: 426.8 kB / 0.8227 GB, free: 5.961 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.265e-05/0.0119, allocations: 29.09 kB / 0.8228 GB, free: 5.934 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.6e-05/0.01193, allocations: 11.98 kB / 0.8228 GB, free: 5.922 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.01203, allocations: 35.78 kB / 0.8228 GB, free: 5.891 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.614e-05/0.01212, allocations: 63.91 kB / 0.8229 GB, free: 5.828 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.517e-05/0.01214, allocations: 11.98 kB / 0.8229 GB, free: 5.816 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.832e-05/0.0122, allocations: 159.1 kB / 0.823 GB, free: 5.66 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.0122, allocations: 0 / 0.823 GB, free: 5.66 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002262/0.01242, allocations: 83.98 kB / 0.8231 GB, free: 5.578 MB / 0.7761 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.0001341/0.01256, allocations: 118.1 kB / 0.8232 GB, free: 5.453 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002789/0.01283, allocations: 257 kB / 0.8235 GB, free: 5.199 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.01284, allocations: 0 / 0.8235 GB, free: 5.199 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001351/0.01297, allocations: 129.4 kB / 0.8236 GB, free: 5.07 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000234/0.01321, allocations: 51.8 kB / 0.8236 GB, free: 5.023 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008426/0.01405, allocations: 0.5763 MB / 0.8242 GB, free: 4.41 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.768e-05/0.01411, allocations: 101.5 kB / 0.8243 GB, free: 4.289 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 9.652e-05/0.0142, allocations: 43.36 kB / 0.8243 GB, free: 4.254 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001479/0.01435, allocations: 134.8 kB / 0.8245 GB, free: 4.121 MB / 0.7761 GB Notification: Performance of SimCode: time 5.71e-07/0.01435, allocations: 0 / 0.8245 GB, free: 4.121 MB / 0.7761 GB Notification: Performance of Templates: time 0.006238/0.02059, allocations: 4.368 MB / 0.8287 GB, free: 15.82 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_MovingAverage_nonZeroStart.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.277663724962622]