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.001477/0.001477, allocations: 80.41 kB / 20.23 MB, free: 4.18 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.001642/0.001642, allocations: 161.3 kB / 23.54 MB, free: 0.8711 MB / 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 1.542/1.542, allocations: 177.1 MB / 203.9 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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 2.855/2.855, allocations: 377.8 MB / 0.6232 GB, free: 8.539 MB / 0.5886 GB " [Timeout remaining time 176] 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 3.045e-06/3.045e-06, allocations: 1.094 kB / 0.8109 GB, free: 2.02 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.455e-05/3.759e-05, allocations: 7.375 kB / 0.8109 GB, free: 2.012 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.004999/0.005037, allocations: 1.922 MB / 0.8128 GB, free: 96 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002002/0.007039, allocations: 0.705 MB / 0.8135 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002235/0.007262, allocations: 0 / 0.8135 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 9.867e-05/0.007361, allocations: 23.67 kB / 0.8135 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0002331/0.007594, allocations: 44.77 kB / 0.8135 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.000812/0.008406, allocations: 185.2 kB / 0.8137 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0006741/0.00908, allocations: 335 kB / 0.814 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002016/0.009282, allocations: 36.91 kB / 0.8141 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005801/0.009862, allocations: 200.3 kB / 0.8142 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003241/0.01019, allocations: 116.2 kB / 0.8144 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 9.227e-05/0.01028, allocations: 28 kB / 0.8144 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001125/0.01039, allocations: 33.66 kB / 0.8144 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001211/0.01051, allocations: 79.77 kB / 0.8145 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001869/0.0107, allocations: 103.7 kB / 0.8146 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0006764/0.01138, allocations: 342.8 kB / 0.8149 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.01138, allocations: 0.6562 kB / 0.8149 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.01e-07/0.01138, allocations: 0 / 0.8149 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.273e-05/0.01139, allocations: 1.125 kB / 0.8149 GB, free: 13.89 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.001887/0.01328, allocations: 0.564 MB / 0.8155 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.01332, allocations: 8.031 kB / 0.8155 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005613/0.01388, allocations: 82.62 kB / 0.8156 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005259/0.01441, allocations: 189.9 kB / 0.8157 GB, free: 13 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006027/0.01501, allocations: 0.4958 MB / 0.8162 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.366e-05/0.01511, allocations: 24.38 kB / 0.8162 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008152/0.01592, allocations: 255.9 kB / 0.8165 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.508e-05/0.01596, allocations: 10.56 kB / 0.8165 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.328e-05/0.01601, allocations: 8.125 kB / 0.8165 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.645e-05/0.01603, allocations: 8 kB / 0.8165 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006966/0.01672, allocations: 175.8 kB / 0.8167 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001739/0.01846, allocations: 0.6621 MB / 0.8173 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007471/0.01921, allocations: 196.2 kB / 0.8175 GB, free: 11 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004208/0.01963, allocations: 128.4 kB / 0.8176 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 5.126e-05/0.01968, allocations: 11.94 kB / 0.8177 GB, free: 10.85 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008139/0.0205, allocations: 306.9 kB / 0.8179 GB, free: 10.53 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=48): time 2.645e-06/0.0205, allocations: 0 / 0.8179 GB, free: 10.53 MB / 0.7761 GB Notification: Performance of matching and sorting (n=48): time 0.001719/0.02222, allocations: 0.4976 MB / 0.8184 GB, free: 10.03 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001332/0.02235, allocations: 118.8 kB / 0.8185 GB, free: 9.887 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002876/0.02264, allocations: 193.5 kB / 0.8187 GB, free: 9.691 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 7.144e-05/0.02271, allocations: 37.7 kB / 0.8188 GB, free: 9.648 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001187/0.02283, allocations: 113.3 kB / 0.8189 GB, free: 9.535 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.000242/0.02307, allocations: 159.4 kB / 0.819 GB, free: 9.379 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002547/0.02332, allocations: 107 kB / 0.8191 GB, free: 9.27 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002445/0.02357, allocations: 338.8 kB / 0.8194 GB, free: 8.93 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005161/0.02409, allocations: 150.1 kB / 0.8196 GB, free: 8.785 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006251/0.02471, allocations: 256.4 kB / 0.8198 GB, free: 8.504 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001062/0.02577, allocations: 390.1 kB / 0.8202 GB, free: 8.086 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.636e-06/0.02578, allocations: 4 kB / 0.8202 GB, free: 8.082 MB / 0.7761 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001519/0.0273, allocations: 0.509 MB / 0.8207 GB, free: 7.566 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.397e-05/0.02732, allocations: 4 kB / 0.8207 GB, free: 7.562 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.318e-05/0.02734, allocations: 6.031 kB / 0.8207 GB, free: 7.559 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.356e-05/0.02737, allocations: 8 kB / 0.8207 GB, free: 7.551 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005993/0.02797, allocations: 95.77 kB / 0.8208 GB, free: 7.457 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.012e-05/0.02799, allocations: 7.984 kB / 0.8208 GB, free: 7.449 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004178/0.02841, allocations: 64.64 kB / 0.8209 GB, free: 7.387 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.229e-05/0.02847, allocations: 21.12 kB / 0.8209 GB, free: 7.367 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.0002911/0.02876, allocations: 164.9 kB / 0.8211 GB, free: 7.199 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001301/0.02889, allocations: 43.84 kB / 0.8211 GB, free: 7.156 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.274e-05/0.02898, allocations: 29.97 kB / 0.8211 GB, free: 7.133 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.271e-05/0.029, allocations: 12.97 kB / 0.8211 GB, free: 7.121 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.454e-05/0.02901, allocations: 3.938 kB / 0.8212 GB, free: 7.117 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.081e-05/0.02902, allocations: 3.984 kB / 0.8212 GB, free: 7.113 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004975/0.02952, allocations: 245.8 kB / 0.8214 GB, free: 6.844 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.227e-06/0.02952, allocations: 0 / 0.8214 GB, free: 6.844 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006191/0.03014, allocations: 77.64 kB / 0.8215 GB, free: 6.77 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.045e-05/0.03015, allocations: 4 kB / 0.8215 GB, free: 6.766 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.842e-05/0.03021, allocations: 15.98 kB / 0.8215 GB, free: 6.75 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.945e-06/0.03022, allocations: 4 kB / 0.8215 GB, free: 6.746 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.03022, allocations: 1.344 kB / 0.8215 GB, free: 6.746 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001791/0.03201, allocations: 0.6001 MB / 0.8221 GB, free: 6.125 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.965e-05/0.03207, allocations: 27.75 kB / 0.8221 GB, free: 6.098 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.487e-05/0.03215, allocations: 12.64 kB / 0.8221 GB, free: 6.086 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000348/0.03249, allocations: 34.34 kB / 0.8221 GB, free: 6.055 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002145/0.03271, allocations: 59.84 kB / 0.8222 GB, free: 5.996 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.07e-05/0.03276, allocations: 16 kB / 0.8222 GB, free: 5.98 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001865/0.03295, allocations: 131.1 kB / 0.8223 GB, free: 5.852 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1e-07/0.03295, allocations: 0 / 0.8223 GB, free: 5.852 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0006096/0.03356, allocations: 81.84 kB / 0.8224 GB, free: 5.773 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.0002362/0.03379, allocations: 115.8 kB / 0.8225 GB, free: 5.648 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001148/0.03494, allocations: 365 kB / 0.8229 GB, free: 5.297 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.03494, allocations: 0 / 0.8229 GB, free: 5.297 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0005988/0.03554, allocations: 187.7 kB / 0.8231 GB, free: 5.113 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005024/0.03604, allocations: 49.66 kB / 0.8231 GB, free: 5.066 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001719/0.03776, allocations: 0.5904 MB / 0.8237 GB, free: 4.438 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002369/0.038, allocations: 164.1 kB / 0.8238 GB, free: 4.254 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0002489/0.03825, allocations: 42.95 kB / 0.8239 GB, free: 4.215 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001844/0.03843, allocations: 36.5 kB / 0.8239 GB, free: 4.18 MB / 0.7761 GB Notification: Performance of SimCode: time 7.11e-07/0.03843, allocations: 4 kB / 0.8239 GB, free: 4.176 MB / 0.7761 GB Notification: Performance of Templates: time 0.01224/0.05067, allocations: 4.052 MB / 0.8279 GB, free: 208 kB / 0.7761 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.23666251101531]