Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_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_9_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.415/2.415, allocations: 387.1 MB / 399.7 MB, free: 9.52 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00113/0.00113, allocations: 180.4 kB / 492.3 MB, free: 0.6445 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.482/1.482, allocations: 221.3 MB / 0.7871 GB, free: 12.91 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008494/0.0008494, allocations: 91.84 kB / 0.9267 GB, free: 13.98 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.227e-05/3.23e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2816/0.2817, allocations: 142.3 MB / 1.212 GB, free: 38.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9676/1.249, allocations: 148.4 MB / 1.357 GB, free: 18.82 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000243/1.25, allocations: 78.33 kB / 1.357 GB, free: 18.82 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.001876/1.252, allocations: 0.5622 MB / 1.358 GB, free: 34.48 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.443e-06/1.252, allocations: 0 / 1.358 GB, free: 34.48 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.74e-06/1.252, allocations: 0 / 1.358 GB, free: 34.48 MB / 0.8386 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.0002076/1.252, allocations: 343.8 kB / 1.358 GB, free: 34.11 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/1.252, allocations: 11.69 kB / 1.358 GB, free: 34.11 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.151e-05/1.252, allocations: 1.938 kB / 1.358 GB, free: 34.11 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.077e-05/1.252, allocations: 170.8 kB / 1.358 GB, free: 33.9 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/1.252, allocations: 5.203 kB / 1.358 GB, free: 33.9 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.016e-05/1.252, allocations: 0 / 1.358 GB, free: 33.9 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001221/1.252, allocations: 53 kB / 1.359 GB, free: 33.87 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.142e-06/1.252, allocations: 0 / 1.359 GB, free: 33.87 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.919e-06/1.252, allocations: 0 / 1.359 GB, free: 33.87 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.132e-05/1.252, allocations: 9.062 kB / 1.359 GB, free: 33.87 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.318e-05/1.252, allocations: 15.92 kB / 1.359 GB, free: 33.87 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002318/1.252, allocations: 272.8 kB / 1.359 GB, free: 33.59 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 3.473e-05/1.252, allocations: 18.52 kB / 1.359 GB, free: 33.57 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.462e-05/1.252, allocations: 10.72 kB / 1.359 GB, free: 33.56 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.889e-06/1.252, allocations: 0 / 1.359 GB, free: 33.56 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.489e-05/1.253, allocations: 33.5 kB / 1.359 GB, free: 33.52 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 8.51e-07/1.253, allocations: 0 / 1.359 GB, free: 33.52 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 0.0001593/1.253, allocations: 72.22 kB / 1.359 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.09e-05/1.253, allocations: 81.08 kB / 1.359 GB, free: 33.35 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.312e-05/1.253, allocations: 111 kB / 1.359 GB, free: 33.26 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.877e-06/1.253, allocations: 29.64 kB / 1.359 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.272e-05/1.253, allocations: 102.5 kB / 1.359 GB, free: 33.13 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.001e-06/1.253, allocations: 4.516 kB / 1.359 GB, free: 33.13 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.176e-06/1.253, allocations: 0 / 1.359 GB, free: 33.13 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 4.813e-05/1.253, allocations: 316.4 kB / 1.36 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.066e-05/1.253, allocations: 16.31 kB / 1.36 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.536e-05/1.253, allocations: 55.09 kB / 1.36 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.739e-05/1.253, allocations: 45.91 kB / 1.36 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/1.253, allocations: 0 / 1.36 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001094/1.253, allocations: 119.8 kB / 1.36 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/1.253, allocations: 34.77 kB / 1.36 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/1.253, allocations: 4.25 kB / 1.36 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/1.253, allocations: 5.375 kB / 1.36 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.293e-05/1.253, allocations: 16.64 kB / 1.36 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/1.253, allocations: 3.953 kB / 1.36 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.607e-05/1.253, allocations: 14.31 kB / 1.36 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.405e-05/1.253, allocations: 7.031 kB / 1.36 GB, free: 32.59 MB / 0.8386 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 5.209e-05/1.253, allocations: 130.7 kB / 1.36 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.254e-05/1.253, allocations: 5.266 kB / 1.36 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.568e-05/1.253, allocations: 14.53 kB / 1.36 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.72e-07/1.253, allocations: 4 kB / 1.36 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/1.253, allocations: 0 / 1.36 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/1.253, allocations: 9.062 kB / 1.36 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001038/1.254, allocations: 148.5 kB / 1.36 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/1.254, allocations: 2.062 kB / 1.36 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.02e-07/1.254, allocations: 1.359 kB / 1.36 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-06/1.254, allocations: 0 / 1.36 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/1.254, allocations: 6.594 kB / 1.36 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/1.254, allocations: 7.875 kB / 1.36 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/1.254, allocations: 0 / 1.36 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.567e-05/1.254, allocations: 166.5 kB / 1.36 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.998e-05/1.254, allocations: 78.23 kB / 1.36 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.338e-05/1.254, allocations: 3.531 kB / 1.36 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.394e-05/1.254, allocations: 1.219 kB / 1.36 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.694e-05/1.254, allocations: 0 / 1.36 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.681e-06/1.254, allocations: 3.844 kB / 1.36 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.19e-05/1.254, allocations: 90.14 kB / 1.36 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.2e-07/1.254, allocations: 4.031 kB / 1.36 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002233/1.254, allocations: 11.69 kB / 1.361 GB, free: 31.89 MB / 0.8386 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.0001495/1.254, allocations: 109.8 kB / 1.361 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000103/1.254, allocations: 84.55 kB / 1.361 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/1.254, allocations: 0 / 1.361 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.057e-05/1.254, allocations: 58.78 kB / 1.361 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001208/1.255, allocations: 5.672 kB / 1.361 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001601/1.255, allocations: 71.72 kB / 1.361 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002679/1.255, allocations: 0.678 MB / 1.361 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.822e-05/1.255, allocations: 12.14 kB / 1.361 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.847e-06/1.255, allocations: 7.438 kB / 1.361 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of SimCode: time 3.81e-07/1.255, allocations: 3.938 kB / 1.361 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of Templates: time 0.002342/1.257, allocations: 491.8 kB / 1.362 GB, free: 30.83 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration.csv","../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches