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.001321/0.001321, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001385/0.001385, allocations: 193.7 kB / 16.25 MB, free: 6.629 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.486/1.486, allocations: 222.9 MB / 239.9 MB, free: 4.559 MB / 190.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.732/2.732, allocations: 437 MB / 0.7101 GB, free: 5.219 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002021/0.002021, allocations: 59.91 kB / 0.8687 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6302/0.6323, allocations: 151.6 MB / 1.017 GB, free: 2.715 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.00193/0.6342, allocations: 0.6527 MB / 1.017 GB, free: 2.059 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0002376/0.6345, allocations: 43.86 kB / 1.017 GB, free: 2.016 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.723e-05/0.6345, allocations: 3.938 kB / 1.017 GB, free: 2.012 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.054e-05/0.6345, allocations: 0 / 1.017 GB, free: 2.012 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.316e-05/0.6346, allocations: 4 kB / 1.018 GB, free: 2.008 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002036/0.6348, allocations: 12 kB / 1.018 GB, free: 1.996 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.145e-05/0.6349, allocations: 3.984 kB / 1.018 GB, free: 1.992 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.551e-05/0.6349, allocations: 7.984 kB / 1.018 GB, free: 1.984 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.703e-05/0.635, allocations: 0 / 1.018 GB, free: 1.984 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 2.199e-05/0.635, allocations: 4 kB / 1.018 GB, free: 1.98 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.085e-05/0.635, allocations: 4 kB / 1.018 GB, free: 1.977 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 8.597e-05/0.6351, allocations: 19.92 kB / 1.018 GB, free: 1.957 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.857e-05/0.6351, allocations: 0 / 1.018 GB, free: 1.957 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.544e-05/0.6352, allocations: 7.938 kB / 1.018 GB, free: 1.949 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 9.957e-05/0.6353, allocations: 35.89 kB / 1.018 GB, free: 1.914 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.6353, allocations: 0 / 1.018 GB, free: 1.914 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.683e-06/0.6353, allocations: 0 / 1.018 GB, free: 1.914 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.6353, allocations: 0 / 1.018 GB, free: 1.914 MB / 0.7637 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.0003682/0.6357, allocations: 353.2 kB / 1.018 GB, free: 1.512 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.6357, allocations: 12.03 kB / 1.018 GB, free: 1.5 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.358e-05/0.6357, allocations: 0.9375 kB / 1.018 GB, free: 1.5 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00011/0.6359, allocations: 162.4 kB / 1.018 GB, free: 1.305 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.6359, allocations: 384 / 1.018 GB, free: 1.305 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.345e-05/0.6359, allocations: 8.359 kB / 1.018 GB, free: 1.297 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001334/0.636, allocations: 58.25 kB / 1.018 GB, free: 1.234 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.636, allocations: 192 / 1.018 GB, free: 1.234 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.6361, allocations: 3.938 kB / 1.018 GB, free: 1.23 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.295e-05/0.6361, allocations: 11.92 kB / 1.018 GB, free: 1.219 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.884e-05/0.6362, allocations: 23.98 kB / 1.018 GB, free: 1.195 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003797/0.6365, allocations: 264.8 kB / 1.018 GB, free: 0.8867 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 5.253e-05/0.6366, allocations: 22.56 kB / 1.018 GB, free: 0.8555 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.073e-05/0.6366, allocations: 8.922 kB / 1.018 GB, free: 0.8438 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 7.855e-06/0.6366, allocations: 3.938 kB / 1.018 GB, free: 0.8398 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.222e-05/0.6367, allocations: 34.5 kB / 1.019 GB, free: 0.7969 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/0.6367, allocations: 0 / 1.019 GB, free: 0.7969 MB / 0.7637 GB Notification: Performance of matching and sorting (n=1): time 0.0001853/0.6369, allocations: 67.41 kB / 1.019 GB, free: 0.7188 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.02e-05/0.6369, allocations: 85.03 kB / 1.019 GB, free: 0.6172 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.454e-05/0.637, allocations: 113.9 kB / 1.019 GB, free: 0.4961 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 1.638e-05/0.6371, allocations: 29.7 kB / 1.019 GB, free: 472 kB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 6.472e-05/0.6371, allocations: 107.8 kB / 1.019 GB, free: 360 kB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 8.205e-06/0.6372, allocations: 3.938 kB / 1.019 GB, free: 356 kB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.266e-05/0.6372, allocations: 25.7 kB / 1.019 GB, free: 324 kB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001554/0.6374, allocations: 322.8 kB / 1.019 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.481e-05/0.6374, allocations: 7.984 kB / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.305e-05/0.6375, allocations: 66.8 kB / 1.019 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001238/0.6376, allocations: 130.2 kB / 1.019 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.6376, allocations: 0 / 1.019 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001543/0.6378, allocations: 119.1 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.502e-05/0.6378, allocations: 33.7 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.85e-06/0.6378, allocations: 256 / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.6378, allocations: 8 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.448e-05/0.6379, allocations: 11.94 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.6379, allocations: 7.984 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.753e-05/0.638, allocations: 8 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.389e-05/0.638, allocations: 4 kB / 1.02 GB, free: 15.52 MB / 0.7794 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.0001034/0.6381, allocations: 148.3 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.223e-05/0.6382, allocations: 0 / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.488e-05/0.6382, allocations: 11.52 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.6382, allocations: 4 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.6382, allocations: 0 / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.944e-06/0.6382, allocations: 0 / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001606/0.6384, allocations: 157.5 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.6384, allocations: 0 / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.01e-07/0.6384, allocations: 0 / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.6384, allocations: 0 / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.6384, allocations: 4 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.6384, allocations: 7.938 kB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.6384, allocations: 0 / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001371/0.6385, allocations: 177.1 kB / 1.02 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.779e-05/0.6386, allocations: 77.11 kB / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.154e-05/0.6386, allocations: 0 / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.742e-05/0.6387, allocations: 4 kB / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.093e-05/0.6387, allocations: 0 / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.078e-06/0.6387, allocations: 0 / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.104e-05/0.6388, allocations: 87.27 kB / 1.02 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6388, allocations: 0 / 1.02 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002479/0.639, allocations: 23.97 kB / 1.02 GB, free: 14.73 MB / 0.7794 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.0001885/0.6392, allocations: 107.2 kB / 1.02 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001661/0.6394, allocations: 91.2 kB / 1.02 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.6394, allocations: 0 / 1.02 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.488e-05/0.6395, allocations: 55.41 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002163/0.6397, allocations: 4.562 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002596/0.6399, allocations: 113 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003556/0.6403, allocations: 0.6852 MB / 1.021 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001044/0.6404, allocations: 7.984 kB / 1.021 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.557e-05/0.6404, allocations: 11.44 kB / 1.021 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of SimCode: time 4.21e-07/0.6404, allocations: 0 / 1.021 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of Templates: time 0.003217/0.6437, allocations: 0.5209 MB / 1.022 GB, free: 13.06 MB / 0.7794 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=400 -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/jenkins/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