Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001245/0.001245, allocations: 112.7 kB / 17.08 MB, free: 5.789 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001266/0.001266, allocations: 191.7 kB / 20.03 MB, free: 2.906 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.381/1.381, allocations: 222.9 MB / 245.7 MB, free: 4.211 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.903/2.903, allocations: 489.3 MB / 0.7687 GB, free: 3.785 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_latest_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_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002048/0.002048, allocations: 67.89 kB / 1.103 GB, free: 0.7891 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.025/1.027, allocations: 163.8 MB / 1.263 GB, free: 8.215 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.002359/1.03, allocations: 0.5984 MB / 1.263 GB, free: 7.855 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0003118/1.03, allocations: 35.83 kB / 1.263 GB, free: 7.836 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.052e-05/1.03, allocations: 0.8125 kB / 1.263 GB, free: 7.836 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.759e-05/1.03, allocations: 0 / 1.263 GB, free: 7.836 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.66e-05/1.03, allocations: 1.984 kB / 1.263 GB, free: 7.836 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002786/1.031, allocations: 16.39 kB / 1.263 GB, free: 7.828 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001085/1.031, allocations: 12.19 kB / 1.263 GB, free: 7.82 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.684e-05/1.031, allocations: 5.906 kB / 1.263 GB, free: 7.816 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.949e-05/1.031, allocations: 3.078 kB / 1.263 GB, free: 7.816 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.734e-05/1.031, allocations: 1.734 kB / 1.263 GB, free: 7.816 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.86e-05/1.031, allocations: 0.75 kB / 1.263 GB, free: 7.816 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001045/1.031, allocations: 20.33 kB / 1.263 GB, free: 7.809 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.331e-05/1.031, allocations: 2.5 kB / 1.263 GB, free: 7.809 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.821e-05/1.031, allocations: 10.27 kB / 1.263 GB, free: 7.801 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001426/1.031, allocations: 25.38 kB / 1.263 GB, free: 7.793 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/1.031, allocations: 0.9688 kB / 1.263 GB, free: 7.793 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.545e-06/1.031, allocations: 0 / 1.263 GB, free: 7.793 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.728e-06/1.031, allocations: 4 kB / 1.263 GB, free: 7.789 MB / 0.9981 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.0004116/1.032, allocations: 354 kB / 1.264 GB, free: 7.398 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.766e-05/1.032, allocations: 9.406 kB / 1.264 GB, free: 7.398 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.018e-05/1.032, allocations: 1.781 kB / 1.264 GB, free: 7.398 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.784e-05/1.032, allocations: 166.7 kB / 1.264 GB, free: 7.199 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/1.032, allocations: 1.125 kB / 1.264 GB, free: 7.199 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.754e-05/1.032, allocations: 2.031 kB / 1.264 GB, free: 7.199 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001806/1.032, allocations: 55.36 kB / 1.264 GB, free: 7.164 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/1.032, allocations: 4.188 kB / 1.264 GB, free: 7.16 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/1.032, allocations: 4.719 kB / 1.264 GB, free: 7.156 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.648e-05/1.032, allocations: 10.58 kB / 1.264 GB, free: 7.152 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.21e-05/1.032, allocations: 27.3 kB / 1.264 GB, free: 7.145 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003873/1.033, allocations: 261.6 kB / 1.264 GB, free: 6.867 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.747e-05/1.033, allocations: 18.7 kB / 1.264 GB, free: 6.844 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.181e-05/1.033, allocations: 6.594 kB / 1.264 GB, free: 6.836 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.34e-06/1.033, allocations: 4.844 kB / 1.264 GB, free: 6.832 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.52e-05/1.033, allocations: 36.27 kB / 1.264 GB, free: 6.789 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=1): time 1.352e-06/1.033, allocations: 0 / 1.264 GB, free: 6.789 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1): time 0.0002106/1.033, allocations: 76.05 kB / 1.264 GB, free: 6.715 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.037e-05/1.033, allocations: 77.89 kB / 1.264 GB, free: 6.621 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001042/1.033, allocations: 116 kB / 1.265 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.442e-05/1.033, allocations: 26.52 kB / 1.265 GB, free: 6.484 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.939e-05/1.033, allocations: 104.5 kB / 1.265 GB, free: 6.383 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.306e-05/1.033, allocations: 10.11 kB / 1.265 GB, free: 6.375 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.861e-05/1.033, allocations: 26.97 kB / 1.265 GB, free: 6.352 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.88e-05/1.034, allocations: 316.9 kB / 1.265 GB, free: 6.035 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.467e-05/1.034, allocations: 9.016 kB / 1.265 GB, free: 6.035 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.65e-05/1.034, allocations: 65.83 kB / 1.265 GB, free: 5.961 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001405/1.034, allocations: 133 kB / 1.265 GB, free: 5.816 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/1.034, allocations: 4.719 kB / 1.265 GB, free: 5.812 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000179/1.034, allocations: 119.9 kB / 1.265 GB, free: 5.727 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.142e-05/1.034, allocations: 32.97 kB / 1.265 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/1.034, allocations: 1.688 kB / 1.265 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.998e-05/1.034, allocations: 2.344 kB / 1.265 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.848e-05/1.034, allocations: 16.72 kB / 1.265 GB, free: 5.691 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.303e-05/1.034, allocations: 11.27 kB / 1.265 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.096e-05/1.034, allocations: 16.61 kB / 1.265 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.218e-05/1.034, allocations: 5.359 kB / 1.265 GB, free: 5.672 MB / 0.9981 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 8.881e-05/1.034, allocations: 147.3 kB / 1.266 GB, free: 5.52 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.554e-05/1.034, allocations: 2.312 kB / 1.266 GB, free: 5.52 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.004e-05/1.034, allocations: 5.891 kB / 1.266 GB, free: 5.512 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/1.034, allocations: 0.6562 kB / 1.266 GB, free: 5.512 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/1.035, allocations: 0.7812 kB / 1.266 GB, free: 5.512 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/1.035, allocations: 0 / 1.266 GB, free: 5.512 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001491/1.035, allocations: 161.3 kB / 1.266 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/1.035, allocations: 1.422 kB / 1.266 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.71e-07/1.035, allocations: 0 / 1.266 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/1.035, allocations: 0.7188 kB / 1.266 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/1.035, allocations: 1.484 kB / 1.266 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/1.035, allocations: 0.7812 kB / 1.266 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/1.035, allocations: 0.8438 kB / 1.266 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001196/1.035, allocations: 179.6 kB / 1.266 GB, free: 5.129 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.761e-05/1.035, allocations: 80.06 kB / 1.266 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.533e-05/1.035, allocations: 0.9062 kB / 1.266 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.684e-05/1.035, allocations: 1.406 kB / 1.266 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.775e-05/1.035, allocations: 1.766 kB / 1.266 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.833e-06/1.035, allocations: 2.438 kB / 1.266 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.268e-05/1.035, allocations: 90.27 kB / 1.266 GB, free: 4.957 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/1.035, allocations: 0 / 1.266 GB, free: 4.957 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002735/1.035, allocations: 13.12 kB / 1.266 GB, free: 4.953 MB / 0.9981 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.000208/1.036, allocations: 108.2 kB / 1.266 GB, free: 4.863 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001659/1.036, allocations: 88.14 kB / 1.266 GB, free: 4.789 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/1.036, allocations: 0 / 1.266 GB, free: 4.789 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 2.681e-05/1.036, allocations: 57.23 kB / 1.266 GB, free: 4.727 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002091/1.036, allocations: 9.453 kB / 1.266 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002506/1.036, allocations: 131.2 kB / 1.266 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001315/1.036, allocations: 0.6811 MB / 1.267 GB, free: 3.887 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.572e-05/1.036, allocations: 10 kB / 1.267 GB, free: 3.879 MB / 0.9981 GB Notification: Performance of SimCode: time 4.8e-07/1.036, allocations: 0 / 1.267 GB, free: 3.879 MB / 0.9981 GB Notification: Performance of Templates: time 0.002924/1.039, allocations: 0.6811 MB / 1.268 GB, free: 3.836 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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.076133535942063]