Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0007379/0.0007379, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001091/0.001829, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0006922/0.0006922, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008974/0.00159, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.9491/0.9491, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08843/1.038, allocations: 53.66 MB / 243.4 MB, free: 15.52 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.878/1.878, allocations: 378.3 MB / 0.6079 GB, free: 7.695 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5295/2.408, allocations: 123.3 MB / 0.7283 GB, free: 5.715 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|average.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.Average") translateModel(Buildings.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|average.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.Average") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.223e-06/1.223e-06, allocations: 0 / 0.7297 GB, free: 4.375 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.156e-05/1.279e-05, allocations: 2.312 kB / 0.7297 GB, free: 4.371 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Average): time 0.001804/0.001817, allocations: 1.653 MB / 0.7313 GB, free: 2.746 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0001652/0.001982, allocations: 111.7 kB / 0.7314 GB, free: 2.637 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.512e-05/0.002017, allocations: 0 / 0.7314 GB, free: 2.637 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 5.848e-05/0.002076, allocations: 12.62 kB / 0.7314 GB, free: 2.625 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 2.035e-05/0.002096, allocations: 7.828 kB / 0.7314 GB, free: 2.621 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001332/0.002229, allocations: 31.91 kB / 0.7314 GB, free: 2.59 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001068/0.002336, allocations: 58.3 kB / 0.7315 GB, free: 2.543 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001/0.002436, allocations: 22.2 kB / 0.7315 GB, free: 2.523 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 7.874e-05/0.002515, allocations: 42.25 kB / 0.7316 GB, free: 2.484 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 6.684e-05/0.002582, allocations: 30.14 kB / 0.7316 GB, free: 2.457 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.657e-05/0.002598, allocations: 4 kB / 0.7316 GB, free: 2.453 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 6.272e-05/0.002661, allocations: 8.531 kB / 0.7316 GB, free: 2.445 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 3.382e-05/0.002695, allocations: 16.31 kB / 0.7316 GB, free: 2.434 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.38e-05/0.002719, allocations: 13.69 kB / 0.7316 GB, free: 2.422 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001054/0.002824, allocations: 47.84 kB / 0.7317 GB, free: 2.375 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 9.698e-06/0.002834, allocations: 0 / 0.7317 GB, free: 2.375 MB / 0.698 GB Notification: Performance of FrontEnd: time 6.11e-07/0.002834, allocations: 0 / 0.7317 GB, free: 2.375 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.887e-06/0.002843, allocations: 0.9375 kB / 0.7317 GB, free: 2.375 MB / 0.698 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.000335/0.003178, allocations: 272.9 kB / 0.7319 GB, free: 2.082 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 2.798e-05/0.003206, allocations: 12.03 kB / 0.7319 GB, free: 2.07 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.014e-05/0.003236, allocations: 10.67 kB / 0.7319 GB, free: 2.062 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001082/0.003344, allocations: 121.7 kB / 0.7321 GB, free: 1.918 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.204e-06/0.003352, allocations: 4.375 kB / 0.7321 GB, free: 1.914 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.121e-05/0.003363, allocations: 4.375 kB / 0.7321 GB, free: 1.91 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000121/0.003484, allocations: 74.97 kB / 0.7321 GB, free: 1.828 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.871e-06/0.00349, allocations: 4.125 kB / 0.7321 GB, free: 1.824 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.673e-06/0.003496, allocations: 4.312 kB / 0.7322 GB, free: 1.82 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.0035, allocations: 5.031 kB / 0.7322 GB, free: 1.816 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.341e-05/0.003524, allocations: 15.92 kB / 0.7322 GB, free: 1.801 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000228/0.003752, allocations: 194.9 kB / 0.7324 GB, free: 1.594 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.094e-05/0.003803, allocations: 23.39 kB / 0.7324 GB, free: 1.562 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.727e-05/0.00382, allocations: 12.86 kB / 0.7324 GB, free: 1.547 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.696e-05/0.003847, allocations: 4.781 kB / 0.7324 GB, free: 1.543 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.81e-05/0.003865, allocations: 34.5 kB / 0.7324 GB, free: 1.5 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 9.11e-07/0.003866, allocations: 0.625 kB / 0.7324 GB, free: 1.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 9.127e-05/0.003957, allocations: 46.72 kB / 0.7325 GB, free: 1.449 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.362e-05/0.003981, allocations: 55.39 kB / 0.7325 GB, free: 1.383 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.974e-05/0.004031, allocations: 114.7 kB / 0.7326 GB, free: 1.258 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.488e-06/0.00404, allocations: 30.39 kB / 0.7327 GB, free: 1.223 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.237e-05/0.004072, allocations: 96.02 kB / 0.7328 GB, free: 1.125 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.222e-05/0.004095, allocations: 13.34 kB / 0.7328 GB, free: 1.113 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.396e-05/0.004119, allocations: 13.72 kB / 0.7328 GB, free: 1.094 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.832e-05/0.004187, allocations: 314.8 kB / 0.7331 GB, free: 0.7773 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.898e-06/0.004197, allocations: 4.688 kB / 0.7331 GB, free: 0.7734 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.588e-06/0.004206, allocations: 4.172 kB / 0.7331 GB, free: 0.7695 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.384e-05/0.00423, allocations: 21.14 kB / 0.7331 GB, free: 0.7461 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.004232, allocations: 0 / 0.7331 GB, free: 0.7461 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.38e-05/0.004276, allocations: 45.62 kB / 0.7332 GB, free: 0.6953 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.004287, allocations: 11.94 kB / 0.7332 GB, free: 0.6836 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.004291, allocations: 1.594 kB / 0.7332 GB, free: 0.6836 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.004302, allocations: 3.984 kB / 0.7332 GB, free: 0.6797 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.886e-05/0.004361, allocations: 8 kB / 0.7332 GB, free: 0.6719 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.695e-06/0.004364, allocations: 0 / 0.7332 GB, free: 0.6719 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.102e-05/0.004385, allocations: 8.797 kB / 0.7332 GB, free: 0.6641 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.446e-05/0.004399, allocations: 4 kB / 0.7332 GB, free: 0.6602 MB / 0.698 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.761e-05/0.004457, allocations: 109.9 kB / 0.7333 GB, free: 0.543 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.481e-05/0.004472, allocations: 7.938 kB / 0.7333 GB, free: 0.5352 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.017e-05/0.004552, allocations: 62.89 kB / 0.7334 GB, free: 472 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.004554, allocations: 0 / 0.7334 GB, free: 472 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.004555, allocations: 0 / 0.7334 GB, free: 472 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.004559, allocations: 0 / 0.7334 GB, free: 472 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.745e-05/0.004646, allocations: 75.12 kB / 0.7334 GB, free: 380 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.004648, allocations: 4 kB / 0.7334 GB, free: 376 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.767e-05/0.004676, allocations: 11.98 kB / 0.7335 GB, free: 364 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.012e-06/0.004682, allocations: 5.203 kB / 0.7335 GB, free: 360 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.51e-07/0.004682, allocations: 0 / 0.7335 GB, free: 360 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.091e-06/0.004689, allocations: 7.938 kB / 0.7335 GB, free: 352 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.51e-07/0.004689, allocations: 4 kB / 0.7335 GB, free: 348 kB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.00469, allocations: 1.031 kB / 0.7335 GB, free: 348 kB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.096e-05/0.004761, allocations: 135.5 kB / 0.7336 GB, free: 196 kB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.326e-06/0.004769, allocations: 0.5312 kB / 0.7336 GB, free: 196 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.452e-05/0.004804, allocations: 9.156 kB / 0.7336 GB, free: 188 kB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.123e-05/0.004835, allocations: 11.92 kB / 0.7336 GB, free: 176 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.004839, allocations: 4 kB / 0.7336 GB, free: 172 kB / 0.698 GB Notification: Performance of sorting global known variables: time 1.837e-05/0.004858, allocations: 20.83 kB / 0.7336 GB, free: 148 kB / 0.698 GB Notification: Performance of sort global known variables: time 5e-08/0.004858, allocations: 0.7188 kB / 0.7336 GB, free: 148 kB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001215/0.004979, allocations: 11.94 kB / 0.7337 GB, free: 136 kB / 0.698 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.445e-05/0.005074, allocations: 77.64 kB / 0.7337 GB, free: 52 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 8.47e-05/0.005158, allocations: 64.08 kB / 0.7338 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.603e-06/0.005165, allocations: 4 kB / 0.7338 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.56e-05/0.005191, allocations: 17.55 kB / 0.7338 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001701/0.005361, allocations: 72.84 kB / 0.7339 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003962/0.005757, allocations: 156.2 kB / 0.734 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.961e-05/0.005797, allocations: 63.34 kB / 0.7341 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.127e-05/0.005818, allocations: 1.406 kB / 0.7341 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.114e-05/0.005869, allocations: 55.38 kB / 0.7341 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of SimCode: time 6.22e-07/0.00587, allocations: 0 / 0.7341 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of Templates: time 0.002294/0.008164, allocations: 0.8023 MB / 0.7349 GB, free: 14.8 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.Average.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.Average.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.Average.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.Average.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.Average -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.Average.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.Average_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Utilities.Math.Examples.Average/Buildings_12_Buildings.Utilities.Math.Examples.Average.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.959988661110401]