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.002373/0.002373, allocations: 79.7 kB / 20.23 MB, free: 4.195 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.002724/0.002724, allocations: 157.3 kB / 23.55 MB, free: 0.8789 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.59/1.59, allocations: 177.1 MB / 203.9 MB, free: 5.59 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 3.089/3.089, allocations: 377.9 MB / 0.6232 GB, free: 8.551 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 2.976e-06/2.976e-06, allocations: 0 / 0.8109 GB, free: 2.031 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.865e-05/4.163e-05, allocations: 3.062 kB / 0.8109 GB, free: 2.027 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.003819/0.003861, allocations: 1.959 MB / 0.8128 GB, free: 80 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001347/0.005208, allocations: 0.7158 MB / 0.8135 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.072e-05/0.005299, allocations: 5.125 kB / 0.8135 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 4.872e-05/0.005347, allocations: 19.73 kB / 0.8135 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001394/0.005487, allocations: 44.86 kB / 0.8136 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004963/0.005983, allocations: 181.8 kB / 0.8137 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0004221/0.006405, allocations: 335 kB / 0.8141 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001279/0.006533, allocations: 28.92 kB / 0.8141 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003404/0.006873, allocations: 207.5 kB / 0.8143 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002054/0.007079, allocations: 119.6 kB / 0.8144 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 5.885e-05/0.007138, allocations: 28.53 kB / 0.8144 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 8.094e-05/0.007219, allocations: 32.72 kB / 0.8145 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 8.784e-05/0.007306, allocations: 79.77 kB / 0.8145 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001259/0.007432, allocations: 104.3 kB / 0.8146 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0004431/0.007875, allocations: 338.9 kB / 0.815 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.007878, allocations: 1.594 kB / 0.815 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.92e-07/0.007879, allocations: 0 / 0.815 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.007885, allocations: 0 / 0.815 GB, free: 13.87 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.001401/0.009285, allocations: 0.6752 MB / 0.8156 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.009326, allocations: 12.03 kB / 0.8156 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003482/0.009674, allocations: 78.52 kB / 0.8157 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003474/0.01002, allocations: 192.8 kB / 0.8159 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004233/0.01045, allocations: 499.7 kB / 0.8164 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.165e-05/0.01051, allocations: 28.38 kB / 0.8164 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007395/0.01125, allocations: 268.5 kB / 0.8166 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.086e-05/0.01127, allocations: 5.109 kB / 0.8166 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.971e-05/0.0113, allocations: 12.12 kB / 0.8167 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.0113, allocations: 4 kB / 0.8167 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004357/0.01174, allocations: 165.1 kB / 0.8168 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001246/0.01299, allocations: 0.8376 MB / 0.8176 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005239/0.01351, allocations: 219.4 kB / 0.8178 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000274/0.01378, allocations: 131 kB / 0.818 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 4.576e-05/0.01383, allocations: 11.98 kB / 0.818 GB, free: 10.49 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005688/0.0144, allocations: 329.9 kB / 0.8183 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=48): time 1.863e-06/0.0144, allocations: 0 / 0.8183 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of matching and sorting (n=48): time 0.001181/0.01558, allocations: 495.6 kB / 0.8188 GB, free: 9.652 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001155/0.0157, allocations: 118.8 kB / 0.8189 GB, free: 9.512 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002599/0.01596, allocations: 263.8 kB / 0.8191 GB, free: 9.238 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 5.247e-05/0.01601, allocations: 41.7 kB / 0.8192 GB, free: 9.191 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001382/0.01615, allocations: 172 kB / 0.8193 GB, free: 9.02 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001725/0.01632, allocations: 167.7 kB / 0.8195 GB, free: 8.855 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000186/0.01651, allocations: 124 kB / 0.8196 GB, free: 8.727 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0003083/0.01681, allocations: 0.5279 MB / 0.8201 GB, free: 8.188 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003138/0.01713, allocations: 141.8 kB / 0.8203 GB, free: 8.051 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000446/0.01757, allocations: 291.3 kB / 0.8205 GB, free: 7.715 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007326/0.01831, allocations: 433.1 kB / 0.821 GB, free: 7.242 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.01831, allocations: 3.938 kB / 0.821 GB, free: 7.238 MB / 0.7761 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009693/0.01928, allocations: 0.4982 MB / 0.8215 GB, free: 6.734 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/0.0193, allocations: 8 kB / 0.8215 GB, free: 6.727 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.01931, allocations: 0.6562 kB / 0.8215 GB, free: 6.727 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.322e-05/0.01933, allocations: 8.594 kB / 0.8215 GB, free: 6.719 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004058/0.01974, allocations: 95.77 kB / 0.8216 GB, free: 6.625 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.347e-05/0.01975, allocations: 5.062 kB / 0.8216 GB, free: 6.621 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00028/0.02003, allocations: 64.64 kB / 0.8216 GB, free: 6.559 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.799e-05/0.02007, allocations: 20 kB / 0.8216 GB, free: 6.539 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.0002099/0.02028, allocations: 207.4 kB / 0.8218 GB, free: 6.328 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.494e-05/0.02037, allocations: 48.91 kB / 0.8219 GB, free: 6.281 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.75e-05/0.02044, allocations: 29.97 kB / 0.8219 GB, free: 6.258 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.02045, allocations: 4 kB / 0.8219 GB, free: 6.254 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.175e-05/0.02046, allocations: 9.062 kB / 0.8219 GB, free: 6.246 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.849e-06/0.02047, allocations: 3.984 kB / 0.8219 GB, free: 6.242 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003741/0.02084, allocations: 268.4 kB / 0.8222 GB, free: 5.945 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.02085, allocations: 0.9375 kB / 0.8222 GB, free: 5.945 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004046/0.02125, allocations: 71.89 kB / 0.8223 GB, free: 5.875 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/0.02126, allocations: 4.594 kB / 0.8223 GB, free: 5.871 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.781e-05/0.0213, allocations: 12 kB / 0.8223 GB, free: 5.859 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.119e-06/0.0213, allocations: 5.516 kB / 0.8223 GB, free: 5.855 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.0213, allocations: 4 kB / 0.8223 GB, free: 5.852 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001182/0.02249, allocations: 0.6174 MB / 0.8229 GB, free: 5.211 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.13e-05/0.02253, allocations: 31.75 kB / 0.8229 GB, free: 5.18 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.716e-05/0.02257, allocations: 7.984 kB / 0.8229 GB, free: 5.172 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002337/0.02281, allocations: 33 kB / 0.823 GB, free: 5.141 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001577/0.02297, allocations: 67.84 kB / 0.823 GB, free: 5.074 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.796e-05/0.023, allocations: 21.08 kB / 0.823 GB, free: 5.055 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001436/0.02315, allocations: 175 kB / 0.8232 GB, free: 4.883 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8.1e-08/0.02315, allocations: 4 kB / 0.8232 GB, free: 4.879 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000339/0.02349, allocations: 79.44 kB / 0.8233 GB, free: 4.805 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.000377/0.02386, allocations: 119.7 kB / 0.8234 GB, free: 4.676 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0007993/0.02466, allocations: 393.6 kB / 0.8238 GB, free: 4.289 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.02467, allocations: 4 kB / 0.8238 GB, free: 4.285 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0003906/0.02506, allocations: 193.3 kB / 0.824 GB, free: 4.09 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003613/0.02542, allocations: 56.84 kB / 0.824 GB, free: 4.039 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001232/0.02665, allocations: 0.603 MB / 0.8246 GB, free: 3.398 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001665/0.02682, allocations: 160.1 kB / 0.8248 GB, free: 3.219 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.000151/0.02697, allocations: 47.22 kB / 0.8248 GB, free: 3.176 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001288/0.0271, allocations: 40.48 kB / 0.8248 GB, free: 3.137 MB / 0.7761 GB Notification: Performance of SimCode: time 6.82e-07/0.0271, allocations: 0 / 0.8248 GB, free: 3.137 MB / 0.7761 GB Notification: Performance of Templates: time 0.009469/0.03657, allocations: 4.045 MB / 0.8288 GB, free: 15.16 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","/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.492592244059779]