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.001825/0.001825, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.002317/0.002317, allocations: 212.4 kB / 22.99 MB, free: 4.957 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.492/1.492, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.305/3.305, allocations: 0.49 GB / 0.7959 GB, free: 35.44 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.003377/0.003377, allocations: 69.22 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4287/0.4321, allocations: 176.1 MB / 1.327 GB, free: 0.9688 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.002083/0.4341, allocations: 0.5867 MB / 1.328 GB, free: 396 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0002753/0.4344, allocations: 31.95 kB / 1.328 GB, free: 364 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.984e-05/0.4344, allocations: 3.938 kB / 1.328 GB, free: 360 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.866e-05/0.4345, allocations: 0 / 1.328 GB, free: 360 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 3.373e-05/0.4345, allocations: 4 kB / 1.328 GB, free: 356 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002175/0.4347, allocations: 15.98 kB / 1.328 GB, free: 340 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 7.348e-05/0.4348, allocations: 0 / 1.328 GB, free: 340 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.843e-05/0.4348, allocations: 11.98 kB / 1.328 GB, free: 328 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.831e-05/0.4349, allocations: 7.922 kB / 1.328 GB, free: 320 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 4.464e-05/0.4349, allocations: 0 / 1.328 GB, free: 320 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.341e-05/0.4349, allocations: 0 / 1.328 GB, free: 320 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 7.804e-05/0.435, allocations: 15.98 kB / 1.328 GB, free: 304 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.586e-05/0.4351, allocations: 8 kB / 1.328 GB, free: 296 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.669e-05/0.4351, allocations: 3.938 kB / 1.328 GB, free: 292 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001137/0.4352, allocations: 35.84 kB / 1.328 GB, free: 256 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.4352, allocations: 3.938 kB / 1.328 GB, free: 252 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.593e-06/0.4352, allocations: 0 / 1.328 GB, free: 252 kB / 1.014 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.4352, allocations: 0 / 1.328 GB, free: 252 kB / 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.000391/0.4356, allocations: 286.3 kB / 1.328 GB, free: 15.93 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.4356, allocations: 8.031 kB / 1.328 GB, free: 15.92 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.441e-05/0.4357, allocations: 4.891 kB / 1.328 GB, free: 15.92 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.855e-05/0.4358, allocations: 118.5 kB / 1.328 GB, free: 15.78 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.4358, allocations: 384 / 1.328 GB, free: 15.78 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.636e-06/0.4358, allocations: 384 / 1.328 GB, free: 15.78 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001611/0.4359, allocations: 79.95 kB / 1.328 GB, free: 15.69 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.436, allocations: 4.188 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.436, allocations: 7.938 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.639e-05/0.436, allocations: 7.984 kB / 1.328 GB, free: 15.67 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.158e-05/0.4361, allocations: 53.62 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003558/0.4364, allocations: 216.5 kB / 1.329 GB, free: 15.37 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 6.816e-05/0.4365, allocations: 44.28 kB / 1.329 GB, free: 15.31 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.978e-05/0.4365, allocations: 34.62 kB / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 7.684e-06/0.4365, allocations: 0 / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.447e-05/0.4366, allocations: 34.55 kB / 1.329 GB, free: 15.22 MB / 1.029 GB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.4366, allocations: 0 / 1.329 GB, free: 15.22 MB / 1.029 GB Notification: Performance of matching and sorting (n=1): time 0.0002313/0.4368, allocations: 126.8 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.953e-05/0.4369, allocations: 77.11 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/0.437, allocations: 121.8 kB / 1.329 GB, free: 14.85 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.472e-05/0.437, allocations: 25.7 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.817e-05/0.4371, allocations: 108 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.423e-06/0.4371, allocations: 0 / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.056e-05/0.4371, allocations: 29.66 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001518/0.4373, allocations: 318.8 kB / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.952e-05/0.4373, allocations: 37.69 kB / 1.329 GB, free: 14.31 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.529e-05/0.4374, allocations: 92.8 kB / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001306/0.4376, allocations: 130.3 kB / 1.33 GB, free: 14.03 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.4376, allocations: 0 / 1.33 GB, free: 14.03 MB / 1.029 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001929/0.4378, allocations: 153 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.636e-05/0.4378, allocations: 33.64 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.4378, allocations: 4 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.4378, allocations: 0 / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.09e-05/0.4379, allocations: 12 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.468e-05/0.4379, allocations: 11.92 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.131e-05/0.438, allocations: 11.89 kB / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.848e-05/0.438, allocations: 4 kB / 1.33 GB, free: 13.78 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.000136/0.4381, allocations: 143.5 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.544e-05/0.4382, allocations: 8.156 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.973e-05/0.4382, allocations: 7.453 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.4382, allocations: 0 / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/0.4382, allocations: 8 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.4382, allocations: 3.938 kB / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001291/0.4383, allocations: 105.3 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.4383, allocations: 0 / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.485e-06/0.4383, allocations: 3.984 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.4383, allocations: 0 / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.4383, allocations: 0 / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.4383, allocations: 4 kB / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.4383, allocations: 4 kB / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001654/0.4385, allocations: 194.8 kB / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.658e-06/0.4385, allocations: 3.953 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.522e-05/0.4385, allocations: 4 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.438e-05/0.4386, allocations: 0 / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.685e-05/0.4386, allocations: 0 / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-06/0.4386, allocations: 4 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.288e-05/0.4387, allocations: 91.27 kB / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.4387, allocations: 0 / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002431/0.4389, allocations: 8 kB / 1.33 GB, free: 13.11 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.0001766/0.4391, allocations: 107.3 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001956/0.4393, allocations: 142.7 kB / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.4393, allocations: 0 / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 5.595e-05/0.4393, allocations: 85.11 kB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002088/0.4395, allocations: 7.938 kB / 1.331 GB, free: 12.72 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002838/0.4398, allocations: 137.1 kB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.115e-05/0.4399, allocations: 67.84 kB / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001131/0.44, allocations: 15.97 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.788e-05/0.44, allocations: 11.44 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of SimCode: time 3e-07/0.44, allocations: 0 / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of Templates: time 0.003186/0.4432, allocations: 0.5737 MB / 1.332 GB, free: 11.88 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 -s cvode -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: 9.325069733997225]