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.006845/0.006846, allocations: 106.9 kB / 15.74 MB, free: 5.582 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.001174/0.001174, allocations: 197.7 kB / 16.67 MB, free: 5.508 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.369/1.369, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.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.251/2.251, allocations: 390.2 MB / 0.6648 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001513/0.001513, allocations: 75.83 kB / 0.9509 GB, free: 7.598 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.016/1.018, allocations: 140.4 MB / 1.088 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.00166/1.019, allocations: 0.5797 MB / 1.089 GB, free: 5.16 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0002548/1.02, allocations: 41.81 kB / 1.089 GB, free: 5.141 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.209e-05/1.02, allocations: 1.062 kB / 1.089 GB, free: 5.141 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.033e-05/1.02, allocations: 0 / 1.089 GB, free: 5.141 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.142e-05/1.02, allocations: 1.688 kB / 1.089 GB, free: 5.141 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002289/1.02, allocations: 15.09 kB / 1.089 GB, free: 5.133 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.963e-05/1.02, allocations: 8.516 kB / 1.089 GB, free: 5.129 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.394e-05/1.02, allocations: 9.938 kB / 1.089 GB, free: 5.121 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.274e-05/1.02, allocations: 2.156 kB / 1.089 GB, free: 5.121 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.546e-05/1.02, allocations: 5.297 kB / 1.089 GB, free: 5.117 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.395e-05/1.02, allocations: 1.062 kB / 1.089 GB, free: 5.117 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.453e-05/1.02, allocations: 17.44 kB / 1.089 GB, free: 5.113 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.712e-05/1.02, allocations: 6.125 kB / 1.089 GB, free: 5.109 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.824e-05/1.02, allocations: 9.219 kB / 1.089 GB, free: 5.102 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001093/1.02, allocations: 15.47 kB / 1.089 GB, free: 5.102 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/1.02, allocations: 1.188 kB / 1.089 GB, free: 5.102 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.673e-06/1.02, allocations: 0 / 1.089 GB, free: 5.102 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.041e-06/1.02, allocations: 4 kB / 1.089 GB, free: 5.098 MB / 0.8575 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.0003233/1.021, allocations: 357.6 kB / 1.089 GB, free: 4.703 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/1.021, allocations: 9.562 kB / 1.089 GB, free: 4.703 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.343e-05/1.021, allocations: 2.094 kB / 1.089 GB, free: 4.703 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.198e-05/1.021, allocations: 173.8 kB / 1.089 GB, free: 4.5 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.6e-05/1.021, allocations: 6.156 kB / 1.089 GB, free: 4.496 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.12e-05/1.021, allocations: 1.344 kB / 1.089 GB, free: 4.496 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001554/1.021, allocations: 59.12 kB / 1.089 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/1.021, allocations: 4.188 kB / 1.089 GB, free: 4.453 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/1.021, allocations: 5.062 kB / 1.089 GB, free: 4.449 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.082e-05/1.021, allocations: 6.75 kB / 1.089 GB, free: 4.449 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.427e-05/1.021, allocations: 23.69 kB / 1.089 GB, free: 4.445 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003436/1.022, allocations: 261.7 kB / 1.09 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.19e-05/1.022, allocations: 21.38 kB / 1.09 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.911e-05/1.022, allocations: 7.672 kB / 1.09 GB, free: 4.133 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.278e-06/1.022, allocations: 8.75 kB / 1.09 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.842e-05/1.022, allocations: 32.14 kB / 1.09 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 1.292e-06/1.022, allocations: 0 / 1.09 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0001817/1.022, allocations: 63.64 kB / 1.09 GB, free: 4.023 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.331e-05/1.022, allocations: 82.73 kB / 1.09 GB, free: 3.926 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.605e-05/1.022, allocations: 119.5 kB / 1.09 GB, free: 3.816 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.648e-06/1.022, allocations: 26.86 kB / 1.09 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.612e-05/1.022, allocations: 101.9 kB / 1.09 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.197e-05/1.022, allocations: 9.578 kB / 1.09 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.056e-05/1.022, allocations: 26.92 kB / 1.09 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.036e-05/1.022, allocations: 317.3 kB / 1.09 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.955e-05/1.022, allocations: 9.203 kB / 1.09 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.17e-05/1.022, allocations: 62.2 kB / 1.09 GB, free: 3.27 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001163/1.022, allocations: 135.6 kB / 1.091 GB, free: 3.121 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/1.022, allocations: 4.812 kB / 1.091 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001679/1.023, allocations: 120.3 kB / 1.091 GB, free: 3.031 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.562e-05/1.023, allocations: 32.52 kB / 1.091 GB, free: 3 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/1.023, allocations: 2 kB / 1.091 GB, free: 3 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/1.023, allocations: 2.75 kB / 1.091 GB, free: 3 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.195e-05/1.023, allocations: 12.84 kB / 1.091 GB, free: 3 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/1.023, allocations: 6.609 kB / 1.091 GB, free: 2.996 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.415e-05/1.023, allocations: 5.25 kB / 1.091 GB, free: 2.996 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.902e-05/1.023, allocations: 9.562 kB / 1.091 GB, free: 2.992 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 8.759e-05/1.023, allocations: 150.8 kB / 1.091 GB, free: 2.836 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.458e-05/1.023, allocations: 6.156 kB / 1.091 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.558e-05/1.023, allocations: 5.359 kB / 1.091 GB, free: 2.824 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/1.023, allocations: 1.922 kB / 1.091 GB, free: 2.824 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/1.023, allocations: 0 / 1.091 GB, free: 2.824 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/1.023, allocations: 4 kB / 1.091 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000127/1.023, allocations: 157.8 kB / 1.091 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/1.023, allocations: 0.75 kB / 1.091 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.643e-06/1.023, allocations: 5.281 kB / 1.091 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-06/1.023, allocations: 0 / 1.091 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.848e-06/1.023, allocations: 1.797 kB / 1.091 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.82e-07/1.023, allocations: 0 / 1.091 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/1.023, allocations: 0.9375 kB / 1.091 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001017/1.023, allocations: 176.1 kB / 1.091 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.619e-05/1.023, allocations: 78.83 kB / 1.091 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.428e-05/1.023, allocations: 2.062 kB / 1.091 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.334e-05/1.024, allocations: 1.656 kB / 1.091 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.036e-05/1.024, allocations: 1.766 kB / 1.091 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.442e-06/1.024, allocations: 1.781 kB / 1.091 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.314e-05/1.024, allocations: 90.41 kB / 1.091 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/1.024, allocations: 0 / 1.091 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002413/1.024, allocations: 13.31 kB / 1.091 GB, free: 2.266 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.0001827/1.024, allocations: 110 kB / 1.091 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001497/1.024, allocations: 84.41 kB / 1.092 GB, free: 2.105 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/1.024, allocations: 0 / 1.092 GB, free: 2.105 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 2.624e-05/1.024, allocations: 55.62 kB / 1.092 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002091/1.024, allocations: 7.609 kB / 1.092 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002506/1.025, allocations: 108.5 kB / 1.092 GB, free: 1.934 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002206/1.025, allocations: 0.6821 MB / 1.092 GB, free: 17.23 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 6.229e-05/1.025, allocations: 15.33 kB / 1.092 GB, free: 17.23 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.047e-05/1.025, allocations: 9.719 kB / 1.092 GB, free: 17.22 MB / 0.8731 GB Notification: Performance of SimCode: time 2.51e-07/1.025, allocations: 0 / 1.092 GB, free: 17.22 MB / 0.8731 GB Notification: Performance of Templates: time 0.002846/1.028, allocations: 0.527 MB / 1.093 GB, free: 17.13 MB / 0.8731 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