Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Examples.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.0007894/0.0007894, allocations: 76.55 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.0008243/0.0008243, allocations: 181.9 kB / 23.22 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.8519/0.8519, allocations: 177.1 MB / 203.5 MB, free: 5.723 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.639/1.639, allocations: 359 MB / 0.6044 GB, free: 11.11 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.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|average.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.Average") translateModel(Buildings.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|average.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.Average") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 0.9517 GB, free: 3.039 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.787e-05/2.98e-05, allocations: 2.281 kB / 0.9517 GB, free: 3.035 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Average): time 0.00251/0.00254, allocations: 1.553 MB / 0.9532 GB, free: 1.465 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0002725/0.002812, allocations: 115.6 kB / 0.9534 GB, free: 1.352 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.505e-05/0.002858, allocations: 4 kB / 0.9534 GB, free: 1.348 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0001079/0.002965, allocations: 7.922 kB / 0.9534 GB, free: 1.34 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 1.949e-05/0.002985, allocations: 7.875 kB / 0.9534 GB, free: 1.332 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002425/0.003227, allocations: 23.97 kB / 0.9534 GB, free: 1.309 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 8.518e-05/0.003313, allocations: 59.83 kB / 0.9535 GB, free: 1.25 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.003425, allocations: 15.98 kB / 0.9535 GB, free: 1.234 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 6.194e-05/0.003487, allocations: 43.84 kB / 0.9535 GB, free: 1.191 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 5.24e-05/0.00354, allocations: 19.97 kB / 0.9535 GB, free: 1.172 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.607e-05/0.003556, allocations: 4 kB / 0.9535 GB, free: 1.168 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 5.495e-05/0.003611, allocations: 19.91 kB / 0.9536 GB, free: 1.148 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 3.517e-05/0.003646, allocations: 11.94 kB / 0.9536 GB, free: 1.137 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.768e-05/0.003673, allocations: 23.92 kB / 0.9536 GB, free: 1.113 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001195/0.003793, allocations: 63.78 kB / 0.9537 GB, free: 1.051 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.003796, allocations: 0 / 0.9537 GB, free: 1.051 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.523e-06/0.003797, allocations: 0 / 0.9537 GB, free: 1.051 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.037e-06/0.003801, allocations: 0 / 0.9537 GB, free: 1.051 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003817/0.004183, allocations: 314 kB / 0.954 GB, free: 0.7109 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/0.004217, allocations: 8.031 kB / 0.954 GB, free: 0.7031 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.173e-05/0.004248, allocations: 8.891 kB / 0.954 GB, free: 0.6953 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001261/0.004374, allocations: 121.7 kB / 0.9541 GB, free: 0.5508 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.925e-06/0.004382, allocations: 384 / 0.9541 GB, free: 0.5508 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.068e-05/0.004393, allocations: 4.375 kB / 0.9541 GB, free: 0.5469 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001769/0.00457, allocations: 90.14 kB / 0.9542 GB, free: 464 kB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/0.004577, allocations: 192 / 0.9542 GB, free: 464 kB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.258e-06/0.004586, allocations: 4.375 kB / 0.9542 GB, free: 460 kB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.004591, allocations: 384 / 0.9542 GB, free: 460 kB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001515/0.004742, allocations: 83.84 kB / 0.9543 GB, free: 376 kB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003228/0.005065, allocations: 252.5 kB / 0.9545 GB, free: 92 kB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001128/0.005178, allocations: 62.53 kB / 0.9546 GB, free: 20 kB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.588e-05/0.005264, allocations: 40.92 kB / 0.9546 GB, free: 15.97 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 3.546e-05/0.005299, allocations: 7.938 kB / 0.9546 GB, free: 15.96 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.893e-05/0.005318, allocations: 42.52 kB / 0.9546 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=3): time 7.62e-07/0.005319, allocations: 0 / 0.9546 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of matching and sorting (n=3): time 0.0002967/0.005616, allocations: 137.5 kB / 0.9548 GB, free: 15.78 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.961e-05/0.005645, allocations: 51.41 kB / 0.9548 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.114e-05/0.005706, allocations: 117.8 kB / 0.9549 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.015e-05/0.005717, allocations: 25.7 kB / 0.955 GB, free: 15.56 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.248e-05/0.005759, allocations: 104 kB / 0.9551 GB, free: 15.45 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.52e-05/0.005774, allocations: 3.953 kB / 0.9551 GB, free: 15.45 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.763e-05/0.005802, allocations: 17.72 kB / 0.9551 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.325e-05/0.005875, allocations: 314.8 kB / 0.9554 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.363e-05/0.005949, allocations: 39.95 kB / 0.9554 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.728e-05/0.006016, allocations: 44.69 kB / 0.9555 GB, free: 15.03 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001305/0.006147, allocations: 76.8 kB / 0.9555 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.006148, allocations: 0 / 0.9555 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001712/0.00632, allocations: 109.5 kB / 0.9556 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.006333, allocations: 4 kB / 0.9556 GB, free: 14.83 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.006339, allocations: 3.984 kB / 0.9556 GB, free: 14.83 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.00635, allocations: 0 / 0.9556 GB, free: 14.83 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.22e-05/0.006422, allocations: 15.98 kB / 0.9557 GB, free: 14.81 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.008e-06/0.006426, allocations: 0 / 0.9557 GB, free: 14.81 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.548e-05/0.006462, allocations: 15.98 kB / 0.9557 GB, free: 14.8 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.539e-05/0.006477, allocations: 4 kB / 0.9557 GB, free: 14.79 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 5.517e-05/0.006532, allocations: 113.8 kB / 0.9558 GB, free: 14.67 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.599e-05/0.006548, allocations: 19.83 kB / 0.9558 GB, free: 14.65 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001922/0.006741, allocations: 109.6 kB / 0.9559 GB, free: 14.53 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.006742, allocations: 0 / 0.9559 GB, free: 14.53 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.006745, allocations: 0 / 0.9559 GB, free: 14.53 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.006747, allocations: 0 / 0.9559 GB, free: 14.53 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.282e-05/0.00684, allocations: 129.2 kB / 0.956 GB, free: 14.38 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.006842, allocations: 0 / 0.956 GB, free: 14.38 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.785e-05/0.00688, allocations: 11.98 kB / 0.9561 GB, free: 14.36 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.006883, allocations: 11.88 kB / 0.9561 GB, free: 14.35 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.006889, allocations: 0 / 0.9561 GB, free: 14.35 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-07/0.00689, allocations: 0 / 0.9561 GB, free: 14.35 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.006891, allocations: 0 / 0.9561 GB, free: 14.35 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001773/0.007068, allocations: 199.4 kB / 0.9563 GB, free: 14.14 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 9.327e-06/0.007078, allocations: 15.89 kB / 0.9563 GB, free: 14.12 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.958e-06/0.007088, allocations: 3.984 kB / 0.9563 GB, free: 14.12 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.886e-05/0.007136, allocations: 11.98 kB / 0.9563 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.238e-05/0.007169, allocations: 0 / 0.9563 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-06/0.007175, allocations: 0 / 0.9563 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.914e-05/0.007214, allocations: 95.27 kB / 0.9564 GB, free: 14.02 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.007214, allocations: 0 / 0.9564 GB, free: 14.02 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001535/0.007367, allocations: 8 kB / 0.9564 GB, free: 14.01 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 0.0001143/0.007482, allocations: 107.2 kB / 0.9565 GB, free: 13.89 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001829/0.007665, allocations: 71.92 kB / 0.9566 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.007666, allocations: 0 / 0.9566 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 6.848e-05/0.007734, allocations: 39.89 kB / 0.9566 GB, free: 13.79 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002228/0.007957, allocations: 16 kB / 0.9566 GB, free: 13.77 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002797/0.008237, allocations: 178.4 kB / 0.9568 GB, free: 13.56 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.46e-05/0.008291, allocations: 79.17 kB / 0.9569 GB, free: 13.46 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.597e-05/0.008317, allocations: 12.5 kB / 0.9569 GB, free: 13.45 MB / 0.9167 GB Notification: Performance of SimCode: time 4.7e-07/0.008318, allocations: 0 / 0.9569 GB, free: 13.45 MB / 0.9167 GB Notification: Performance of Templates: time 0.001702/0.01002, allocations: 0.9682 MB / 0.9578 GB, free: 12.49 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.Average.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.Average.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.Average.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.Average.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.Average -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.Average.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.Average_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_Average.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.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.533054075203836]