Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.00146/0.00146, allocations: 102 kB / 16.27 MB, free: 5.906 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.001507/0.001507, allocations: 192.2 kB / 17.2 MB, free: 5.539 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.388/1.388, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.555/2.555, allocations: 437 MB / 0.711 GB, free: 4.488 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001928/0.001928, allocations: 83.72 kB / 0.8699 GB, free: 2.188 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3265/0.3285, allocations: 151.6 MB / 1.018 GB, free: 10.64 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001812/0.3303, allocations: 0.5747 MB / 1.019 GB, free: 10.05 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0002216/0.3306, allocations: 39.86 kB / 1.019 GB, free: 10.02 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.648e-05/0.3306, allocations: 4 kB / 1.019 GB, free: 10.01 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.404e-05/0.3306, allocations: 0 / 1.019 GB, free: 10.01 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 2.824e-05/0.3307, allocations: 0 / 1.019 GB, free: 10.01 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001843/0.3309, allocations: 15.94 kB / 1.019 GB, free: 9.996 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 6.92e-05/0.3309, allocations: 3.984 kB / 1.019 GB, free: 9.992 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.113e-05/0.331, allocations: 7.984 kB / 1.019 GB, free: 9.984 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 1.506e-05/0.331, allocations: 0 / 1.019 GB, free: 9.984 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 2.972e-05/0.331, allocations: 3.938 kB / 1.019 GB, free: 9.98 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.137e-05/0.331, allocations: 0 / 1.019 GB, free: 9.98 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 8.167e-05/0.3311, allocations: 23.98 kB / 1.019 GB, free: 9.957 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.866e-05/0.3312, allocations: 7.938 kB / 1.019 GB, free: 9.949 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.898e-05/0.3312, allocations: 7.938 kB / 1.019 GB, free: 9.941 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 8.48e-05/0.3313, allocations: 23.97 kB / 1.019 GB, free: 9.918 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.3313, allocations: 0 / 1.019 GB, free: 9.918 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.132e-06/0.3313, allocations: 0 / 1.019 GB, free: 9.918 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.815e-06/0.3313, allocations: 0 / 1.019 GB, free: 9.918 MB / 0.795 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.0003526/0.3317, allocations: 357.2 kB / 1.019 GB, free: 9.512 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.3317, allocations: 12.92 kB / 1.019 GB, free: 9.5 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.022e-05/0.3318, allocations: 4.875 kB / 1.019 GB, free: 9.496 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001082/0.3319, allocations: 168.6 kB / 1.019 GB, free: 9.293 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.3319, allocations: 4.375 kB / 1.019 GB, free: 9.289 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.708e-06/0.3319, allocations: 8.312 kB / 1.019 GB, free: 9.281 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001296/0.332, allocations: 58.23 kB / 1.019 GB, free: 9.219 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.3321, allocations: 192 / 1.019 GB, free: 9.219 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.388e-06/0.3321, allocations: 3.938 kB / 1.019 GB, free: 9.215 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.415e-05/0.3321, allocations: 7.984 kB / 1.019 GB, free: 9.207 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.91e-05/0.3322, allocations: 23.98 kB / 1.019 GB, free: 9.184 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003532/0.3325, allocations: 268.8 kB / 1.02 GB, free: 8.871 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 4.507e-05/0.3326, allocations: 22.5 kB / 1.02 GB, free: 8.84 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.908e-05/0.3326, allocations: 8.922 kB / 1.02 GB, free: 8.828 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 5.851e-06/0.3326, allocations: 0 / 1.02 GB, free: 8.828 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.464e-05/0.3326, allocations: 30.56 kB / 1.02 GB, free: 8.789 MB / 0.795 GB Notification: Performance of pre-optimization done (n=1): time 8.92e-07/0.3326, allocations: 0 / 1.02 GB, free: 8.789 MB / 0.795 GB Notification: Performance of matching and sorting (n=1): time 0.0001724/0.3328, allocations: 67.41 kB / 1.02 GB, free: 8.711 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.167e-05/0.3329, allocations: 85.22 kB / 1.02 GB, free: 8.609 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001064/0.333, allocations: 117.7 kB / 1.02 GB, free: 8.484 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.333, allocations: 25.7 kB / 1.02 GB, free: 8.453 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 6.373e-05/0.3331, allocations: 107.9 kB / 1.02 GB, free: 8.344 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.046e-05/0.3331, allocations: 3.984 kB / 1.02 GB, free: 8.34 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.569e-05/0.3332, allocations: 21.72 kB / 1.02 GB, free: 8.312 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001447/0.3333, allocations: 318.8 kB / 1.02 GB, free: 7.992 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.698e-05/0.3333, allocations: 11.98 kB / 1.02 GB, free: 7.98 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.451e-05/0.3334, allocations: 63.17 kB / 1.02 GB, free: 7.895 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001324/0.3336, allocations: 130.1 kB / 1.021 GB, free: 7.73 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.3336, allocations: 4 kB / 1.021 GB, free: 7.727 MB / 0.795 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001686/0.3337, allocations: 119.4 kB / 1.021 GB, free: 7.598 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.465e-05/0.3338, allocations: 33.64 kB / 1.021 GB, free: 7.559 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.3338, allocations: 4 kB / 1.021 GB, free: 7.555 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.3338, allocations: 0 / 1.021 GB, free: 7.555 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.118e-05/0.3339, allocations: 15.94 kB / 1.021 GB, free: 7.539 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.3339, allocations: 8.141 kB / 1.021 GB, free: 7.531 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.492e-05/0.334, allocations: 4 kB / 1.021 GB, free: 7.527 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.904e-05/0.334, allocations: 11.98 kB / 1.021 GB, free: 7.516 MB / 0.795 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.0001179/0.3341, allocations: 151.4 kB / 1.021 GB, free: 7.352 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.505e-05/0.3342, allocations: 11.88 kB / 1.021 GB, free: 7.34 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.295e-05/0.3342, allocations: 7.516 kB / 1.021 GB, free: 7.332 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/0.3342, allocations: 0 / 1.021 GB, free: 7.332 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.3342, allocations: 4 kB / 1.021 GB, free: 7.328 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.983e-06/0.3342, allocations: 0 / 1.021 GB, free: 7.328 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001712/0.3344, allocations: 157.6 kB / 1.021 GB, free: 7.125 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.3344, allocations: 0 / 1.021 GB, free: 7.125 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.575e-06/0.3344, allocations: 4 kB / 1.021 GB, free: 7.121 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.3344, allocations: 0 / 1.021 GB, free: 7.121 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/0.3344, allocations: 0 / 1.021 GB, free: 7.121 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.71e-07/0.3344, allocations: 0 / 1.021 GB, free: 7.121 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.3344, allocations: 8 kB / 1.021 GB, free: 7.113 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001484/0.3346, allocations: 165.2 kB / 1.021 GB, free: 6.93 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.2e-05/0.3346, allocations: 77.11 kB / 1.021 GB, free: 6.836 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.374e-05/0.3346, allocations: 0 / 1.021 GB, free: 6.836 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.44e-05/0.3347, allocations: 4 kB / 1.021 GB, free: 6.832 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.866e-05/0.3347, allocations: 3.938 kB / 1.021 GB, free: 6.828 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-06/0.3347, allocations: 0 / 1.021 GB, free: 6.828 MB / 0.795 GB Notification: Performance of sorting global known variables: time 5.826e-05/0.3348, allocations: 95.3 kB / 1.021 GB, free: 6.734 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3348, allocations: 0 / 1.021 GB, free: 6.734 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002686/0.3351, allocations: 15.94 kB / 1.021 GB, free: 6.719 MB / 0.795 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.0001863/0.3353, allocations: 111.2 kB / 1.021 GB, free: 6.598 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.000145/0.3354, allocations: 83.33 kB / 1.022 GB, free: 6.504 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3354, allocations: 0.5 kB / 1.022 GB, free: 6.504 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 4.285e-05/0.3355, allocations: 59.41 kB / 1.022 GB, free: 6.434 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000203/0.3357, allocations: 0 / 1.022 GB, free: 6.434 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002572/0.336, allocations: 138.7 kB / 1.022 GB, free: 6.266 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003286/0.3363, allocations: 0.6768 MB / 1.022 GB, free: 5.562 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.776e-05/0.3363, allocations: 11.44 kB / 1.022 GB, free: 5.551 MB / 0.795 GB Notification: Performance of SimCode: time 2.51e-07/0.3363, allocations: 3.938 kB / 1.022 GB, free: 5.547 MB / 0.795 GB Notification: Performance of Templates: time 0.00231/0.3386, allocations: 0.6856 MB / 1.023 GB, free: 4.867 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches