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.00189/0.00189, allocations: 83.69 kB / 20.23 MB, free: 4.184 MB / 18.57 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.002084/0.002084, allocations: 165.3 kB / 23.55 MB, free: 0.8711 MB / 18.57 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.615/1.615, allocations: 177.1 MB / 203.9 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.009/3.009, allocations: 377.8 MB / 0.6232 GB, free: 8.531 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 3.457e-06/3.457e-06, allocations: 1.094 kB / 0.8109 GB, free: 2.066 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 7.066e-05/7.412e-05, allocations: 4.844 kB / 0.8109 GB, free: 2.062 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.003498/0.003572, allocations: 0.5956 MB / 0.8114 GB, free: 1.488 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0004003/0.003972, allocations: 41.48 kB / 0.8115 GB, free: 1.449 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.426e-05/0.004027, allocations: 0 / 0.8115 GB, free: 1.449 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 7.909e-05/0.004106, allocations: 1.688 kB / 0.8115 GB, free: 1.449 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 6.614e-05/0.004172, allocations: 3.984 kB / 0.8115 GB, free: 1.445 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004087/0.00458, allocations: 12 kB / 0.8115 GB, free: 1.434 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001397/0.00472, allocations: 4.641 kB / 0.8115 GB, free: 1.43 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 8.587e-05/0.004806, allocations: 9.469 kB / 0.8115 GB, free: 1.422 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 6.832e-05/0.004874, allocations: 0 / 0.8115 GB, free: 1.422 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001009/0.004975, allocations: 0 / 0.8115 GB, free: 1.422 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.708e-05/0.005002, allocations: 0 / 0.8115 GB, free: 1.422 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001725/0.005175, allocations: 37.02 kB / 0.8116 GB, free: 1.387 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 5.191e-05/0.005227, allocations: 0 / 0.8116 GB, free: 1.387 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 4.27e-05/0.005269, allocations: 4 kB / 0.8116 GB, free: 1.383 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001989/0.005468, allocations: 25.5 kB / 0.8116 GB, free: 1.359 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.005473, allocations: 0 / 0.8116 GB, free: 1.359 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.573e-06/0.005474, allocations: 0 / 0.8116 GB, free: 1.359 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 7.033e-06/0.005482, allocations: 4 kB / 0.8116 GB, free: 1.355 MB / 0.7605 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.0005891/0.006071, allocations: 378.7 kB / 0.8119 GB, free: 0.9414 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.006113, allocations: 8.031 kB / 0.812 GB, free: 0.9336 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.876e-05/0.006162, allocations: 5.469 kB / 0.812 GB, free: 0.9297 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001042/0.006266, allocations: 104.6 kB / 0.8121 GB, free: 0.8008 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.894e-05/0.006285, allocations: 6.016 kB / 0.8121 GB, free: 0.7969 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.608e-05/0.006301, allocations: 4.375 kB / 0.8121 GB, free: 0.793 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00017/0.006471, allocations: 63.95 kB / 0.8121 GB, free: 0.7188 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.006484, allocations: 4.125 kB / 0.8121 GB, free: 0.7148 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.006497, allocations: 0.875 kB / 0.8121 GB, free: 0.7148 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.063e-05/0.006538, allocations: 12.97 kB / 0.8121 GB, free: 0.7031 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.156e-05/0.006619, allocations: 37.64 kB / 0.8122 GB, free: 0.6602 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005427/0.007162, allocations: 264.5 kB / 0.8124 GB, free: 376 kB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001149/0.007277, allocations: 60.69 kB / 0.8125 GB, free: 296 kB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.274e-05/0.00733, allocations: 38.61 kB / 0.8125 GB, free: 248 kB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 1.095e-05/0.007341, allocations: 0 / 0.8125 GB, free: 248 kB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.913e-05/0.00739, allocations: 37.33 kB / 0.8126 GB, free: 200 kB / 0.7605 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.007391, allocations: 1.375 kB / 0.8126 GB, free: 200 kB / 0.7605 GB Notification: Performance of matching and sorting (n=1): time 0.0003272/0.007718, allocations: 126.8 kB / 0.8127 GB, free: 48 kB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001125/0.007831, allocations: 81.11 kB / 0.8128 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002/0.008031, allocations: 175.6 kB / 0.8129 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.185e-05/0.008062, allocations: 29.7 kB / 0.813 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001334/0.008196, allocations: 150.6 kB / 0.8131 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.286e-05/0.008209, allocations: 4.078 kB / 0.8131 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.137e-05/0.00829, allocations: 37.56 kB / 0.8131 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0004127/0.008703, allocations: 496.1 kB / 0.8136 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.392e-05/0.008767, allocations: 37.69 kB / 0.8137 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001494/0.008916, allocations: 107.5 kB / 0.8138 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002081/0.009124, allocations: 147.5 kB / 0.8139 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.009127, allocations: 0 / 0.8139 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002718/0.009399, allocations: 150.3 kB / 0.814 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 4.407e-05/0.009443, allocations: 34.14 kB / 0.8141 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.108e-06/0.009452, allocations: 5.688 kB / 0.8141 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.009468, allocations: 0 / 0.8141 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.531e-05/0.009563, allocations: 15.94 kB / 0.8141 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.346e-05/0.009577, allocations: 7.984 kB / 0.8141 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.828e-05/0.009665, allocations: 6.594 kB / 0.8141 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.101e-05/0.009686, allocations: 4 kB / 0.8141 GB, free: 14.42 MB / 0.7761 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.0001956/0.009882, allocations: 194.2 kB / 0.8143 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.722e-05/0.009939, allocations: 19.81 kB / 0.8143 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.389e-05/0.009953, allocations: 3.469 kB / 0.8143 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.009955, allocations: 0 / 0.8143 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.00996, allocations: 0 / 0.8143 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.009963, allocations: 0.5 kB / 0.8143 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002998/0.01026, allocations: 121.1 kB / 0.8144 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.01026, allocations: 1.031 kB / 0.8144 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.629e-06/0.01027, allocations: 3.938 kB / 0.8144 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.01027, allocations: 0 / 0.8144 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/0.01028, allocations: 0.9062 kB / 0.8144 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.01028, allocations: 0 / 0.8144 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.01028, allocations: 0 / 0.8144 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002984/0.01058, allocations: 244.2 kB / 0.8147 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.815e-05/0.0106, allocations: 11.62 kB / 0.8147 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.688e-05/0.01062, allocations: 0 / 0.8147 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.537e-05/0.0107, allocations: 0 / 0.8147 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.715e-05/0.01072, allocations: 0 / 0.8147 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.261e-05/0.01073, allocations: 7.984 kB / 0.8147 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.000104/0.01084, allocations: 131.1 kB / 0.8148 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.11e-07/0.01084, allocations: 0 / 0.8148 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0004313/0.01127, allocations: 12 kB / 0.8148 GB, free: 13.61 MB / 0.7761 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.0002246/0.01149, allocations: 103.2 kB / 0.8149 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002529/0.01174, allocations: 148.2 kB / 0.8151 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.01175, allocations: 0 / 0.8151 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 9.39e-05/0.01184, allocations: 89.73 kB / 0.8152 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003423/0.01218, allocations: 7.359 kB / 0.8152 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003954/0.01258, allocations: 143.8 kB / 0.8153 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.345e-05/0.01267, allocations: 67.28 kB / 0.8154 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.854e-05/0.01273, allocations: 10.14 kB / 0.8154 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.487e-05/0.01275, allocations: 12.5 kB / 0.8154 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of SimCode: time 5.71e-07/0.01276, allocations: 0 / 0.8154 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of Templates: time 0.004732/0.01749, allocations: 0.5728 MB / 0.8159 GB, free: 12.38 MB / 0.7761 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) [Timeout 240] 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: 7.959665244910866]