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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001369/0.001369, allocations: 99.91 kB / 16.35 MB, free: 5.824 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.001466/0.001466, allocations: 193.2 kB / 17.29 MB, free: 5.48 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.32/1.32, allocations: 222.9 MB / 241 MB, free: 14.96 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.431/2.431, allocations: 437.1 MB / 0.7112 GB, free: 4.324 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001817/0.001817, allocations: 74.67 kB / 0.8707 GB, free: 1.414 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2809/0.2827, allocations: 151.6 MB / 1.019 GB, free: 9.816 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001683/0.2844, allocations: 0.573 MB / 1.019 GB, free: 9.238 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0002114/0.2846, allocations: 43.81 kB / 1.019 GB, free: 9.195 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.747e-05/0.2847, allocations: 0 / 1.019 GB, free: 9.195 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.631e-05/0.2847, allocations: 0 / 1.019 GB, free: 9.195 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 3.213e-05/0.2848, allocations: 7.984 kB / 1.019 GB, free: 9.188 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.000182/0.2849, allocations: 8 kB / 1.019 GB, free: 9.18 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 7.412e-05/0.285, allocations: 15.91 kB / 1.019 GB, free: 9.164 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 3.966e-05/0.2851, allocations: 4 kB / 1.019 GB, free: 9.16 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 1.659e-05/0.2851, allocations: 0 / 1.019 GB, free: 9.16 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 3.641e-05/0.2851, allocations: 4 kB / 1.019 GB, free: 9.156 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.118e-05/0.2852, allocations: 0 / 1.019 GB, free: 9.156 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 7.274e-05/0.2852, allocations: 19.98 kB / 1.019 GB, free: 9.137 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.793e-05/0.2853, allocations: 4 kB / 1.019 GB, free: 9.133 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.138e-05/0.2853, allocations: 3.938 kB / 1.019 GB, free: 9.129 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 9.012e-05/0.2854, allocations: 27.89 kB / 1.019 GB, free: 9.102 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.2854, allocations: 0 / 1.019 GB, free: 9.102 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.633e-06/0.2854, allocations: 4 kB / 1.019 GB, free: 9.098 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.369e-06/0.2854, allocations: 0 / 1.019 GB, free: 9.098 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.0003007/0.2857, allocations: 361.2 kB / 1.02 GB, free: 8.688 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.19e-05/0.2858, allocations: 8.625 kB / 1.02 GB, free: 8.68 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.269e-05/0.2858, allocations: 0.9375 kB / 1.02 GB, free: 8.68 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.463e-05/0.2859, allocations: 168.3 kB / 1.02 GB, free: 8.477 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.2859, allocations: 384 / 1.02 GB, free: 8.477 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.045e-06/0.2859, allocations: 384 / 1.02 GB, free: 8.477 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001293/0.286, allocations: 62.17 kB / 1.02 GB, free: 8.41 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.672e-06/0.2861, allocations: 192 / 1.02 GB, free: 8.41 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.2861, allocations: 3.938 kB / 1.02 GB, free: 8.406 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.467e-05/0.2861, allocations: 15.98 kB / 1.02 GB, free: 8.391 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.038e-05/0.2862, allocations: 27.97 kB / 1.02 GB, free: 8.363 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002967/0.2865, allocations: 260.8 kB / 1.02 GB, free: 8.059 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 4.4e-05/0.2865, allocations: 22.56 kB / 1.02 GB, free: 8.027 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.481e-05/0.2865, allocations: 16.67 kB / 1.02 GB, free: 8.008 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 5.901e-06/0.2866, allocations: 0 / 1.02 GB, free: 8.008 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.971e-05/0.2866, allocations: 38.62 kB / 1.02 GB, free: 7.961 MB / 0.795 GB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.2866, allocations: 0 / 1.02 GB, free: 7.961 MB / 0.795 GB Notification: Performance of matching and sorting (n=1): time 0.0001688/0.2868, allocations: 67.39 kB / 1.02 GB, free: 7.883 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.34e-05/0.2868, allocations: 77.11 kB / 1.021 GB, free: 7.789 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.899e-05/0.2869, allocations: 121.8 kB / 1.021 GB, free: 7.66 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.158e-05/0.2869, allocations: 25.7 kB / 1.021 GB, free: 7.629 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.713e-05/0.287, allocations: 99.8 kB / 1.021 GB, free: 7.527 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.185e-05/0.287, allocations: 7.984 kB / 1.021 GB, free: 7.52 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.725e-05/0.287, allocations: 29.78 kB / 1.021 GB, free: 7.484 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.537e-05/0.2872, allocations: 318.8 kB / 1.021 GB, free: 7.164 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.599e-05/0.2872, allocations: 11.98 kB / 1.021 GB, free: 7.152 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.821e-05/0.2872, allocations: 54.86 kB / 1.021 GB, free: 7.074 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.578e-05/0.2873, allocations: 134.1 kB / 1.021 GB, free: 6.906 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.2873, allocations: 4 kB / 1.021 GB, free: 6.902 MB / 0.795 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001357/0.2875, allocations: 119.2 kB / 1.021 GB, free: 6.773 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.9e-05/0.2875, allocations: 33.7 kB / 1.021 GB, free: 6.734 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.2875, allocations: 0 / 1.021 GB, free: 6.734 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.552e-05/0.2876, allocations: 4 kB / 1.021 GB, free: 6.73 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.576e-05/0.2877, allocations: 19.92 kB / 1.022 GB, free: 6.711 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.2877, allocations: 0 / 1.022 GB, free: 6.711 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.811e-05/0.2877, allocations: 12.25 kB / 1.022 GB, free: 6.699 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.69e-05/0.2878, allocations: 8 kB / 1.022 GB, free: 6.691 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 8.917e-05/0.2879, allocations: 143.4 kB / 1.022 GB, free: 6.535 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.847e-05/0.2879, allocations: 7.906 kB / 1.022 GB, free: 6.527 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.195e-05/0.2879, allocations: 15.45 kB / 1.022 GB, free: 6.512 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.2879, allocations: 0 / 1.022 GB, free: 6.512 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.2879, allocations: 0 / 1.022 GB, free: 6.512 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.2879, allocations: 0 / 1.022 GB, free: 6.512 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001416/0.2881, allocations: 153.6 kB / 1.022 GB, free: 6.312 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.2881, allocations: 4 kB / 1.022 GB, free: 6.309 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.11e-07/0.2881, allocations: 0 / 1.022 GB, free: 6.309 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-06/0.2881, allocations: 4 kB / 1.022 GB, free: 6.305 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.772e-06/0.2881, allocations: 0 / 1.022 GB, free: 6.305 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.2881, allocations: 0 / 1.022 GB, free: 6.305 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.2881, allocations: 3.938 kB / 1.022 GB, free: 6.301 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001187/0.2882, allocations: 165.2 kB / 1.022 GB, free: 6.117 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.174e-05/0.2883, allocations: 81.11 kB / 1.022 GB, free: 6.02 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.281e-05/0.2883, allocations: 8.031 kB / 1.022 GB, free: 6.012 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.44e-05/0.2884, allocations: 0 / 1.022 GB, free: 6.012 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.799e-06/0.2884, allocations: 0 / 1.022 GB, free: 6.012 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.291e-06/0.2884, allocations: 7.938 kB / 1.022 GB, free: 6.004 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.269e-05/0.2884, allocations: 87.27 kB / 1.022 GB, free: 5.918 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.633e-06/0.2884, allocations: 0 / 1.022 GB, free: 5.918 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002451/0.2887, allocations: 23.88 kB / 1.022 GB, free: 5.895 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.0001634/0.2889, allocations: 107.2 kB / 1.022 GB, free: 5.777 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001323/0.289, allocations: 87.33 kB / 1.022 GB, free: 5.68 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.289, allocations: 0 / 1.022 GB, free: 5.68 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 3.343e-05/0.2891, allocations: 55.41 kB / 1.022 GB, free: 5.613 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002/0.2893, allocations: 4 kB / 1.022 GB, free: 5.609 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00024/0.2895, allocations: 101 kB / 1.023 GB, free: 5.484 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003351/0.2899, allocations: 0.6807 MB / 1.023 GB, free: 4.777 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 6.879e-05/0.2899, allocations: 16.53 kB / 1.023 GB, free: 4.762 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.344e-05/0.29, allocations: 11.44 kB / 1.023 GB, free: 4.75 MB / 0.795 GB Notification: Performance of SimCode: time 2.2e-07/0.29, allocations: 0 / 1.023 GB, free: 4.75 MB / 0.795 GB Notification: Performance of Templates: time 0.002531/0.2925, allocations: 0.5162 MB / 1.024 GB, free: 4.242 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 -s gbode -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