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.001684/0.001684, allocations: 110 kB / 18.93 MB, free: 2.945 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.002023/0.002023, allocations: 191.9 kB / 22.23 MB, free: 5.16 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.452/1.452, allocations: 225.6 MB / 251 MB, free: 13.01 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.154/3.154, allocations: 496 MB / 0.7835 GB, free: 33.46 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.001976/0.001976, allocations: 67.89 kB / 1.138 GB, free: 33.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3338/0.3358, allocations: 173.6 MB / 1.307 GB, free: 1.73 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001793/0.3376, allocations: 0.6062 MB / 1.308 GB, free: 1.125 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0002577/0.3378, allocations: 35.88 kB / 1.308 GB, free: 1.09 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.139e-05/0.3378, allocations: 0 / 1.308 GB, free: 1.09 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.295e-05/0.3379, allocations: 4 kB / 1.308 GB, free: 1.086 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.401e-05/0.3379, allocations: 3.938 kB / 1.308 GB, free: 1.082 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002359/0.3382, allocations: 11.98 kB / 1.308 GB, free: 1.07 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 8.52e-05/0.3382, allocations: 4 kB / 1.308 GB, free: 1.066 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.727e-05/0.3383, allocations: 4 kB / 1.308 GB, free: 1.062 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.498e-05/0.3383, allocations: 7.922 kB / 1.308 GB, free: 1.055 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.591e-05/0.3384, allocations: 3.984 kB / 1.308 GB, free: 1.051 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.486e-05/0.3384, allocations: 0 / 1.308 GB, free: 1.051 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.773e-05/0.3385, allocations: 19.98 kB / 1.308 GB, free: 1.031 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.616e-05/0.3385, allocations: 4 kB / 1.308 GB, free: 1.027 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.459e-05/0.3385, allocations: 7.938 kB / 1.308 GB, free: 1.02 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001163/0.3386, allocations: 27.86 kB / 1.308 GB, free: 0.9922 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.3386, allocations: 0 / 1.308 GB, free: 0.9922 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.693e-06/0.3386, allocations: 0 / 1.308 GB, free: 0.9922 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.038e-05/0.3387, allocations: 3.984 kB / 1.308 GB, free: 0.9883 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.0003771/0.339, allocations: 268.5 kB / 1.308 GB, free: 0.6875 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.3391, allocations: 12.92 kB / 1.308 GB, free: 0.6758 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.403e-05/0.3391, allocations: 0.9375 kB / 1.308 GB, free: 0.6758 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.712e-05/0.3392, allocations: 118.4 kB / 1.308 GB, free: 0.5352 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.286e-05/0.3392, allocations: 8.375 kB / 1.308 GB, free: 0.5273 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.273e-05/0.3392, allocations: 384 / 1.308 GB, free: 0.5273 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001552/0.3394, allocations: 54.25 kB / 1.308 GB, free: 480 kB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.3394, allocations: 4.172 kB / 1.308 GB, free: 476 kB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.3394, allocations: 3.938 kB / 1.308 GB, free: 472 kB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.734e-05/0.3394, allocations: 8 kB / 1.309 GB, free: 464 kB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.128e-05/0.3395, allocations: 23.98 kB / 1.309 GB, free: 440 kB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004487/0.3399, allocations: 243.8 kB / 1.309 GB, free: 152 kB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.736e-05/0.34, allocations: 22.58 kB / 1.309 GB, free: 120 kB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.715e-05/0.34, allocations: 4.859 kB / 1.309 GB, free: 112 kB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.053e-06/0.34, allocations: 0 / 1.309 GB, free: 112 kB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.886e-05/0.34, allocations: 34.56 kB / 1.309 GB, free: 68 kB / 0.9981 GB Notification: Performance of pre-optimization done (n=1): time 8.81e-07/0.34, allocations: 4.062 kB / 1.309 GB, free: 64 kB / 0.9981 GB Notification: Performance of matching and sorting (n=1): time 0.0001948/0.3402, allocations: 71.28 kB / 1.309 GB, free: 15.98 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.273e-05/0.3403, allocations: 77.11 kB / 1.309 GB, free: 15.89 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001066/0.3404, allocations: 118 kB / 1.309 GB, free: 15.76 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.935e-05/0.3404, allocations: 29.7 kB / 1.309 GB, free: 15.73 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 6.157e-05/0.3405, allocations: 107.8 kB / 1.309 GB, free: 15.62 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.222e-05/0.3405, allocations: 12.02 kB / 1.309 GB, free: 15.61 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.234e-05/0.3405, allocations: 25.72 kB / 1.309 GB, free: 15.57 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.3407, allocations: 318.8 kB / 1.31 GB, free: 15.25 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.503e-05/0.3407, allocations: 8 kB / 1.31 GB, free: 15.25 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.851e-05/0.3408, allocations: 58.86 kB / 1.31 GB, free: 15.16 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001322/0.3409, allocations: 134.1 kB / 1.31 GB, free: 15 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.3409, allocations: 0 / 1.31 GB, free: 15 MB / 1.014 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001682/0.3411, allocations: 119.2 kB / 1.31 GB, free: 14.87 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.829e-05/0.3411, allocations: 37.95 kB / 1.31 GB, free: 14.82 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.3411, allocations: 3.984 kB / 1.31 GB, free: 14.82 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.3412, allocations: 4 kB / 1.31 GB, free: 14.82 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.736e-05/0.3412, allocations: 8 kB / 1.31 GB, free: 14.81 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.151e-05/0.3412, allocations: 4 kB / 1.31 GB, free: 14.8 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.945e-05/0.3413, allocations: 7.953 kB / 1.31 GB, free: 14.8 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.514e-05/0.3413, allocations: 8.406 kB / 1.31 GB, free: 14.79 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.0001373/0.3415, allocations: 160.1 kB / 1.31 GB, free: 14.62 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.32e-05/0.3415, allocations: 0 / 1.31 GB, free: 14.62 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.584e-05/0.3415, allocations: 11.47 kB / 1.31 GB, free: 14.6 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.3415, allocations: 0 / 1.31 GB, free: 14.6 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.3415, allocations: 0 / 1.31 GB, free: 14.6 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.3415, allocations: 0 / 1.31 GB, free: 14.6 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001569/0.3417, allocations: 128.7 kB / 1.31 GB, free: 14.43 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.3417, allocations: 0 / 1.31 GB, free: 14.43 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.3417, allocations: 0 / 1.31 GB, free: 14.43 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.3417, allocations: 4 kB / 1.31 GB, free: 14.43 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.3417, allocations: 4 kB / 1.31 GB, free: 14.43 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.21e-07/0.3417, allocations: 0 / 1.31 GB, free: 14.43 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-07/0.3417, allocations: 0 / 1.31 GB, free: 14.43 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001603/0.3418, allocations: 177.1 kB / 1.31 GB, free: 14.23 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 6.983e-06/0.3418, allocations: 0 / 1.31 GB, free: 14.23 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.277e-05/0.3419, allocations: 4 kB / 1.31 GB, free: 14.23 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.912e-05/0.3419, allocations: 3.984 kB / 1.31 GB, free: 14.22 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.695e-05/0.3419, allocations: 0 / 1.31 GB, free: 14.22 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.693e-06/0.3419, allocations: 4 kB / 1.31 GB, free: 14.22 MB / 1.014 GB Notification: Performance of sorting global known variables: time 6.4e-05/0.342, allocations: 95.25 kB / 1.31 GB, free: 14.12 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/0.342, allocations: 7.969 kB / 1.31 GB, free: 14.12 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.000243/0.3422, allocations: 11.94 kB / 1.311 GB, free: 14.11 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.0001623/0.3424, allocations: 99.25 kB / 1.311 GB, free: 14 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0001678/0.3426, allocations: 83.33 kB / 1.311 GB, free: 13.91 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.3426, allocations: 0 / 1.311 GB, free: 13.91 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 4.422e-05/0.3426, allocations: 59.84 kB / 1.311 GB, free: 13.84 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002066/0.3428, allocations: 16 kB / 1.311 GB, free: 13.82 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002588/0.3431, allocations: 108.9 kB / 1.311 GB, free: 13.69 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003352/0.3434, allocations: 0.6807 MB / 1.312 GB, free: 12.98 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001102/0.3435, allocations: 11.73 kB / 1.312 GB, free: 12.97 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.849e-05/0.3436, allocations: 11.44 kB / 1.312 GB, free: 12.96 MB / 1.014 GB Notification: Performance of SimCode: time 2.81e-07/0.3436, allocations: 0 / 1.312 GB, free: 12.96 MB / 1.014 GB Notification: Performance of Templates: time 0.00321/0.3468, allocations: 0.5636 MB / 1.312 GB, free: 12.4 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.678095893934369]