Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0006681/0.0006681, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0008105/0.0008105, allocations: 177.9 kB / 23.21 MB, free: 1.348 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 0.8907/0.8907, allocations: 177.2 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.705/1.705, allocations: 359 MB / 0.6044 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.354e-06/2.354e-06, allocations: 0 / 0.9518 GB, free: 2.941 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.029e-05/3.264e-05, allocations: 5.375 kB / 0.9518 GB, free: 2.938 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Average): time 0.001917/0.00195, allocations: 0.6989 MB / 0.9525 GB, free: 2.23 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001053/0.003003, allocations: 0.8199 MB / 0.9533 GB, free: 1.398 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.027e-05/0.003043, allocations: 3.938 kB / 0.9533 GB, free: 1.395 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.132e-05/0.003074, allocations: 3.938 kB / 0.9533 GB, free: 1.391 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 7.259e-05/0.003147, allocations: 7.938 kB / 0.9533 GB, free: 1.383 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 7.176e-05/0.003219, allocations: 11.97 kB / 0.9533 GB, free: 1.371 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 9.374e-05/0.003312, allocations: 51.86 kB / 0.9534 GB, free: 1.32 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001192/0.003431, allocations: 11.91 kB / 0.9534 GB, free: 1.309 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 9.597e-05/0.003527, allocations: 27.92 kB / 0.9534 GB, free: 1.281 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002579/0.003785, allocations: 15.98 kB / 0.9534 GB, free: 1.266 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.655e-05/0.003812, allocations: 4 kB / 0.9534 GB, free: 1.262 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 8.526e-06/0.00382, allocations: 4 kB / 0.9534 GB, free: 1.258 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.929e-05/0.00384, allocations: 11.92 kB / 0.9534 GB, free: 1.246 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.287e-05/0.003873, allocations: 8 kB / 0.9534 GB, free: 1.238 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001048/0.003977, allocations: 43.91 kB / 0.9535 GB, free: 1.195 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.00398, allocations: 0 / 0.9535 GB, free: 1.195 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.673e-06/0.003982, allocations: 4 kB / 0.9535 GB, free: 1.191 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.888e-06/0.003986, allocations: 3.938 kB / 0.9535 GB, free: 1.188 MB / 0.9011 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.0004648/0.004451, allocations: 282.2 kB / 0.9538 GB, free: 0.8789 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.004491, allocations: 8.031 kB / 0.9538 GB, free: 0.8711 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.435e-05/0.004525, allocations: 8.875 kB / 0.9538 GB, free: 0.8633 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.761e-05/0.004623, allocations: 117.7 kB / 0.9539 GB, free: 0.7227 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.004636, allocations: 4.312 kB / 0.9539 GB, free: 0.7188 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.412e-05/0.00465, allocations: 8.375 kB / 0.9539 GB, free: 0.7109 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002229/0.004873, allocations: 70.22 kB / 0.954 GB, free: 0.6367 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.004881, allocations: 192 / 0.954 GB, free: 0.6367 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.004893, allocations: 4.375 kB / 0.954 GB, free: 0.6328 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.004898, allocations: 384 / 0.954 GB, free: 0.6328 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002108/0.005109, allocations: 67.86 kB / 0.954 GB, free: 0.5664 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003517/0.00546, allocations: 212.5 kB / 0.9542 GB, free: 336 kB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001614/0.005622, allocations: 54.53 kB / 0.9543 GB, free: 272 kB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001123/0.005734, allocations: 36.92 kB / 0.9543 GB, free: 232 kB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.29e-05/0.005747, allocations: 0 / 0.9543 GB, free: 232 kB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.243e-05/0.005769, allocations: 30.56 kB / 0.9544 GB, free: 192 kB / 0.9011 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.00577, allocations: 0 / 0.9544 GB, free: 192 kB / 0.9011 GB Notification: Performance of matching and sorting (n=3): time 0.0004295/0.0062, allocations: 141.5 kB / 0.9545 GB, free: 44 kB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.821e-05/0.006248, allocations: 51.41 kB / 0.9545 GB, free: 15.98 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.869e-05/0.006337, allocations: 109.8 kB / 0.9546 GB, free: 15.86 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.327e-05/0.00635, allocations: 25.7 kB / 0.9547 GB, free: 15.83 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.688e-05/0.006397, allocations: 88.14 kB / 0.9547 GB, free: 15.74 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.447e-05/0.006421, allocations: 11.84 kB / 0.9548 GB, free: 15.73 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.003e-05/0.006461, allocations: 17.7 kB / 0.9548 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 9.617e-05/0.006558, allocations: 314.8 kB / 0.9551 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001081/0.006666, allocations: 31.97 kB / 0.9551 GB, free: 15.36 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000103/0.006769, allocations: 40.12 kB / 0.9551 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000187/0.006956, allocations: 64.78 kB / 0.9552 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.006958, allocations: 0 / 0.9552 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000234/0.007192, allocations: 101.6 kB / 0.9553 GB, free: 15.15 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.007211, allocations: 14.44 kB / 0.9553 GB, free: 15.14 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.485e-06/0.00722, allocations: 0 / 0.9553 GB, free: 15.14 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.007234, allocations: 0 / 0.9553 GB, free: 15.14 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001032/0.007337, allocations: 11.98 kB / 0.9553 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.93e-06/0.007342, allocations: 4 kB / 0.9553 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.617e-05/0.007398, allocations: 19.91 kB / 0.9554 GB, free: 15.1 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.356e-06/0.007407, allocations: 4 kB / 0.9554 GB, free: 15.1 MB / 0.9167 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 7.026e-05/0.007477, allocations: 109.8 kB / 0.9555 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.568e-05/0.007503, allocations: 7.953 kB / 0.9555 GB, free: 14.97 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.622e-05/0.007529, allocations: 11.94 kB / 0.9555 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-06/0.007532, allocations: 0 / 0.9555 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.007536, allocations: 0 / 0.9555 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.007539, allocations: 0 / 0.9555 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001378/0.007677, allocations: 113.3 kB / 0.9556 GB, free: 14.81 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.007678, allocations: 0 / 0.9556 GB, free: 14.81 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.123e-05/0.007749, allocations: 23.97 kB / 0.9556 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.007752, allocations: 7.875 kB / 0.9556 GB, free: 14.78 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.00776, allocations: 0 / 0.9556 GB, free: 14.78 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.007763, allocations: 3.938 kB / 0.9556 GB, free: 14.78 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.007765, allocations: 0 / 0.9556 GB, free: 14.78 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000283/0.008048, allocations: 191.5 kB / 0.9558 GB, free: 14.57 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 9.197e-06/0.008057, allocations: 3.953 kB / 0.9558 GB, free: 14.57 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.368e-05/0.008071, allocations: 8 kB / 0.9558 GB, free: 14.56 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000125/0.008195, allocations: 19.91 kB / 0.9558 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.182e-05/0.008237, allocations: 4 kB / 0.9558 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.008241, allocations: 0 / 0.9558 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.798e-05/0.008278, allocations: 87.58 kB / 0.9559 GB, free: 14.45 MB / 0.9167 GB Notification: Performance of sort global known variables: time 8e-08/0.008279, allocations: 0 / 0.9559 GB, free: 14.45 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.000146/0.008425, allocations: 8 kB / 0.9559 GB, free: 14.45 MB / 0.9167 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 9.68e-05/0.008521, allocations: 95.25 kB / 0.956 GB, free: 14.34 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001946/0.008716, allocations: 71.86 kB / 0.9561 GB, free: 14.27 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.008717, allocations: 0 / 0.9561 GB, free: 14.27 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 7.161e-05/0.008789, allocations: 39.95 kB / 0.9561 GB, free: 14.23 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002265/0.009015, allocations: 4.234 kB / 0.9561 GB, free: 14.23 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002783/0.009294, allocations: 158.5 kB / 0.9563 GB, free: 14.04 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.205e-05/0.009336, allocations: 67.33 kB / 0.9563 GB, free: 13.96 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.063e-05/0.009366, allocations: 8.5 kB / 0.9564 GB, free: 13.95 MB / 0.9167 GB Notification: Performance of SimCode: time 3.51e-07/0.009367, allocations: 0 / 0.9564 GB, free: 13.95 MB / 0.9167 GB Notification: Performance of Templates: time 0.001524/0.01089, allocations: 0.786 MB / 0.9571 GB, free: 13.17 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Average.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 6.371334205381572]