Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.007117/0.007117, allocations: 100.3 kB / 15.73 MB, free: 6.484 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.001629/0.001629, allocations: 189 kB / 16.68 MB, free: 6.367 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.395/1.395, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.543/2.543, allocations: 390.2 MB / 0.6648 GB, free: 164 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 69.05 kB / 0.9509 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3409/0.3421, allocations: 140.4 MB / 1.088 GB, free: 1.43 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001697/0.3438, allocations: 0.5766 MB / 1.089 GB, free: 0.8555 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0002488/0.3441, allocations: 39.86 kB / 1.089 GB, free: 0.8164 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.288e-05/0.3441, allocations: 0 / 1.089 GB, free: 0.8164 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.201e-05/0.3441, allocations: 0 / 1.089 GB, free: 0.8164 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.012e-05/0.3442, allocations: 7.938 kB / 1.089 GB, free: 0.8086 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002539/0.3445, allocations: 11.98 kB / 1.089 GB, free: 0.7969 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 9.27e-05/0.3446, allocations: 4 kB / 1.089 GB, free: 0.793 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 3.941e-05/0.3446, allocations: 0 / 1.089 GB, free: 0.793 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 2.704e-05/0.3446, allocations: 8 kB / 1.089 GB, free: 0.7852 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 3.911e-05/0.3447, allocations: 3.984 kB / 1.089 GB, free: 0.7812 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.187e-05/0.3447, allocations: 0 / 1.089 GB, free: 0.7812 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 7.501e-05/0.3448, allocations: 19.92 kB / 1.089 GB, free: 0.7617 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 3.297e-05/0.3448, allocations: 4 kB / 1.089 GB, free: 0.7578 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.965e-05/0.3449, allocations: 11.92 kB / 1.089 GB, free: 0.7461 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001033/0.345, allocations: 23.92 kB / 1.089 GB, free: 0.7227 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.345, allocations: 0 / 1.089 GB, free: 0.7227 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.884e-06/0.345, allocations: 0 / 1.089 GB, free: 0.7227 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.345, allocations: 0 / 1.089 GB, free: 0.7227 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.0003606/0.3454, allocations: 353.2 kB / 1.089 GB, free: 328 kB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.3454, allocations: 8.031 kB / 1.089 GB, free: 320 kB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.844e-05/0.3455, allocations: 4.938 kB / 1.089 GB, free: 316 kB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001047/0.3456, allocations: 164.3 kB / 1.089 GB, free: 112 kB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.3456, allocations: 384 / 1.089 GB, free: 112 kB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.212e-05/0.3456, allocations: 4.359 kB / 1.089 GB, free: 108 kB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001362/0.3457, allocations: 66.25 kB / 1.089 GB, free: 36 kB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.241e-06/0.3458, allocations: 192 / 1.089 GB, free: 36 kB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.176e-05/0.3458, allocations: 7.922 kB / 1.089 GB, free: 28 kB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.75e-05/0.3458, allocations: 11.94 kB / 1.089 GB, free: 16 kB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.806e-05/0.3459, allocations: 24.03 kB / 1.089 GB, free: 15.99 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003469/0.3462, allocations: 268.6 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.525e-05/0.3463, allocations: 18.58 kB / 1.09 GB, free: 15.65 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.867e-05/0.3463, allocations: 12.92 kB / 1.09 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 6.312e-06/0.3463, allocations: 0 / 1.09 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/0.3464, allocations: 34.56 kB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.3464, allocations: 0 / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0001849/0.3466, allocations: 75.28 kB / 1.09 GB, free: 15.51 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.329e-05/0.3466, allocations: 77.11 kB / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.541e-05/0.3467, allocations: 117.8 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.364e-05/0.3467, allocations: 29.83 kB / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.973e-05/0.3468, allocations: 103.9 kB / 1.09 GB, free: 15.15 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 8.726e-06/0.3468, allocations: 3.953 kB / 1.09 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-05/0.3468, allocations: 21.72 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.347, allocations: 319.1 kB / 1.09 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.513e-05/0.347, allocations: 11.98 kB / 1.09 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.307e-05/0.3471, allocations: 66.92 kB / 1.09 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001188/0.3472, allocations: 134.1 kB / 1.091 GB, free: 14.53 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.736e-06/0.3472, allocations: 0 / 1.091 GB, free: 14.53 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001505/0.3474, allocations: 123.1 kB / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.789e-05/0.3474, allocations: 33.7 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.3475, allocations: 4.25 kB / 1.091 GB, free: 14.35 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.3475, allocations: 4 kB / 1.091 GB, free: 14.35 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.568e-05/0.3476, allocations: 15.98 kB / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.3476, allocations: 7.938 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.605e-05/0.3477, allocations: 4 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.479e-05/0.3477, allocations: 7.938 kB / 1.091 GB, free: 14.31 MB / 0.8575 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.0001032/0.3478, allocations: 151.4 kB / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.661e-05/0.3478, allocations: 7.953 kB / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.538e-05/0.3478, allocations: 3.531 kB / 1.091 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.3479, allocations: 0 / 1.091 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.3479, allocations: 4 kB / 1.091 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.3479, allocations: 4 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001616/0.348, allocations: 157.6 kB / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.348, allocations: 0 / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/0.3481, allocations: 3.938 kB / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.3481, allocations: 0 / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.3481, allocations: 0 / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.3481, allocations: 0 / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3481, allocations: 0 / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001313/0.3482, allocations: 173.1 kB / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.762e-05/0.3483, allocations: 81.11 kB / 1.091 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.652e-05/0.3483, allocations: 3.984 kB / 1.091 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.472e-05/0.3484, allocations: 4 kB / 1.091 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.27e-05/0.3484, allocations: 7.984 kB / 1.091 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/0.3484, allocations: 0 / 1.091 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.385e-05/0.3485, allocations: 87.28 kB / 1.091 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3485, allocations: 0 / 1.091 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002409/0.3487, allocations: 15.97 kB / 1.091 GB, free: 13.51 MB / 0.8575 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.0001834/0.3489, allocations: 107.8 kB / 1.091 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000154/0.3491, allocations: 83.33 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.3491, allocations: 0 / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.48e-05/0.3491, allocations: 63.34 kB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002053/0.3493, allocations: 4.562 kB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002416/0.3496, allocations: 109 kB / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002874/0.3499, allocations: 0.6768 MB / 1.092 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001162/0.35, allocations: 19.72 kB / 1.092 GB, free: 12.37 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.206e-05/0.35, allocations: 7.438 kB / 1.092 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of SimCode: time 2.31e-07/0.35, allocations: 0 / 1.092 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of Templates: time 0.002913/0.3529, allocations: 0.5295 MB / 1.093 GB, free: 11.84 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches