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.001687/0.001687, allocations: 113.9 kB / 17.61 MB, free: 4.684 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.001883/0.001883, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.492/1.492, allocations: 225.6 MB / 249.4 MB, free: 2.992 MB / 190.1 MB " [Timeout remaining time 178] 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.808/2.808, allocations: 496.2 MB / 0.7819 GB, free: 12.43 MB / 0.6231 GB " [Timeout remaining time 177] 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.001986/0.001986, allocations: 71.89 kB / 1.136 GB, free: 12.4 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8276/0.8296, allocations: 173.6 MB / 1.305 GB, free: 33.43 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001579/0.8312, allocations: 0.5831 MB / 1.306 GB, free: 33.07 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0002438/0.8314, allocations: 45.27 kB / 1.306 GB, free: 33.05 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.04e-05/0.8315, allocations: 0 / 1.306 GB, free: 33.05 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.005e-05/0.8315, allocations: 4 kB / 1.306 GB, free: 33.04 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 3.53e-05/0.8315, allocations: 0 / 1.306 GB, free: 33.04 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002062/0.8317, allocations: 17.14 kB / 1.306 GB, free: 33.04 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.393e-05/0.8318, allocations: 6.25 kB / 1.306 GB, free: 33.04 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.156e-05/0.8319, allocations: 0 / 1.306 GB, free: 33.04 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 1.856e-05/0.8319, allocations: 10.77 kB / 1.306 GB, free: 33.03 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.177e-05/0.8319, allocations: 0 / 1.306 GB, free: 33.03 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.249e-05/0.8319, allocations: 2.75 kB / 1.306 GB, free: 33.03 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 7.019e-05/0.832, allocations: 20.44 kB / 1.306 GB, free: 33.02 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.922e-05/0.832, allocations: 3 kB / 1.306 GB, free: 33.02 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.311e-05/0.8321, allocations: 10.75 kB / 1.306 GB, free: 33.01 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 9.274e-05/0.8321, allocations: 23.31 kB / 1.306 GB, free: 33 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.8321, allocations: 0 / 1.306 GB, free: 33 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.764e-06/0.8322, allocations: 0 / 1.306 GB, free: 33 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.8322, allocations: 3 kB / 1.306 GB, free: 33 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.0003087/0.8325, allocations: 355.9 kB / 1.307 GB, free: 32.61 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.147e-05/0.8325, allocations: 15 kB / 1.307 GB, free: 32.61 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.851e-05/0.8325, allocations: 0.9375 kB / 1.307 GB, free: 32.61 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.526e-05/0.8326, allocations: 171.2 kB / 1.307 GB, free: 32.41 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.376e-06/0.8326, allocations: 384 / 1.307 GB, free: 32.41 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.205e-05/0.8326, allocations: 4.375 kB / 1.307 GB, free: 32.4 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001164/0.8327, allocations: 56.77 kB / 1.307 GB, free: 32.37 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.8327, allocations: 2.969 kB / 1.307 GB, free: 32.37 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.8327, allocations: 3.938 kB / 1.307 GB, free: 32.36 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.197e-05/0.8328, allocations: 5.562 kB / 1.307 GB, free: 32.36 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.976e-05/0.8328, allocations: 21.42 kB / 1.307 GB, free: 32.36 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002599/0.8331, allocations: 274.1 kB / 1.307 GB, free: 32.07 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 4.11e-05/0.8331, allocations: 26.5 kB / 1.307 GB, free: 32.04 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.367e-05/0.8331, allocations: 7.703 kB / 1.307 GB, free: 32.03 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 8.226e-06/0.8331, allocations: 0 / 1.307 GB, free: 32.03 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.345e-05/0.8331, allocations: 33.5 kB / 1.307 GB, free: 31.99 MB / 1.061 GB Notification: Performance of pre-optimization done (n=1): time 9.11e-07/0.8331, allocations: 0 / 1.307 GB, free: 31.99 MB / 1.061 GB Notification: Performance of matching and sorting (n=1): time 0.0001473/0.8333, allocations: 67.2 kB / 1.307 GB, free: 31.93 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.419e-05/0.8333, allocations: 83.86 kB / 1.307 GB, free: 31.83 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.74e-05/0.8334, allocations: 117 kB / 1.307 GB, free: 31.72 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.041e-06/0.8334, allocations: 25.7 kB / 1.307 GB, free: 31.69 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.807e-05/0.8334, allocations: 110 kB / 1.307 GB, free: 31.58 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 7.774e-06/0.8334, allocations: 6.953 kB / 1.308 GB, free: 31.58 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.085e-05/0.8334, allocations: 22.67 kB / 1.308 GB, free: 31.56 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 3.898e-05/0.8335, allocations: 321.6 kB / 1.308 GB, free: 31.24 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.159e-05/0.8335, allocations: 13.06 kB / 1.308 GB, free: 31.23 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.468e-05/0.8335, allocations: 61.56 kB / 1.308 GB, free: 31.16 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.478e-05/0.8336, allocations: 134.5 kB / 1.308 GB, free: 31.02 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.8336, allocations: 0 / 1.308 GB, free: 31.02 MB / 1.061 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001098/0.8337, allocations: 118.3 kB / 1.308 GB, free: 30.93 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/0.8337, allocations: 31.42 kB / 1.308 GB, free: 30.9 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.8337, allocations: 6.875 kB / 1.308 GB, free: 30.9 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.8338, allocations: 2.844 kB / 1.308 GB, free: 30.9 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.218e-05/0.8338, allocations: 14.56 kB / 1.308 GB, free: 30.9 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.8338, allocations: 3.094 kB / 1.308 GB, free: 30.9 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.323e-05/0.8339, allocations: 14.67 kB / 1.308 GB, free: 30.89 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.381e-05/0.8339, allocations: 5.812 kB / 1.308 GB, free: 30.89 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 5.165e-05/0.834, allocations: 148.6 kB / 1.308 GB, free: 30.73 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.312e-05/0.834, allocations: 6.875 kB / 1.308 GB, free: 30.73 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.249e-05/0.834, allocations: 7.531 kB / 1.308 GB, free: 30.72 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.834, allocations: 0 / 1.308 GB, free: 30.72 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.834, allocations: 0 / 1.308 GB, free: 30.72 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-06/0.834, allocations: 0 / 1.308 GB, free: 30.72 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001146/0.8341, allocations: 158.6 kB / 1.309 GB, free: 30.52 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.32e-07/0.8341, allocations: 0 / 1.309 GB, free: 30.52 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.11e-07/0.8341, allocations: 0 / 1.309 GB, free: 30.52 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.8341, allocations: 0 / 1.309 GB, free: 30.52 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.313e-06/0.8341, allocations: 3.031 kB / 1.309 GB, free: 30.52 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.8341, allocations: 3.188 kB / 1.309 GB, free: 30.52 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.8341, allocations: 0 / 1.309 GB, free: 30.52 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.901e-05/0.8342, allocations: 176.4 kB / 1.309 GB, free: 30.34 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.759e-05/0.8342, allocations: 81.11 kB / 1.309 GB, free: 30.25 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.221e-05/0.8342, allocations: 3.062 kB / 1.309 GB, free: 30.25 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.737e-05/0.8343, allocations: 0 / 1.309 GB, free: 30.25 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.726e-05/0.8343, allocations: 2.844 kB / 1.309 GB, free: 30.25 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.629e-06/0.8343, allocations: 0 / 1.309 GB, free: 30.25 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.558e-05/0.8343, allocations: 87.61 kB / 1.309 GB, free: 30.17 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.8343, allocations: 7.969 kB / 1.309 GB, free: 30.16 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002428/0.8346, allocations: 16.31 kB / 1.309 GB, free: 30.16 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.0001319/0.8347, allocations: 108.2 kB / 1.309 GB, free: 30.07 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001217/0.8348, allocations: 79.89 kB / 1.309 GB, free: 30 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.8348, allocations: 0 / 1.309 GB, free: 30 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.959e-05/0.8349, allocations: 57.16 kB / 1.309 GB, free: 29.94 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002005/0.8351, allocations: 11.45 kB / 1.309 GB, free: 29.93 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001955/0.8353, allocations: 125.9 kB / 1.309 GB, free: 29.82 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.111e-05/0.8353, allocations: 0.6776 MB / 1.31 GB, free: 29.12 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 7.437e-05/0.8354, allocations: 14.52 kB / 1.31 GB, free: 29.12 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.181e-05/0.8354, allocations: 10.16 kB / 1.31 GB, free: 29.12 MB / 1.061 GB Notification: Performance of SimCode: time 3.41e-07/0.8354, allocations: 0 / 1.31 GB, free: 29.12 MB / 1.061 GB Notification: Performance of Templates: time 0.002719/0.8381, allocations: 0.5459 MB / 1.31 GB, free: 29.03 MB / 1.061 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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) [Timeout 400] 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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 8.660892891697586]