Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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=5000,variableFilter="time|y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001591/0.001591, allocations: 109.4 kB / 15.99 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001627/0.001627, allocations: 196.2 kB / 16.91 MB, free: 6.176 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.436/1.436, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.734/2.734, allocations: 469.8 MB / 0.7427 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001927/0.001927, allocations: 75.91 kB / 0.9087 GB, free: 14.24 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3391/0.3411, allocations: 159.1 MB / 1.064 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.002027/0.3432, allocations: 0.6563 MB / 1.065 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0002452/0.3434, allocations: 35.88 kB / 1.065 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.815e-05/0.3435, allocations: 4 kB / 1.065 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.282e-05/0.3435, allocations: 3.938 kB / 1.065 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.32e-05/0.3436, allocations: 0 / 1.065 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002162/0.3438, allocations: 12 kB / 1.065 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 8.206e-05/0.3439, allocations: 11.92 kB / 1.065 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 3.818e-05/0.3439, allocations: 0 / 1.065 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 2.134e-05/0.3439, allocations: 4 kB / 1.065 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 2.944e-05/0.344, allocations: 7.984 kB / 1.065 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.291e-05/0.344, allocations: 0 / 1.065 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 9.413e-05/0.3441, allocations: 15.98 kB / 1.065 GB, free: 14.37 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 3.135e-05/0.3441, allocations: 8 kB / 1.065 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.189e-05/0.3442, allocations: 7.938 kB / 1.065 GB, free: 14.35 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 9.2e-05/0.3443, allocations: 15.98 kB / 1.065 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 8.536e-06/0.3443, allocations: 3.984 kB / 1.065 GB, free: 14.33 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.724e-06/0.3443, allocations: 0 / 1.065 GB, free: 14.33 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.313e-06/0.3443, allocations: 0 / 1.065 GB, free: 14.33 MB / 0.8419 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.0004599/0.3448, allocations: 345.2 kB / 1.065 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.3448, allocations: 12.02 kB / 1.065 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.595e-05/0.3449, allocations: 8.938 kB / 1.065 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002081/0.3451, allocations: 172.5 kB / 1.065 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.756e-06/0.3451, allocations: 384 / 1.065 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.429e-05/0.3451, allocations: 4.375 kB / 1.065 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001535/0.3453, allocations: 58.23 kB / 1.065 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.3453, allocations: 192 / 1.065 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.3453, allocations: 3.938 kB / 1.065 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.538e-05/0.3453, allocations: 4 kB / 1.065 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.273e-05/0.3454, allocations: 23.98 kB / 1.066 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004059/0.3458, allocations: 268.8 kB / 1.066 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 5.227e-05/0.3459, allocations: 26.52 kB / 1.066 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.167e-05/0.3459, allocations: 12.91 kB / 1.066 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 7.273e-06/0.3459, allocations: 0 / 1.066 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.61e-05/0.3459, allocations: 30.56 kB / 1.066 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=1): time 1.001e-06/0.3459, allocations: 0 / 1.066 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1): time 0.0001894/0.3461, allocations: 67.41 kB / 1.066 GB, free: 13.13 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.535e-05/0.3462, allocations: 85.17 kB / 1.066 GB, free: 13.03 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001111/0.3463, allocations: 117.7 kB / 1.066 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.655e-05/0.3464, allocations: 25.7 kB / 1.066 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.672e-05/0.3464, allocations: 103.8 kB / 1.066 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 7.093e-06/0.3464, allocations: 0 / 1.066 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.823e-05/0.3465, allocations: 29.61 kB / 1.066 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001607/0.3467, allocations: 314.8 kB / 1.067 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.021e-05/0.3467, allocations: 15.98 kB / 1.067 GB, free: 12.4 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.268e-05/0.3468, allocations: 62.86 kB / 1.067 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001388/0.3469, allocations: 130.1 kB / 1.067 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.3469, allocations: 4 kB / 1.067 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001633/0.3471, allocations: 119.4 kB / 1.067 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.429e-05/0.3471, allocations: 33.64 kB / 1.067 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.3472, allocations: 4 kB / 1.067 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.3472, allocations: 0 / 1.067 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.952e-05/0.3473, allocations: 12 kB / 1.067 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.151e-05/0.3473, allocations: 4 kB / 1.067 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.02e-05/0.3473, allocations: 11.92 kB / 1.067 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.739e-05/0.3474, allocations: 8 kB / 1.067 GB, free: 11.94 MB / 0.8419 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.0001362/0.3475, allocations: 149.5 kB / 1.067 GB, free: 11.78 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.584e-05/0.3475, allocations: 11.94 kB / 1.067 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.368e-05/0.3476, allocations: 3.531 kB / 1.067 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.3476, allocations: 0 / 1.067 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.3476, allocations: 3.984 kB / 1.067 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.3476, allocations: 4 kB / 1.067 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001796/0.3478, allocations: 157.7 kB / 1.067 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.3478, allocations: 3.984 kB / 1.067 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.91e-07/0.3478, allocations: 0 / 1.067 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.3478, allocations: 4 kB / 1.067 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.776e-06/0.3478, allocations: 3.984 kB / 1.067 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.3478, allocations: 0 / 1.067 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.3478, allocations: 4 kB / 1.067 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001527/0.348, allocations: 173.1 kB / 1.067 GB, free: 11.35 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.583e-05/0.348, allocations: 77.11 kB / 1.068 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.205e-05/0.3481, allocations: 0 / 1.068 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.203e-05/0.3481, allocations: 0 / 1.068 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.006e-05/0.3481, allocations: 4 kB / 1.068 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.068e-06/0.3481, allocations: 0 / 1.068 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001621/0.3483, allocations: 95.3 kB / 1.068 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3483, allocations: 0 / 1.068 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002427/0.3486, allocations: 11.94 kB / 1.068 GB, free: 11.14 MB / 0.8419 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.0001894/0.3488, allocations: 103.2 kB / 1.068 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001661/0.3489, allocations: 91.31 kB / 1.068 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.3489, allocations: 4.5 kB / 1.068 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 4.098e-05/0.349, allocations: 59.41 kB / 1.068 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002037/0.3492, allocations: 2.062 kB / 1.068 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002748/0.3495, allocations: 150.5 kB / 1.068 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003422/0.3498, allocations: 0.6768 MB / 1.069 GB, free: 9.977 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.529e-05/0.3499, allocations: 11.44 kB / 1.069 GB, free: 9.965 MB / 0.8419 GB Notification: Performance of SimCode: time 2.4e-07/0.3499, allocations: 0 / 1.069 GB, free: 9.965 MB / 0.8419 GB Notification: Performance of Templates: time 0.002463/0.3523, allocations: 0.6761 MB / 1.069 GB, free: 9.293 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches