Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Average.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.001944/0.001944, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.002556/0.002556, allocations: 161.7 kB / 23.54 MB, free: 0.8906 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.591/1.591, allocations: 177.1 MB / 203.9 MB, free: 5.609 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.911/2.911, allocations: 377.8 MB / 0.6232 GB, free: 8.547 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.Average,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|avg1.u1|avg1.u2|avg1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Average") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Average,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|avg1.u1|avg1.u2|avg1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Average") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 4.819e-06/4.819e-06, allocations: 3.984 kB / 0.8109 GB, free: 2.027 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.368e-05/3.85e-05, allocations: 9.141 kB / 0.8109 GB, free: 2.02 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Average): time 0.002295/0.002333, allocations: 0.6989 MB / 0.8116 GB, free: 1.336 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001361/0.003694, allocations: 0.8252 MB / 0.8124 GB, free: 0.5 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.775e-05/0.003742, allocations: 0 / 0.8124 GB, free: 0.5 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.592e-05/0.003778, allocations: 3.938 kB / 0.8124 GB, free: 0.4961 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0001043/0.003882, allocations: 11.88 kB / 0.8124 GB, free: 496 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 7.713e-05/0.003959, allocations: 13.98 kB / 0.8124 GB, free: 484 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001071/0.004066, allocations: 47.83 kB / 0.8124 GB, free: 436 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.004174, allocations: 8 kB / 0.8124 GB, free: 428 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001098/0.004283, allocations: 27.91 kB / 0.8125 GB, free: 400 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 4.809e-05/0.004332, allocations: 15.98 kB / 0.8125 GB, free: 384 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.775e-05/0.004349, allocations: 0.5938 kB / 0.8125 GB, free: 384 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 1.158e-05/0.004361, allocations: 4 kB / 0.8125 GB, free: 380 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 2.481e-05/0.004386, allocations: 12.52 kB / 0.8125 GB, free: 368 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 4.027e-05/0.004426, allocations: 8.656 kB / 0.8125 GB, free: 360 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.000117/0.004543, allocations: 47.91 kB / 0.8126 GB, free: 312 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.004545, allocations: 0.5312 kB / 0.8126 GB, free: 312 kB / 0.7605 GB Notification: Performance of FrontEnd: time 9.72e-07/0.004546, allocations: 0 / 0.8126 GB, free: 312 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.529e-06/0.004551, allocations: 1.469 kB / 0.8126 GB, free: 312 kB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006466/0.005198, allocations: 286.3 kB / 0.8128 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.005243, allocations: 12.5 kB / 0.8128 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.201e-05/0.005295, allocations: 10.27 kB / 0.8129 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001352/0.00543, allocations: 109.8 kB / 0.813 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.658e-05/0.005447, allocations: 4.375 kB / 0.813 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.63e-05/0.005463, allocations: 8.312 kB / 0.813 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002916/0.005754, allocations: 67.38 kB / 0.813 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.005766, allocations: 1.562 kB / 0.813 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.005778, allocations: 384 / 0.813 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.005783, allocations: 384 / 0.813 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003167/0.0061, allocations: 69.27 kB / 0.8131 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004237/0.006523, allocations: 209.1 kB / 0.8133 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000236/0.006759, allocations: 59.66 kB / 0.8134 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001554/0.006915, allocations: 37.77 kB / 0.8134 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.487e-05/0.00693, allocations: 1.375 kB / 0.8134 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.42e-05/0.006964, allocations: 30.56 kB / 0.8134 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.006965, allocations: 0 / 0.8134 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0005806/0.007546, allocations: 136.6 kB / 0.8136 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.247e-05/0.007598, allocations: 59.34 kB / 0.8136 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001216/0.00772, allocations: 105.8 kB / 0.8137 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.949e-05/0.007739, allocations: 25.7 kB / 0.8137 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.713e-05/0.007806, allocations: 94.53 kB / 0.8138 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.019e-05/0.007826, allocations: 7.891 kB / 0.8138 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.593e-05/0.007872, allocations: 17.7 kB / 0.8139 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001805/0.008053, allocations: 314.8 kB / 0.8142 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001564/0.008209, allocations: 31.97 kB / 0.8142 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001422/0.008352, allocations: 34.42 kB / 0.8142 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003019/0.008653, allocations: 69.69 kB / 0.8143 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.008655, allocations: 0 / 0.8143 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003573/0.009012, allocations: 105.5 kB / 0.8144 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.00903, allocations: 7.938 kB / 0.8144 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.009034, allocations: 0 / 0.8144 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/0.009054, allocations: 0 / 0.8144 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001377/0.009192, allocations: 15.98 kB / 0.8144 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.009197, allocations: 0 / 0.8144 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.369e-05/0.009281, allocations: 11.98 kB / 0.8144 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.644e-06/0.009289, allocations: 2.406 kB / 0.8144 GB, free: 14.24 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.000109/0.009398, allocations: 121.8 kB / 0.8145 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.646e-05/0.009424, allocations: 0 / 0.8145 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.372e-05/0.009458, allocations: 16.27 kB / 0.8146 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.00946, allocations: 0 / 0.8146 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.009465, allocations: 0.9688 kB / 0.8146 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.00947, allocations: 3.984 kB / 0.8146 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00018/0.00965, allocations: 113.2 kB / 0.8147 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.009651, allocations: 1.094 kB / 0.8147 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001006/0.009751, allocations: 11.98 kB / 0.8147 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.009753, allocations: 5.062 kB / 0.8147 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/0.009765, allocations: 3.984 kB / 0.8147 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.682e-06/0.009772, allocations: 7.938 kB / 0.8147 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.009773, allocations: 1.125 kB / 0.8147 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000434/0.01021, allocations: 200.3 kB / 0.8149 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 8.927e-06/0.01022, allocations: 1.656 kB / 0.8149 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.506e-05/0.01023, allocations: 0 / 0.8149 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001208/0.01035, allocations: 19.91 kB / 0.8149 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.583e-05/0.01041, allocations: 0 / 0.8149 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.949e-06/0.01042, allocations: 9.531 kB / 0.8149 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 8.203e-05/0.0105, allocations: 87.56 kB / 0.815 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.0105, allocations: 0 / 0.815 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002305/0.01073, allocations: 8 kB / 0.815 GB, free: 13.6 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.000163/0.01089, allocations: 97.25 kB / 0.8151 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003639/0.01126, allocations: 72.61 kB / 0.8152 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.01126, allocations: 0.6562 kB / 0.8152 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001762/0.01143, allocations: 36.61 kB / 0.8152 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003578/0.01179, allocations: 7.562 kB / 0.8152 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000456/0.01225, allocations: 132.5 kB / 0.8153 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.912e-05/0.01235, allocations: 81.42 kB / 0.8154 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.488e-05/0.01239, allocations: 0 / 0.8154 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.529e-05/0.01244, allocations: 12.5 kB / 0.8154 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of SimCode: time 4.91e-07/0.01244, allocations: 0 / 0.8154 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of Templates: time 0.003763/0.0162, allocations: 0.7433 MB / 0.8162 GB, free: 12.39 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Average.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Average.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Average -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Average_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Average.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Average.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: 7.905697984038852]