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.001544/0.001544, allocations: 106.1 kB / 15.99 MB, free: 6.355 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.001756/0.001757, allocations: 192.3 kB / 16.91 MB, free: 6.18 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.44/1.44, allocations: 222.9 MB / 240.6 MB, free: 15.41 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.445/2.445, allocations: 437 MB / 0.7107 GB, free: 4.699 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 72.44 kB / 0.8694 GB, free: 2.574 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3153/0.3166, allocations: 151.6 MB / 1.017 GB, free: 11.01 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001967/0.3186, allocations: 0.6416 MB / 1.018 GB, free: 10.36 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0002346/0.3189, allocations: 39.81 kB / 1.018 GB, free: 10.32 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.706e-05/0.3189, allocations: 0 / 1.018 GB, free: 10.32 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.924e-05/0.319, allocations: 0 / 1.018 GB, free: 10.32 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 3.099e-05/0.319, allocations: 4 kB / 1.018 GB, free: 10.32 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.000195/0.3192, allocations: 15.92 kB / 1.018 GB, free: 10.3 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 7.107e-05/0.3193, allocations: 4 kB / 1.018 GB, free: 10.3 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 3.813e-05/0.3193, allocations: 0 / 1.018 GB, free: 10.3 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 1.914e-05/0.3193, allocations: 8 kB / 1.018 GB, free: 10.29 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 1.993e-05/0.3194, allocations: 0 / 1.018 GB, free: 10.29 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.096e-05/0.3194, allocations: 3.938 kB / 1.018 GB, free: 10.29 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 8.986e-05/0.3195, allocations: 19.98 kB / 1.018 GB, free: 10.27 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 3.397e-05/0.3195, allocations: 4 kB / 1.018 GB, free: 10.27 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.078e-05/0.3196, allocations: 11.91 kB / 1.018 GB, free: 10.25 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 7.738e-05/0.3196, allocations: 15.98 kB / 1.018 GB, free: 10.24 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.3196, allocations: 0 / 1.018 GB, free: 10.24 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.553e-06/0.3197, allocations: 0 / 1.018 GB, free: 10.24 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.284e-06/0.3197, allocations: 0 / 1.018 GB, free: 10.24 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.0003257/0.32, allocations: 361.1 kB / 1.019 GB, free: 9.828 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.32, allocations: 12.92 kB / 1.019 GB, free: 9.816 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.662e-05/0.3201, allocations: 0.9375 kB / 1.019 GB, free: 9.816 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001004/0.3202, allocations: 164.6 kB / 1.019 GB, free: 9.617 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.3202, allocations: 384 / 1.019 GB, free: 9.617 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.196e-05/0.3202, allocations: 4.375 kB / 1.019 GB, free: 9.613 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001428/0.3204, allocations: 58.19 kB / 1.019 GB, free: 9.551 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.3204, allocations: 192 / 1.019 GB, free: 9.551 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.3204, allocations: 3.938 kB / 1.019 GB, free: 9.547 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.288e-05/0.3204, allocations: 15.98 kB / 1.019 GB, free: 9.531 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.761e-05/0.3205, allocations: 23.98 kB / 1.019 GB, free: 9.508 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003246/0.3208, allocations: 264.8 kB / 1.019 GB, free: 9.199 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 4.523e-05/0.3209, allocations: 18.52 kB / 1.019 GB, free: 9.172 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.777e-05/0.3209, allocations: 16.91 kB / 1.019 GB, free: 9.152 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 6.883e-06/0.3209, allocations: 0 / 1.019 GB, free: 9.152 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.389e-05/0.3209, allocations: 38.56 kB / 1.019 GB, free: 9.105 MB / 0.795 GB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.321, allocations: 0 / 1.019 GB, free: 9.105 MB / 0.795 GB Notification: Performance of matching and sorting (n=1): time 0.0001565/0.3211, allocations: 63.41 kB / 1.019 GB, free: 9.031 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.558e-05/0.3212, allocations: 81.09 kB / 1.019 GB, free: 8.934 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.576e-05/0.3213, allocations: 121.7 kB / 1.019 GB, free: 8.805 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.222e-05/0.3213, allocations: 25.7 kB / 1.019 GB, free: 8.773 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.079e-05/0.3213, allocations: 103.7 kB / 1.02 GB, free: 8.668 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 5.911e-06/0.3213, allocations: 0 / 1.02 GB, free: 8.668 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.998e-05/0.3214, allocations: 25.83 kB / 1.02 GB, free: 8.637 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.872e-05/0.3215, allocations: 326.8 kB / 1.02 GB, free: 8.309 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.38e-05/0.3215, allocations: 7.984 kB / 1.02 GB, free: 8.301 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.67e-05/0.3216, allocations: 62.86 kB / 1.02 GB, free: 8.215 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.92e-05/0.3217, allocations: 134.1 kB / 1.02 GB, free: 8.047 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.3217, allocations: 0 / 1.02 GB, free: 8.047 MB / 0.795 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001443/0.3218, allocations: 119.2 kB / 1.02 GB, free: 7.918 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.17e-05/0.3219, allocations: 37.7 kB / 1.02 GB, free: 7.875 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.3219, allocations: 0 / 1.02 GB, free: 7.875 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.3219, allocations: 4 kB / 1.02 GB, free: 7.871 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.432e-05/0.322, allocations: 11.94 kB / 1.02 GB, free: 7.859 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.322, allocations: 11.92 kB / 1.02 GB, free: 7.848 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.266e-05/0.3221, allocations: 8.188 kB / 1.02 GB, free: 7.84 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.362e-05/0.3221, allocations: 8 kB / 1.02 GB, free: 7.832 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 9.068e-05/0.3222, allocations: 157.8 kB / 1.02 GB, free: 7.664 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.44e-05/0.3222, allocations: 3.906 kB / 1.02 GB, free: 7.66 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.481e-05/0.3222, allocations: 11.52 kB / 1.02 GB, free: 7.648 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.3222, allocations: 0 / 1.02 GB, free: 7.648 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.3222, allocations: 0 / 1.02 GB, free: 7.648 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.3222, allocations: 3.984 kB / 1.02 GB, free: 7.645 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001394/0.3224, allocations: 157.6 kB / 1.021 GB, free: 7.441 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.3224, allocations: 0 / 1.021 GB, free: 7.441 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.01e-07/0.3224, allocations: 4 kB / 1.021 GB, free: 7.438 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.053e-06/0.3224, allocations: 0 / 1.021 GB, free: 7.438 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.245e-06/0.3224, allocations: 4 kB / 1.021 GB, free: 7.434 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.3224, allocations: 0 / 1.021 GB, free: 7.434 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3224, allocations: 0 / 1.021 GB, free: 7.434 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000122/0.3226, allocations: 165.2 kB / 1.021 GB, free: 7.25 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.085e-05/0.3226, allocations: 77.11 kB / 1.021 GB, free: 7.156 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.247e-05/0.3226, allocations: 0 / 1.021 GB, free: 7.156 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.798e-05/0.3227, allocations: 8.031 kB / 1.021 GB, free: 7.148 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.472e-05/0.3227, allocations: 0 / 1.021 GB, free: 7.148 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.21e-06/0.3227, allocations: 0 / 1.021 GB, free: 7.148 MB / 0.795 GB Notification: Performance of sorting global known variables: time 5.776e-05/0.3228, allocations: 95.2 kB / 1.021 GB, free: 7.055 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3228, allocations: 0 / 1.021 GB, free: 7.055 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002437/0.323, allocations: 15.94 kB / 1.021 GB, free: 7.039 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.0001588/0.3232, allocations: 107.2 kB / 1.021 GB, free: 6.922 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001239/0.3233, allocations: 87.33 kB / 1.021 GB, free: 6.824 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3233, allocations: 0 / 1.021 GB, free: 6.824 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 2.969e-05/0.3234, allocations: 55.41 kB / 1.021 GB, free: 6.758 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002015/0.3236, allocations: 8 kB / 1.021 GB, free: 6.75 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002123/0.3238, allocations: 134.7 kB / 1.021 GB, free: 6.586 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002274/0.324, allocations: 0.6812 MB / 1.022 GB, free: 5.879 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.425e-05/0.3241, allocations: 7.438 kB / 1.022 GB, free: 5.871 MB / 0.795 GB Notification: Performance of SimCode: time 2.51e-07/0.3241, allocations: 4 kB / 1.022 GB, free: 5.867 MB / 0.795 GB Notification: Performance of Templates: time 0.002024/0.3261, allocations: 0.6862 MB / 1.023 GB, free: 5.184 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