Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.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.001593/0.001593, allocations: 118.2 kB / 17.13 MB, free: 5.945 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.001731/0.001731, allocations: 209.5 kB / 20.09 MB, free: 2.996 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.515/1.515, allocations: 230.6 MB / 253.5 MB, free: 15.14 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 2.859/2.859, allocations: 0.49 GB / 0.7922 GB, free: 1.336 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.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration") [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.002001/0.002001, allocations: 71.91 kB / 1.15 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9556/0.9576, allocations: 176.1 MB / 1.322 GB, free: 25.04 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001611/0.9592, allocations: 0.5779 MB / 1.323 GB, free: 24.68 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0002305/0.9594, allocations: 38.73 kB / 1.323 GB, free: 24.66 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.989e-05/0.9595, allocations: 0 / 1.323 GB, free: 24.66 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.257e-05/0.9595, allocations: 3.938 kB / 1.323 GB, free: 24.66 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.015e-05/0.9595, allocations: 2.75 kB / 1.323 GB, free: 24.66 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002016/0.9597, allocations: 10.08 kB / 1.323 GB, free: 24.65 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.198e-05/0.9598, allocations: 6.641 kB / 1.323 GB, free: 24.65 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.224e-05/0.9599, allocations: 4.672 kB / 1.323 GB, free: 24.65 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 1.944e-05/0.9599, allocations: 6.781 kB / 1.323 GB, free: 24.64 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.679e-05/0.9599, allocations: 7.328 kB / 1.323 GB, free: 24.64 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.164e-05/0.9599, allocations: 0 / 1.323 GB, free: 24.64 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 6.871e-05/0.96, allocations: 15.86 kB / 1.323 GB, free: 24.64 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.376e-05/0.96, allocations: 6.688 kB / 1.323 GB, free: 24.63 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.149e-05/0.9601, allocations: 6.875 kB / 1.323 GB, free: 24.63 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 9.435e-05/0.9602, allocations: 26.81 kB / 1.323 GB, free: 24.62 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.9602, allocations: 0 / 1.323 GB, free: 24.62 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.323e-06/0.9602, allocations: 0 / 1.323 GB, free: 24.62 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.9602, allocations: 0 / 1.323 GB, free: 24.62 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0002812/0.9604, allocations: 357 kB / 1.323 GB, free: 24.23 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.9605, allocations: 18.39 kB / 1.323 GB, free: 24.22 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.69e-05/0.9605, allocations: 7.578 kB / 1.323 GB, free: 24.22 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.481e-05/0.9606, allocations: 160.4 kB / 1.323 GB, free: 24.02 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/0.9606, allocations: 4.359 kB / 1.323 GB, free: 24.02 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.947e-06/0.9606, allocations: 6.812 kB / 1.323 GB, free: 24.02 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001192/0.9607, allocations: 55.42 kB / 1.323 GB, free: 23.98 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.9607, allocations: 192 / 1.323 GB, free: 23.98 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.9607, allocations: 6.656 kB / 1.323 GB, free: 23.98 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.249e-05/0.9607, allocations: 7 kB / 1.323 GB, free: 23.97 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.27e-05/0.9608, allocations: 30.89 kB / 1.323 GB, free: 23.96 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002651/0.9611, allocations: 265.8 kB / 1.324 GB, free: 23.68 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 3.851e-05/0.9611, allocations: 21.3 kB / 1.324 GB, free: 23.66 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.437e-05/0.9611, allocations: 4.859 kB / 1.324 GB, free: 23.65 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 7.113e-06/0.9611, allocations: 2.719 kB / 1.324 GB, free: 23.65 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.9611, allocations: 34.56 kB / 1.324 GB, free: 23.61 MB / 1.061 GB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.9611, allocations: 0 / 1.324 GB, free: 23.61 MB / 1.061 GB Notification: Performance of matching and sorting (n=1): time 0.0001545/0.9613, allocations: 74 kB / 1.324 GB, free: 23.54 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.115e-05/0.9613, allocations: 77.11 kB / 1.324 GB, free: 23.44 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.879e-05/0.9614, allocations: 111.8 kB / 1.324 GB, free: 23.34 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 7.244e-06/0.9614, allocations: 28.48 kB / 1.324 GB, free: 23.31 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.396e-05/0.9614, allocations: 110.8 kB / 1.324 GB, free: 23.2 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 7.384e-06/0.9614, allocations: 3 kB / 1.324 GB, free: 23.2 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.427e-05/0.9615, allocations: 30.17 kB / 1.324 GB, free: 23.17 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.039e-05/0.9615, allocations: 318.8 kB / 1.324 GB, free: 22.85 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.148e-05/0.9615, allocations: 11.77 kB / 1.324 GB, free: 22.85 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.111e-05/0.9616, allocations: 57.61 kB / 1.324 GB, free: 22.79 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.458e-05/0.9617, allocations: 133.9 kB / 1.325 GB, free: 22.64 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.9617, allocations: 0 / 1.325 GB, free: 22.64 MB / 1.061 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001181/0.9618, allocations: 123.4 kB / 1.325 GB, free: 22.55 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.512e-05/0.9618, allocations: 30.86 kB / 1.325 GB, free: 22.52 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.9618, allocations: 2.469 kB / 1.325 GB, free: 22.52 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.9618, allocations: 2.875 kB / 1.325 GB, free: 22.52 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.004e-05/0.9619, allocations: 18.25 kB / 1.325 GB, free: 22.52 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.9619, allocations: 10.64 kB / 1.325 GB, free: 22.51 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.261e-05/0.962, allocations: 15.42 kB / 1.325 GB, free: 22.5 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.424e-05/0.962, allocations: 5.062 kB / 1.325 GB, free: 22.5 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * 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 6.24e-05/0.962, allocations: 147.9 kB / 1.325 GB, free: 22.34 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.29e-05/0.9621, allocations: 2.594 kB / 1.325 GB, free: 22.34 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.06e-05/0.9621, allocations: 6.062 kB / 1.325 GB, free: 22.33 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.9621, allocations: 0 / 1.325 GB, free: 22.33 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.9621, allocations: 3.938 kB / 1.325 GB, free: 22.33 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.9621, allocations: 0 / 1.325 GB, free: 22.33 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001101/0.9622, allocations: 153.9 kB / 1.325 GB, free: 22.14 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.9622, allocations: 0 / 1.325 GB, free: 22.14 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.814e-06/0.9622, allocations: 7.469 kB / 1.325 GB, free: 22.13 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.9622, allocations: 0 / 1.325 GB, free: 22.13 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.722e-06/0.9622, allocations: 2.5 kB / 1.325 GB, free: 22.13 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.9622, allocations: 0 / 1.325 GB, free: 22.13 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.9622, allocations: 0 / 1.325 GB, free: 22.13 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.911e-05/0.9623, allocations: 174.1 kB / 1.325 GB, free: 21.96 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.821e-05/0.9623, allocations: 81.06 kB / 1.325 GB, free: 21.86 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.218e-05/0.9623, allocations: 4.031 kB / 1.325 GB, free: 21.86 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.22e-05/0.9624, allocations: 2.25 kB / 1.325 GB, free: 21.86 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.286e-05/0.9624, allocations: 6.875 kB / 1.325 GB, free: 21.85 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.117e-06/0.9624, allocations: 0 / 1.325 GB, free: 21.85 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.696e-05/0.9624, allocations: 86.28 kB / 1.325 GB, free: 21.78 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.9624, allocations: 0 / 1.325 GB, free: 21.78 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002398/0.9626, allocations: 16.66 kB / 1.325 GB, free: 21.77 MB / 1.061 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0001708/0.9628, allocations: 111.8 kB / 1.326 GB, free: 21.68 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001255/0.9629, allocations: 86.62 kB / 1.326 GB, free: 21.61 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.9629, allocations: 0 / 1.326 GB, free: 21.61 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 2.194e-05/0.963, allocations: 61.47 kB / 1.326 GB, free: 21.54 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000204/0.9632, allocations: 8.531 kB / 1.326 GB, free: 21.54 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002146/0.9634, allocations: 139.7 kB / 1.326 GB, free: 21.39 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001096/0.9635, allocations: 0.6751 MB / 1.326 GB, free: 20.7 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.143e-05/0.9635, allocations: 10.88 kB / 1.326 GB, free: 20.69 MB / 1.061 GB Notification: Performance of SimCode: time 2.81e-07/0.9635, allocations: 4 kB / 1.326 GB, free: 20.69 MB / 1.061 GB Notification: Performance of Templates: time 0.002235/0.9657, allocations: 0.6855 MB / 1.327 GB, free: 20.64 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.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: 11.63522326599923]