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.00161/0.00161, allocations: 109.7 kB / 16.45 MB, free: 6.508 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.001726/0.001726, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.468/1.468, allocations: 230.6 MB / 252.8 MB, free: 9.105 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 3.162/3.162, allocations: 0.49 GB / 0.7915 GB, free: 33.14 MB / 0.6231 GB " [Timeout remaining time 177] 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.002145/0.002145, allocations: 74.27 kB / 1.149 GB, free: 26.1 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3697/0.3718, allocations: 176.1 MB / 1.321 GB, free: 2.758 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.002035/0.3738, allocations: 0.5824 MB / 1.322 GB, free: 2.176 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.000283/0.3741, allocations: 47.84 kB / 1.322 GB, free: 2.129 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.337e-05/0.3742, allocations: 0 / 1.322 GB, free: 2.129 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.815e-05/0.3742, allocations: 0 / 1.322 GB, free: 2.129 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.697e-05/0.3742, allocations: 0 / 1.322 GB, free: 2.129 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002302/0.3745, allocations: 19.92 kB / 1.322 GB, free: 2.109 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 8.637e-05/0.3746, allocations: 4 kB / 1.322 GB, free: 2.105 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.734e-05/0.3746, allocations: 0 / 1.322 GB, free: 2.105 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.35e-05/0.3746, allocations: 4 kB / 1.322 GB, free: 2.102 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.063e-05/0.3747, allocations: 4 kB / 1.322 GB, free: 2.098 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.286e-05/0.3747, allocations: 0 / 1.322 GB, free: 2.098 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 9.569e-05/0.3748, allocations: 15.98 kB / 1.322 GB, free: 2.082 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 4.164e-05/0.3748, allocations: 11.92 kB / 1.322 GB, free: 2.07 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.749e-05/0.3749, allocations: 4 kB / 1.322 GB, free: 2.066 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001182/0.375, allocations: 27.84 kB / 1.322 GB, free: 2.039 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.375, allocations: 4 kB / 1.322 GB, free: 2.035 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.873e-06/0.375, allocations: 0 / 1.322 GB, free: 2.035 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.042e-06/0.375, allocations: 0 / 1.322 GB, free: 2.035 MB / 1.014 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.0004215/0.3754, allocations: 349.2 kB / 1.322 GB, free: 1.637 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.3755, allocations: 11.98 kB / 1.322 GB, free: 1.625 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.754e-05/0.3755, allocations: 8.891 kB / 1.322 GB, free: 1.617 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001234/0.3756, allocations: 164.3 kB / 1.323 GB, free: 1.418 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/0.3756, allocations: 384 / 1.323 GB, free: 1.418 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.768e-06/0.3756, allocations: 384 / 1.323 GB, free: 1.418 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001712/0.3758, allocations: 62.23 kB / 1.323 GB, free: 1.352 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.597e-06/0.3758, allocations: 4.188 kB / 1.323 GB, free: 1.348 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.3758, allocations: 7.875 kB / 1.323 GB, free: 1.34 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.192e-05/0.3759, allocations: 8 kB / 1.323 GB, free: 1.332 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.565e-05/0.3759, allocations: 23.98 kB / 1.323 GB, free: 1.309 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004104/0.3763, allocations: 268.7 kB / 1.323 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 5.627e-05/0.3764, allocations: 22.52 kB / 1.323 GB, free: 0.9648 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.345e-05/0.3764, allocations: 8.859 kB / 1.323 GB, free: 0.9531 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 8.797e-06/0.3764, allocations: 8 kB / 1.323 GB, free: 0.9453 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.963e-05/0.3765, allocations: 34.56 kB / 1.323 GB, free: 0.9023 MB / 1.014 GB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.3765, allocations: 0 / 1.323 GB, free: 0.9023 MB / 1.014 GB Notification: Performance of matching and sorting (n=1): time 0.0002063/0.3767, allocations: 63.39 kB / 1.323 GB, free: 0.8281 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.692e-05/0.3767, allocations: 85.05 kB / 1.323 GB, free: 0.7266 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.3768, allocations: 117.8 kB / 1.323 GB, free: 0.6016 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.536e-05/0.3769, allocations: 25.7 kB / 1.323 GB, free: 0.5703 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 6.746e-05/0.3769, allocations: 112 kB / 1.323 GB, free: 468 kB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 6.593e-06/0.3769, allocations: 0 / 1.323 GB, free: 468 kB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.576e-05/0.377, allocations: 25.67 kB / 1.323 GB, free: 436 kB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.3771, allocations: 322.8 kB / 1.324 GB, free: 104 kB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.059e-05/0.3772, allocations: 12 kB / 1.324 GB, free: 92 kB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.568e-05/0.3772, allocations: 63.27 kB / 1.324 GB, free: 4 kB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001529/0.3774, allocations: 134.1 kB / 1.324 GB, free: 15.84 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3774, allocations: 0 / 1.324 GB, free: 15.84 MB / 1.029 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001757/0.3776, allocations: 115.2 kB / 1.324 GB, free: 15.71 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.887e-05/0.3776, allocations: 37.7 kB / 1.324 GB, free: 15.67 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.876e-06/0.3776, allocations: 4 kB / 1.324 GB, free: 15.66 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.3776, allocations: 256 / 1.324 GB, free: 15.66 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.804e-05/0.3777, allocations: 19.98 kB / 1.324 GB, free: 15.64 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.3777, allocations: 0 / 1.324 GB, free: 15.64 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.545e-05/0.3778, allocations: 7.953 kB / 1.324 GB, free: 15.64 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.683e-05/0.3778, allocations: 8 kB / 1.324 GB, free: 15.63 MB / 1.029 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 0.0001186/0.3779, allocations: 155.3 kB / 1.324 GB, free: 15.46 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.931e-05/0.3779, allocations: 4 kB / 1.324 GB, free: 15.46 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.791e-05/0.378, allocations: 3.531 kB / 1.324 GB, free: 15.45 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.378, allocations: 0 / 1.324 GB, free: 15.45 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.378, allocations: 0 / 1.324 GB, free: 15.45 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.378, allocations: 4 kB / 1.324 GB, free: 15.44 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001751/0.3781, allocations: 157.6 kB / 1.324 GB, free: 15.24 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3781, allocations: 7.938 kB / 1.324 GB, free: 15.23 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.31e-07/0.3781, allocations: 0 / 1.324 GB, free: 15.23 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.3781, allocations: 0 / 1.324 GB, free: 15.23 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.3782, allocations: 0 / 1.324 GB, free: 15.23 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.3782, allocations: 0 / 1.324 GB, free: 15.23 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.3782, allocations: 0 / 1.324 GB, free: 15.23 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001561/0.3783, allocations: 169.2 kB / 1.325 GB, free: 15.04 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.44e-05/0.3784, allocations: 89 kB / 1.325 GB, free: 14.94 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.283e-05/0.3784, allocations: 0 / 1.325 GB, free: 14.94 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.139e-05/0.3784, allocations: 3.984 kB / 1.325 GB, free: 14.93 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.737e-05/0.3785, allocations: 0 / 1.325 GB, free: 14.93 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.081e-06/0.3785, allocations: 4 kB / 1.325 GB, free: 14.93 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.853e-05/0.3785, allocations: 91.22 kB / 1.325 GB, free: 14.84 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3785, allocations: 0 / 1.325 GB, free: 14.84 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002612/0.3788, allocations: 15.92 kB / 1.325 GB, free: 14.82 MB / 1.029 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.0001888/0.379, allocations: 107.3 kB / 1.325 GB, free: 14.71 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001868/0.3792, allocations: 83.33 kB / 1.325 GB, free: 14.62 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3792, allocations: 0 / 1.325 GB, free: 14.62 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 4.44e-05/0.3792, allocations: 55.41 kB / 1.325 GB, free: 14.55 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000222/0.3794, allocations: 8 kB / 1.325 GB, free: 14.54 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002857/0.3797, allocations: 111.8 kB / 1.325 GB, free: 14.41 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003201/0.38, allocations: 0.6884 MB / 1.326 GB, free: 13.7 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001044/0.3801, allocations: 11.97 kB / 1.326 GB, free: 13.68 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.722e-05/0.3802, allocations: 11.44 kB / 1.326 GB, free: 13.67 MB / 1.029 GB Notification: Performance of SimCode: time 3e-07/0.3802, allocations: 0 / 1.326 GB, free: 13.67 MB / 1.029 GB Notification: Performance of Templates: time 0.003253/0.3834, allocations: 0.5296 MB / 1.326 GB, free: 13.14 MB / 1.029 GB " [Timeout remaining time 300] 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/jenkins/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: 8.676839102990925]