Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.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.001619/0.001619, allocations: 103.6 kB / 16.45 MB, free: 6.449 MB / 14.72 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.00191/0.00191, allocations: 212.9 kB / 19.43 MB, free: 3.637 MB / 14.72 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: 230.6 MB / 252.8 MB, free: 9.129 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.475/3.475, allocations: 0.4899 GB / 0.7916 GB, free: 33.35 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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,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") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage,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") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002086/0.002086, allocations: 71.17 kB / 1.149 GB, free: 26.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4225/0.4246, allocations: 176.1 MB / 1.321 GB, free: 2.762 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.00273/0.4273, allocations: 1.122 MB / 1.322 GB, free: 1.637 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002211/0.4295, allocations: 1.143 MB / 1.324 GB, free: 492 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001255/0.4297, allocations: 4 kB / 1.324 GB, free: 488 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 7.752e-05/0.4297, allocations: 15.75 kB / 1.324 GB, free: 472 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001642/0.4299, allocations: 43.58 kB / 1.324 GB, free: 428 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006406/0.4306, allocations: 151.7 kB / 1.324 GB, free: 276 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0004418/0.431, allocations: 327.1 kB / 1.324 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002486/0.4312, allocations: 48.25 kB / 1.324 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003091/0.4316, allocations: 135.6 kB / 1.324 GB, free: 15.76 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002651/0.4318, allocations: 155.4 kB / 1.324 GB, free: 15.61 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.648e-05/0.4319, allocations: 28 kB / 1.324 GB, free: 15.58 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 9.621e-05/0.432, allocations: 36 kB / 1.324 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.703e-05/0.4321, allocations: 79.78 kB / 1.325 GB, free: 15.47 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001682/0.4322, allocations: 131.4 kB / 1.325 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004293/0.4327, allocations: 322.6 kB / 1.325 GB, free: 15.02 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.4327, allocations: 0 / 1.325 GB, free: 15.02 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.374e-06/0.4327, allocations: 0 / 1.325 GB, free: 15.02 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.406e-06/0.4327, allocations: 0 / 1.325 GB, free: 15.02 MB / 1.029 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.001417/0.4341, allocations: 0.6351 MB / 1.326 GB, free: 14.34 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.4342, allocations: 12.03 kB / 1.326 GB, free: 14.33 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003617/0.4345, allocations: 60.75 kB / 1.326 GB, free: 14.27 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002079/0.4347, allocations: 196.9 kB / 1.326 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002974/0.435, allocations: 264.3 kB / 1.326 GB, free: 13.72 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.368e-05/0.4351, allocations: 36.31 kB / 1.326 GB, free: 13.69 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005379/0.4356, allocations: 258.3 kB / 1.326 GB, free: 13.42 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.494e-05/0.4356, allocations: 7.922 kB / 1.326 GB, free: 13.41 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.571e-05/0.4357, allocations: 8 kB / 1.326 GB, free: 13.4 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/0.4357, allocations: 8 kB / 1.326 GB, free: 13.39 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004776/0.4362, allocations: 179.8 kB / 1.327 GB, free: 13.22 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001346/0.4375, allocations: 0.7699 MB / 1.327 GB, free: 12.39 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006127/0.4381, allocations: 195.7 kB / 1.327 GB, free: 12.17 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003085/0.4384, allocations: 130.5 kB / 1.328 GB, free: 12.04 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 5.026e-05/0.4385, allocations: 11.98 kB / 1.328 GB, free: 12.02 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007154/0.4392, allocations: 307.7 kB / 1.328 GB, free: 11.7 MB / 1.029 GB Notification: Performance of pre-optimization done (n=48): time 2.174e-06/0.4392, allocations: 4 kB / 1.328 GB, free: 11.7 MB / 1.029 GB Notification: Performance of matching and sorting (n=48): time 0.001167/0.4404, allocations: 485 kB / 1.328 GB, free: 11.22 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001145/0.4405, allocations: 118.7 kB / 1.328 GB, free: 11.08 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002169/0.4407, allocations: 183.4 kB / 1.329 GB, free: 10.89 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.22e-05/0.4408, allocations: 37.7 kB / 1.329 GB, free: 10.85 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.43e-05/0.4408, allocations: 117.4 kB / 1.329 GB, free: 10.73 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001609/0.441, allocations: 162.8 kB / 1.329 GB, free: 10.57 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001815/0.4412, allocations: 102.3 kB / 1.329 GB, free: 10.46 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001913/0.4414, allocations: 346.8 kB / 1.329 GB, free: 10.12 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003403/0.4417, allocations: 145.2 kB / 1.33 GB, free: 9.977 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004319/0.4422, allocations: 260.8 kB / 1.33 GB, free: 9.684 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007443/0.4429, allocations: 394 kB / 1.33 GB, free: 9.262 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.297e-06/0.4429, allocations: 0 / 1.33 GB, free: 9.262 MB / 1.029 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009377/0.4438, allocations: 489.1 kB / 1.331 GB, free: 8.777 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.461e-05/0.4439, allocations: 11.92 kB / 1.331 GB, free: 8.766 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.4439, allocations: 4.094 kB / 1.331 GB, free: 8.762 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.834e-05/0.4439, allocations: 8.047 kB / 1.331 GB, free: 8.754 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003966/0.4443, allocations: 99.83 kB / 1.331 GB, free: 8.656 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.241e-05/0.4443, allocations: 8 kB / 1.331 GB, free: 8.648 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002756/0.4446, allocations: 59.7 kB / 1.331 GB, free: 8.59 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.134e-05/0.4446, allocations: 24 kB / 1.331 GB, free: 8.566 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.0001865/0.4448, allocations: 159.4 kB / 1.331 GB, free: 8.402 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.084e-05/0.4449, allocations: 27.8 kB / 1.331 GB, free: 8.375 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.69e-05/0.4449, allocations: 33.88 kB / 1.331 GB, free: 8.336 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.634e-06/0.4449, allocations: 7.984 kB / 1.331 GB, free: 8.328 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/0.445, allocations: 4 kB / 1.331 GB, free: 8.324 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.445, allocations: 3.938 kB / 1.331 GB, free: 8.32 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004307/0.4454, allocations: 365.1 kB / 1.331 GB, free: 7.914 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.4454, allocations: 0 / 1.331 GB, free: 7.914 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004148/0.4458, allocations: 75.89 kB / 1.331 GB, free: 7.84 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.807e-06/0.4458, allocations: 7.938 kB / 1.331 GB, free: 7.832 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.316e-05/0.4459, allocations: 8 kB / 1.331 GB, free: 7.824 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.4459, allocations: 0 / 1.331 GB, free: 7.824 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.552e-06/0.4459, allocations: 11.98 kB / 1.332 GB, free: 7.812 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001196/0.4471, allocations: 0.5786 MB / 1.332 GB, free: 7.203 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.329e-05/0.4471, allocations: 100.9 kB / 1.332 GB, free: 7.086 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.375e-05/0.4472, allocations: 19.94 kB / 1.332 GB, free: 7.066 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000251/0.4474, allocations: 27.97 kB / 1.332 GB, free: 7.039 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001517/0.4476, allocations: 55.92 kB / 1.332 GB, free: 6.984 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-05/0.4476, allocations: 12 kB / 1.332 GB, free: 6.973 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001081/0.4477, allocations: 124.1 kB / 1.332 GB, free: 6.852 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4477, allocations: 0 / 1.332 GB, free: 6.852 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003631/0.4481, allocations: 83.95 kB / 1.332 GB, free: 6.77 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.0001955/0.4483, allocations: 121.2 kB / 1.333 GB, free: 6.645 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000843/0.4491, allocations: 368.4 kB / 1.333 GB, free: 6.289 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.4491, allocations: 0 / 1.333 GB, free: 6.289 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0004179/0.4495, allocations: 187.8 kB / 1.333 GB, free: 6.105 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000354/0.4499, allocations: 48.11 kB / 1.333 GB, free: 6.059 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001257/0.4512, allocations: 0.6302 MB / 1.334 GB, free: 5.402 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004086/0.4516, allocations: 0.7569 MB / 1.335 GB, free: 4.621 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001424/0.4517, allocations: 38.95 kB / 1.335 GB, free: 4.582 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001249/0.4518, allocations: 35.44 kB / 1.335 GB, free: 4.547 MB / 1.029 GB Notification: Performance of SimCode: time 3.5e-07/0.4518, allocations: 4 kB / 1.335 GB, free: 4.543 MB / 1.029 GB Notification: Performance of Templates: time 0.008614/0.4605, allocations: 3.962 MB / 1.338 GB, free: 0.6094 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_MovingAverage.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.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.789924814831465]