Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.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.001458/0.001458, allocations: 114.2 kB / 18.94 MB, free: 2.93 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.001549/0.001549, allocations: 189 kB / 22.22 MB, free: 5.105 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.581/1.581, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.382/3.382, allocations: 0.4893 GB / 0.7884 GB, free: 33.06 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-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: 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_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002095/0.002095, allocations: 69.23 kB / 1.145 GB, free: 30.62 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4463/0.4484, allocations: 174.9 MB / 1.316 GB, free: 9.641 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.004052/0.4525, allocations: 1.979 MB / 1.318 GB, free: 7.648 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001393/0.4539, allocations: 0.6699 MB / 1.319 GB, free: 6.973 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001556/0.454, allocations: 7.938 kB / 1.319 GB, free: 6.965 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 7.013e-05/0.4541, allocations: 19.73 kB / 1.319 GB, free: 6.945 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001549/0.4542, allocations: 43.58 kB / 1.319 GB, free: 6.902 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005176/0.4548, allocations: 147.6 kB / 1.319 GB, free: 6.758 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0004563/0.4552, allocations: 327.1 kB / 1.319 GB, free: 6.438 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001686/0.4554, allocations: 40.52 kB / 1.319 GB, free: 6.395 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002956/0.4557, allocations: 135.6 kB / 1.319 GB, free: 6.262 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002896/0.456, allocations: 147.4 kB / 1.319 GB, free: 6.117 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 7.852e-05/0.456, allocations: 39.94 kB / 1.32 GB, free: 6.078 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 5.515e-05/0.4561, allocations: 28 kB / 1.32 GB, free: 6.051 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 7.745e-05/0.4562, allocations: 75.78 kB / 1.32 GB, free: 5.977 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.000174/0.4563, allocations: 139.4 kB / 1.32 GB, free: 5.84 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0004048/0.4568, allocations: 302.8 kB / 1.32 GB, free: 5.543 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.4568, allocations: 0 / 1.32 GB, free: 5.543 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.112e-06/0.4568, allocations: 0 / 1.32 GB, free: 5.543 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.004e-05/0.4568, allocations: 0 / 1.32 GB, free: 5.543 MB / 1.014 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.001472/0.4582, allocations: 0.552 MB / 1.321 GB, free: 4.961 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.4583, allocations: 8.031 kB / 1.321 GB, free: 4.953 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.938e-05/0.4584, allocations: 40.73 kB / 1.321 GB, free: 4.914 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002254/0.4586, allocations: 144.2 kB / 1.321 GB, free: 4.746 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003261/0.4589, allocations: 264.3 kB / 1.321 GB, free: 4.434 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.002e-05/0.459, allocations: 28.38 kB / 1.321 GB, free: 4.406 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005306/0.4595, allocations: 269.7 kB / 1.321 GB, free: 4.125 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.373e-05/0.4595, allocations: 4 kB / 1.321 GB, free: 4.121 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.8e-05/0.4596, allocations: 7.984 kB / 1.321 GB, free: 4.113 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.039e-05/0.4596, allocations: 8 kB / 1.321 GB, free: 4.105 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004419/0.46, allocations: 171.9 kB / 1.321 GB, free: 3.938 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001222/0.4612, allocations: 0.7495 MB / 1.322 GB, free: 3.137 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005563/0.4618, allocations: 199.6 kB / 1.322 GB, free: 2.914 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002776/0.4621, allocations: 126.5 kB / 1.323 GB, free: 2.781 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 5.053e-05/0.4621, allocations: 11.97 kB / 1.323 GB, free: 2.77 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006498/0.4628, allocations: 311.4 kB / 1.323 GB, free: 2.445 MB / 1.014 GB Notification: Performance of pre-optimization done (n=48): time 1.693e-06/0.4628, allocations: 0 / 1.323 GB, free: 2.445 MB / 1.014 GB Notification: Performance of matching and sorting (n=48): time 0.001077/0.4639, allocations: 488.1 kB / 1.323 GB, free: 1.965 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.5e-05/0.4639, allocations: 110.8 kB / 1.323 GB, free: 1.832 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001834/0.4641, allocations: 175.6 kB / 1.324 GB, free: 1.648 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.165e-05/0.4642, allocations: 37.7 kB / 1.324 GB, free: 1.605 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 9.414e-05/0.4643, allocations: 125.3 kB / 1.324 GB, free: 1.48 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001434/0.4644, allocations: 154.8 kB / 1.324 GB, free: 1.328 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001826/0.4646, allocations: 118.3 kB / 1.324 GB, free: 1.203 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001698/0.4648, allocations: 342.8 kB / 1.324 GB, free: 0.8594 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003229/0.4651, allocations: 149.2 kB / 1.324 GB, free: 0.7148 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003939/0.4655, allocations: 256.7 kB / 1.325 GB, free: 436 kB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006591/0.4661, allocations: 394.1 kB / 1.325 GB, free: 4 kB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/0.4661, allocations: 7.984 kB / 1.325 GB, free: 15.99 MB / 1.029 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001021/0.4672, allocations: 497.4 kB / 1.326 GB, free: 15.5 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.4672, allocations: 8 kB / 1.326 GB, free: 15.5 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.4672, allocations: 0 / 1.326 GB, free: 15.5 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.279e-05/0.4672, allocations: 8 kB / 1.326 GB, free: 15.49 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003976/0.4676, allocations: 91.83 kB / 1.326 GB, free: 15.4 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.822e-05/0.4676, allocations: 8 kB / 1.326 GB, free: 15.39 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002847/0.4679, allocations: 59.73 kB / 1.326 GB, free: 15.33 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.391e-05/0.468, allocations: 24 kB / 1.326 GB, free: 15.31 MB / 1.029 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.0002126/0.4682, allocations: 155.4 kB / 1.326 GB, free: 15.14 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.267e-05/0.4682, allocations: 35.75 kB / 1.326 GB, free: 15.11 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.822e-05/0.4683, allocations: 37.95 kB / 1.326 GB, free: 15.07 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.4683, allocations: 8 kB / 1.326 GB, free: 15.06 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.4683, allocations: 0 / 1.326 GB, free: 15.06 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.764e-06/0.4683, allocations: 3.984 kB / 1.326 GB, free: 15.06 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004326/0.4688, allocations: 324.4 kB / 1.326 GB, free: 14.7 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.4688, allocations: 4 kB / 1.326 GB, free: 14.7 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003917/0.4691, allocations: 79.83 kB / 1.326 GB, free: 14.62 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.4692, allocations: 0 / 1.326 GB, free: 14.62 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.315e-05/0.4692, allocations: 11.98 kB / 1.326 GB, free: 14.61 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.2e-06/0.4692, allocations: 4 kB / 1.326 GB, free: 14.6 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.4692, allocations: 3.938 kB / 1.326 GB, free: 14.6 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001072/0.4703, allocations: 0.5861 MB / 1.327 GB, free: 13.99 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.062e-05/0.4703, allocations: 35.69 kB / 1.327 GB, free: 13.95 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.462e-05/0.4703, allocations: 8 kB / 1.327 GB, free: 13.95 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002138/0.4706, allocations: 35.95 kB / 1.327 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001415/0.4707, allocations: 60 kB / 1.327 GB, free: 13.85 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.716e-05/0.4707, allocations: 15.94 kB / 1.327 GB, free: 13.84 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000101/0.4708, allocations: 129.2 kB / 1.327 GB, free: 13.71 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4708, allocations: 0 / 1.327 GB, free: 13.71 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003182/0.4711, allocations: 76 kB / 1.327 GB, free: 13.64 MB / 1.029 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.0001834/0.4713, allocations: 120.5 kB / 1.327 GB, free: 13.51 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0008134/0.4721, allocations: 350.7 kB / 1.328 GB, free: 13.17 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.4721, allocations: 0 / 1.328 GB, free: 13.17 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003751/0.4725, allocations: 190.3 kB / 1.328 GB, free: 12.98 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003365/0.4729, allocations: 59.58 kB / 1.328 GB, free: 12.93 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001196/0.4741, allocations: 0.6221 MB / 1.329 GB, free: 12.28 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006873/0.4747, allocations: 0.7648 MB / 1.329 GB, free: 11.48 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001559/0.4749, allocations: 43.22 kB / 1.329 GB, free: 11.44 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001168/0.475, allocations: 35.44 kB / 1.329 GB, free: 11.4 MB / 1.029 GB Notification: Performance of SimCode: time 2.8e-07/0.475, allocations: 0 / 1.329 GB, free: 11.4 MB / 1.029 GB Notification: Performance of Templates: time 0.009275/0.4843, allocations: 4.144 MB / 1.333 GB, free: 7.285 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MovingAverage_nonZeroStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 9.826328190974891]