Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.612/1.612, allocations: 249.3 MB / 261.9 MB, free: 5.984 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001314/0.001315, allocations: 182.1 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.982/1.982, allocations: 205.2 MB / 0.572 GB, free: 10.61 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001088/0.001088, allocations: 94.47 kB / 0.6764 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.837e-05/3.84e-05, allocations: 4 kB / 0.7879 GB, free: 97.09 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.252/0.2521, allocations: 106.3 MB / 0.8918 GB, free: 6.656 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7998/1.052, allocations: 130.8 MB / 1.02 GB, free: 3.883 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000204/1.052, allocations: 72.08 kB / 1.02 GB, free: 3.84 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.001241/1.053, allocations: 0.5536 MB / 1.02 GB, free: 3.32 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.703e-06/1.053, allocations: 7.281 kB / 1.02 GB, free: 3.316 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.581e-06/1.053, allocations: 0 / 1.02 GB, free: 3.316 MB / 0.6355 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.000265/1.054, allocations: 343 kB / 1.021 GB, free: 2.934 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/1.054, allocations: 12.03 kB / 1.021 GB, free: 2.922 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.692e-05/1.054, allocations: 0 / 1.021 GB, free: 2.922 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000127/1.054, allocations: 174.9 kB / 1.021 GB, free: 2.711 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/1.054, allocations: 3.984 kB / 1.021 GB, free: 2.707 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.467e-05/1.054, allocations: 11.98 kB / 1.021 GB, free: 2.695 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001343/1.054, allocations: 53 kB / 1.021 GB, free: 2.645 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.318e-06/1.054, allocations: 0 / 1.021 GB, free: 2.645 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.962e-06/1.054, allocations: 0 / 1.021 GB, free: 2.645 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.759e-05/1.054, allocations: 7.062 kB / 1.021 GB, free: 2.641 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.811e-05/1.054, allocations: 23.92 kB / 1.021 GB, free: 2.621 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004021/1.055, allocations: 267.3 kB / 1.021 GB, free: 2.32 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 3.305e-05/1.055, allocations: 22.45 kB / 1.021 GB, free: 2.293 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.4e-05/1.055, allocations: 8.922 kB / 1.021 GB, free: 2.281 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.787e-06/1.055, allocations: 0 / 1.021 GB, free: 2.281 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.231e-05/1.055, allocations: 30.56 kB / 1.021 GB, free: 2.242 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 8.22e-07/1.055, allocations: 0 / 1.021 GB, free: 2.242 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001973/1.055, allocations: 67.3 kB / 1.021 GB, free: 2.164 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.448e-05/1.055, allocations: 81.11 kB / 1.021 GB, free: 2.066 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000121/1.055, allocations: 112.7 kB / 1.021 GB, free: 1.957 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.673e-05/1.055, allocations: 29.7 kB / 1.021 GB, free: 1.922 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.581e-05/1.055, allocations: 99.78 kB / 1.021 GB, free: 1.82 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.097e-05/1.055, allocations: 7.875 kB / 1.021 GB, free: 1.816 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.328e-06/1.055, allocations: 0 / 1.021 GB, free: 1.816 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001623/1.055, allocations: 310.8 kB / 1.022 GB, free: 1.504 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.884e-05/1.055, allocations: 15.92 kB / 1.022 GB, free: 1.492 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.826e-05/1.056, allocations: 62.12 kB / 1.022 GB, free: 1.41 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.225e-05/1.056, allocations: 45.62 kB / 1.022 GB, free: 1.359 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/1.056, allocations: 4 kB / 1.022 GB, free: 1.355 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000149/1.056, allocations: 112.5 kB / 1.022 GB, free: 1.242 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.686e-05/1.056, allocations: 33.7 kB / 1.022 GB, free: 1.203 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.055e-06/1.056, allocations: 0 / 1.022 GB, free: 1.203 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/1.056, allocations: 7.984 kB / 1.022 GB, free: 1.195 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.673e-05/1.056, allocations: 11.94 kB / 1.022 GB, free: 1.184 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/1.056, allocations: 8.203 kB / 1.022 GB, free: 1.176 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.192e-05/1.056, allocations: 19.78 kB / 1.022 GB, free: 1.156 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.079e-05/1.056, allocations: 15.25 kB / 1.022 GB, free: 1.145 MB / 0.6355 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.098e-05/1.056, allocations: 129.3 kB / 1.022 GB, free: 1.008 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.414e-05/1.056, allocations: 7.984 kB / 1.022 GB, free: 1 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.886e-05/1.056, allocations: 10.67 kB / 1.022 GB, free: 0.9922 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/1.056, allocations: 3.938 kB / 1.022 GB, free: 0.9883 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/1.056, allocations: 0 / 1.022 GB, free: 0.9883 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/1.056, allocations: 3.953 kB / 1.022 GB, free: 0.9844 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001732/1.056, allocations: 153.7 kB / 1.022 GB, free: 0.7852 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/1.056, allocations: 4 kB / 1.022 GB, free: 0.7812 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.6e-07/1.056, allocations: 0 / 1.022 GB, free: 0.7812 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/1.056, allocations: 0 / 1.022 GB, free: 0.7812 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.129e-06/1.056, allocations: 0 / 1.022 GB, free: 0.7812 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.51e-07/1.056, allocations: 0 / 1.022 GB, free: 0.7812 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/1.056, allocations: 0 / 1.022 GB, free: 0.7812 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001345/1.057, allocations: 168.9 kB / 1.023 GB, free: 0.5977 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.537e-05/1.057, allocations: 83.92 kB / 1.023 GB, free: 0.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.398e-06/1.057, allocations: 4.906 kB / 1.023 GB, free: 0.4961 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.95e-05/1.057, allocations: 0 / 1.023 GB, free: 0.4961 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.161e-05/1.057, allocations: 0 / 1.023 GB, free: 0.4961 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-06/1.057, allocations: 4 kB / 1.023 GB, free: 0.4922 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.105e-05/1.057, allocations: 90.64 kB / 1.023 GB, free: 416 kB / 0.6355 GB Notification: Performance of sort global known variables: time 1.41e-07/1.057, allocations: 0 / 1.023 GB, free: 416 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002749/1.057, allocations: 12 kB / 1.023 GB, free: 404 kB / 0.6355 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00016/1.057, allocations: 111.1 kB / 1.023 GB, free: 280 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.999e-05/1.057, allocations: 90.58 kB / 1.023 GB, free: 180 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/1.057, allocations: 0 / 1.023 GB, free: 180 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.471e-05/1.057, allocations: 58.53 kB / 1.023 GB, free: 112 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.881e-05/1.058, allocations: 0 / 1.023 GB, free: 112 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001367/1.058, allocations: 72.42 kB / 1.023 GB, free: 20 kB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002979/1.058, allocations: 0.6854 MB / 1.024 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.968e-05/1.058, allocations: 12.17 kB / 1.024 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.042e-05/1.058, allocations: 11.44 kB / 1.024 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of SimCode: time 5.11e-07/1.058, allocations: 0 / 1.024 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of Templates: time 0.001956/1.06, allocations: 0.493 MB / 1.024 GB, free: 14.81 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches