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.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.001514/0.001514, allocations: 105.8 kB / 18.84 MB, free: 3.043 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.001433/0.001433, allocations: 193.5 kB / 22.11 MB, free: 5.148 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.42/1.42, allocations: 225.6 MB / 250.8 MB, free: 13.06 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.063/3.063, allocations: 495.8 MB / 0.783 GB, free: 33.48 MB / 0.6231 GB
"
[Timeout remaining time 177]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/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_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: Performance of FrontEnd - loaded program: time 0.002031/0.002031, allocations: 66.05 kB / 1.137 GB, free: 33.88 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3483/0.3503, allocations: 173.6 MB / 1.307 GB, free: 1.828 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.002053/0.3524, allocations: 0.5966 MB / 1.307 GB, free: 1.234 MB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.000285/0.3527, allocations: 31.88 kB / 1.307 GB, free: 1.203 MB / 0.9981 GB
Notification: Performance of NFInst.updateImplicitVariability: time 2.074e-05/0.3527, allocations: 8 kB / 1.307 GB, free: 1.195 MB / 0.9981 GB
Notification: Performance of NFTyping.typeComponents: time 3.899e-05/0.3527, allocations: 0 / 1.307 GB, free: 1.195 MB / 0.9981 GB
Notification: Performance of NFTyping.typeBindings: time 4.348e-05/0.3528, allocations: 3.984 kB / 1.307 GB, free: 1.191 MB / 0.9981 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0002445/0.353, allocations: 8 kB / 1.307 GB, free: 1.184 MB / 0.9981 GB
Notification: Performance of NFFlatten.flatten: time 9.396e-05/0.3531, allocations: 15.92 kB / 1.307 GB, free: 1.168 MB / 0.9981 GB
Notification: Performance of NFFlatten.resolveConnections: time 5.216e-05/0.3532, allocations: 0 / 1.307 GB, free: 1.168 MB / 0.9981 GB
Notification: Performance of NFEvalConstants.evaluate: time 2.418e-05/0.3532, allocations: 4 kB / 1.307 GB, free: 1.164 MB / 0.9981 GB
Notification: Performance of NFSimplifyModel.simplify: time 4.956e-05/0.3532, allocations: 7.922 kB / 1.307 GB, free: 1.156 MB / 0.9981 GB
Notification: Performance of NFPackage.collectConstants: time 1.254e-05/0.3533, allocations: 0 / 1.307 GB, free: 1.156 MB / 0.9981 GB
Notification: Performance of NFFlatten.collectFunctions: time 9.011e-05/0.3533, allocations: 23.98 kB / 1.307 GB, free: 1.133 MB / 0.9981 GB
Notification: Performance of NFScalarize.scalarize: time 3.938e-05/0.3534, allocations: 7.984 kB / 1.307 GB, free: 1.125 MB / 0.9981 GB
Notification: Performance of NFVerifyModel.verify: time 2.496e-05/0.3534, allocations: 3.938 kB / 1.307 GB, free: 1.121 MB / 0.9981 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001282/0.3535, allocations: 27.86 kB / 1.307 GB, free: 1.094 MB / 0.9981 GB
Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.3535, allocations: 0 / 1.307 GB, free: 1.094 MB / 0.9981 GB
Notification: Performance of FrontEnd: time 1.603e-06/0.3535, allocations: 0 / 1.307 GB, free: 1.094 MB / 0.9981 GB
Notification: Performance of Transformations before backend: time 5.32e-06/0.3536, allocations: 0 / 1.307 GB, free: 1.094 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.0004248/0.354, allocations: 276.5 kB / 1.308 GB, free: 0.7852 MB / 0.9981 GB
Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.354, allocations: 8.031 kB / 1.308 GB, free: 0.7773 MB / 0.9981 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.309e-05/0.3541, allocations: 4.938 kB / 1.308 GB, free: 0.7734 MB / 0.9981 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 9.285e-05/0.3542, allocations: 114.4 kB / 1.308 GB, free: 0.6367 MB / 0.9981 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/0.3542, allocations: 384 / 1.308 GB, free: 0.6367 MB / 0.9981 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.144e-05/0.3542, allocations: 4.375 kB / 1.308 GB, free: 0.6328 MB / 0.9981 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001517/0.3543, allocations: 62.17 kB / 1.308 GB, free: 0.5664 MB / 0.9981 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.3543, allocations: 4.172 kB / 1.308 GB, free: 0.5625 MB / 0.9981 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.3544, allocations: 3.938 kB / 1.308 GB, free: 0.5586 MB / 0.9981 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.272e-05/0.3544, allocations: 7.984 kB / 1.308 GB, free: 0.5508 MB / 0.9981 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 5.425e-05/0.3544, allocations: 23.98 kB / 1.308 GB, free: 0.5273 MB / 0.9981 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003759/0.3548, allocations: 243.9 kB / 1.308 GB, free: 252 kB / 0.9981 GB
Notification: Performance of preOpt comSubExp (simulation): time 4.791e-05/0.3549, allocations: 14.58 kB / 1.308 GB, free: 228 kB / 0.9981 GB
Notification: Performance of preOpt resolveLoops (simulation): time 2.186e-05/0.3549, allocations: 16.84 kB / 1.308 GB, free: 208 kB / 0.9981 GB
Notification: Performance of preOpt evalFunc (simulation): time 8.095e-06/0.3549, allocations: 0 / 1.308 GB, free: 208 kB / 0.9981 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.515e-05/0.3549, allocations: 30.56 kB / 1.308 GB, free: 168 kB / 0.9981 GB
Notification: Performance of pre-optimization done (n=1): time 8.32e-07/0.3549, allocations: 0 / 1.308 GB, free: 168 kB / 0.9981 GB
Notification: Performance of matching and sorting (n=1): time 0.0002248/0.3552, allocations: 67.41 kB / 1.308 GB, free: 88 kB / 0.9981 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 9.863e-05/0.3553, allocations: 85.22 kB / 1.308 GB, free: 15.98 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001274/0.3554, allocations: 113.8 kB / 1.309 GB, free: 15.86 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 1.918e-05/0.3554, allocations: 25.7 kB / 1.309 GB, free: 15.83 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 8.427e-05/0.3555, allocations: 103.9 kB / 1.309 GB, free: 15.73 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 1.426e-05/0.3555, allocations: 3.953 kB / 1.309 GB, free: 15.72 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 7.562e-05/0.3556, allocations: 29.64 kB / 1.309 GB, free: 15.69 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001839/0.3558, allocations: 318.8 kB / 1.309 GB, free: 15.37 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 3.297e-05/0.3558, allocations: 11.98 kB / 1.309 GB, free: 15.36 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 8.061e-05/0.3559, allocations: 66.92 kB / 1.309 GB, free: 15.27 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001463/0.356, allocations: 130.1 kB / 1.309 GB, free: 15.1 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.356, allocations: 3.938 kB / 1.309 GB, free: 15.1 MB / 1.014 GB
Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001844/0.3562, allocations: 119.4 kB / 1.309 GB, free: 14.97 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 4.492e-05/0.3563, allocations: 30.95 kB / 1.309 GB, free: 14.93 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.255e-05/0.3563, allocations: 4 kB / 1.309 GB, free: 14.93 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/0.3563, allocations: 0 / 1.309 GB, free: 14.93 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.591e-05/0.3564, allocations: 15.94 kB / 1.309 GB, free: 14.91 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/0.3564, allocations: 7.984 kB / 1.309 GB, free: 14.91 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.616e-05/0.3564, allocations: 11.95 kB / 1.309 GB, free: 14.89 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.692e-05/0.3565, allocations: 4 kB / 1.309 GB, free: 14.89 MB / 1.014 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.0001269/0.3566, allocations: 148.2 kB / 1.31 GB, free: 14.73 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.914e-05/0.3566, allocations: 8.062 kB / 1.31 GB, free: 14.72 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.049e-05/0.3566, allocations: 15.39 kB / 1.31 GB, free: 14.7 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.3566, allocations: 0 / 1.31 GB, free: 14.7 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.3566, allocations: 0 / 1.31 GB, free: 14.7 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.3566, allocations: 4 kB / 1.31 GB, free: 14.7 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001661/0.3568, allocations: 124.7 kB / 1.31 GB, free: 14.54 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.3568, allocations: 4 kB / 1.31 GB, free: 14.53 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.42e-07/0.3568, allocations: 3.938 kB / 1.31 GB, free: 14.53 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.3568, allocations: 0 / 1.31 GB, free: 14.53 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/0.3568, allocations: 0 / 1.31 GB, free: 14.53 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.3568, allocations: 0 / 1.31 GB, free: 14.53 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3568, allocations: 8 kB / 1.31 GB, free: 14.52 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001479/0.357, allocations: 169.1 kB / 1.31 GB, free: 14.33 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 9.909e-06/0.357, allocations: 4 kB / 1.31 GB, free: 14.33 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.373e-05/0.357, allocations: 0 / 1.31 GB, free: 14.33 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.911e-05/0.3571, allocations: 4 kB / 1.31 GB, free: 14.32 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.411e-05/0.3571, allocations: 0 / 1.31 GB, free: 14.32 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.601e-06/0.3571, allocations: 0 / 1.31 GB, free: 14.32 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 6.132e-05/0.3571, allocations: 91.3 kB / 1.31 GB, free: 14.23 MB / 1.014 GB
Notification: Performance of sort global known variables: time 8e-08/0.3571, allocations: 0 / 1.31 GB, free: 14.23 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002472/0.3574, allocations: 23.88 kB / 1.31 GB, free: 14.21 MB / 1.014 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.0001853/0.3576, allocations: 99.25 kB / 1.31 GB, free: 14.11 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0001616/0.3577, allocations: 83.31 kB / 1.31 GB, free: 14.01 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3577, allocations: 4.5 kB / 1.31 GB, free: 14.01 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 3.723e-05/0.3578, allocations: 55.41 kB / 1.31 GB, free: 13.94 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002078/0.358, allocations: 7.938 kB / 1.31 GB, free: 13.93 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003118/0.3583, allocations: 112.9 kB / 1.31 GB, free: 13.8 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003352/0.3586, allocations: 0.6768 MB / 1.311 GB, free: 13.09 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 0.0001131/0.3587, allocations: 15.73 kB / 1.311 GB, free: 13.08 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 1.727e-05/0.3588, allocations: 7.438 kB / 1.311 GB, free: 13.07 MB / 1.014 GB
Notification: Performance of SimCode: time 3.8e-07/0.3588, allocations: 4.062 kB / 1.311 GB, free: 13.07 MB / 1.014 GB
Notification: Performance of Templates: time 0.003457/0.3622, allocations: 0.5624 MB / 1.312 GB, free: 12.51 MB / 1.014 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.589975765906274]