Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001113/0.001119, allocations: 106.6 kB / 16.41 MB, free: 6.512 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.001132/0.001132, allocations: 187 kB / 17.34 MB, free: 5.742 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.38/1.38, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.672/2.672, allocations: 461.9 MB / 0.7355 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001414, allocations: 63.91 kB / 1.055 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8903/0.8917, allocations: 157.4 MB / 1.208 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.00179/0.8936, allocations: 0.5853 MB / 1.209 GB, free: 13.11 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0002661/0.8939, allocations: 35.88 kB / 1.209 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.205e-05/0.8939, allocations: 0 / 1.209 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.258e-05/0.8939, allocations: 0 / 1.209 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 3.991e-05/0.894, allocations: 4 kB / 1.209 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002472/0.8942, allocations: 15.92 kB / 1.209 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.311e-05/0.8943, allocations: 11.98 kB / 1.209 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.365e-05/0.8944, allocations: 4 kB / 1.209 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 2.148e-05/0.8944, allocations: 3.938 kB / 1.209 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.335e-05/0.8945, allocations: 0 / 1.209 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.247e-05/0.8945, allocations: 4 kB / 1.209 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 8.758e-05/0.8946, allocations: 19.97 kB / 1.209 GB, free: 13.01 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.476e-05/0.8946, allocations: 4 kB / 1.209 GB, free: 13 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.525e-05/0.8947, allocations: 7.938 kB / 1.209 GB, free: 13 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001068/0.8948, allocations: 23.91 kB / 1.209 GB, free: 12.97 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.8948, allocations: 0 / 1.209 GB, free: 12.97 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.064e-06/0.8948, allocations: 0 / 1.209 GB, free: 12.97 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.8948, allocations: 0 / 1.209 GB, free: 12.97 MB / 0.9356 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.0003788/0.8952, allocations: 349.3 kB / 1.209 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.8952, allocations: 12.03 kB / 1.21 GB, free: 12.56 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.02e-05/0.8953, allocations: 0.9375 kB / 1.21 GB, free: 12.56 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00016/0.8955, allocations: 168.1 kB / 1.21 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.529e-05/0.8955, allocations: 8.375 kB / 1.21 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.253e-05/0.8955, allocations: 8.344 kB / 1.21 GB, free: 12.35 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001588/0.8957, allocations: 54.25 kB / 1.21 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.8957, allocations: 192 / 1.21 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.8957, allocations: 3.938 kB / 1.21 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.678e-05/0.8957, allocations: 8 kB / 1.21 GB, free: 12.28 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.16e-05/0.8958, allocations: 23.98 kB / 1.21 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003751/0.8962, allocations: 264.8 kB / 1.21 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 4.741e-05/0.8962, allocations: 22.58 kB / 1.21 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.764e-05/0.8962, allocations: 8.859 kB / 1.21 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 6.152e-06/0.8963, allocations: 0 / 1.21 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.96e-05/0.8963, allocations: 38.5 kB / 1.21 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.8963, allocations: 0 / 1.21 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1): time 0.0002701/0.8966, allocations: 75.23 kB / 1.21 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.053e-05/0.8967, allocations: 77.11 kB / 1.21 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.831e-05/0.8968, allocations: 117.9 kB / 1.21 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.475e-05/0.8968, allocations: 25.7 kB / 1.21 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.552e-05/0.8968, allocations: 109.7 kB / 1.21 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.047e-05/0.8969, allocations: 3.938 kB / 1.21 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.196e-05/0.8969, allocations: 29.75 kB / 1.211 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001163/0.897, allocations: 326.7 kB / 1.211 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.433e-05/0.8971, allocations: 8 kB / 1.211 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.344e-05/0.8971, allocations: 58.86 kB / 1.211 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001139/0.8973, allocations: 130.1 kB / 1.211 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.8973, allocations: 4 kB / 1.211 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001867/0.8975, allocations: 123.2 kB / 1.211 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.633e-05/0.8975, allocations: 33.7 kB / 1.211 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.8975, allocations: 0 / 1.211 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.8975, allocations: 7.984 kB / 1.211 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.075e-05/0.8976, allocations: 8 kB / 1.211 GB, free: 10.6 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.8976, allocations: 4 kB / 1.211 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.005e-05/0.8977, allocations: 12.16 kB / 1.211 GB, free: 10.58 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.648e-05/0.8977, allocations: 4 kB / 1.211 GB, free: 10.58 MB / 0.9356 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.0001181/0.8978, allocations: 156.9 kB / 1.211 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.56e-05/0.8979, allocations: 0 / 1.211 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.036e-05/0.8979, allocations: 7.531 kB / 1.211 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.8979, allocations: 0 / 1.211 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.8979, allocations: 0 / 1.211 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.8979, allocations: 0 / 1.211 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001459/0.8981, allocations: 157.6 kB / 1.212 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.8981, allocations: 0 / 1.212 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.22e-07/0.8981, allocations: 4 kB / 1.212 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-06/0.8981, allocations: 0 / 1.212 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.832e-05/0.8981, allocations: 4 kB / 1.212 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.8981, allocations: 0 / 1.212 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.8981, allocations: 0 / 1.212 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001244/0.8983, allocations: 173.1 kB / 1.212 GB, free: 9.992 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.466e-05/0.8983, allocations: 81.02 kB / 1.212 GB, free: 9.895 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.25e-05/0.8983, allocations: 32 / 1.212 GB, free: 9.895 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.889e-05/0.8984, allocations: 11.98 kB / 1.212 GB, free: 9.883 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.217e-05/0.8984, allocations: 0 / 1.212 GB, free: 9.883 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.534e-06/0.8984, allocations: 4 kB / 1.212 GB, free: 9.879 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.201e-05/0.8985, allocations: 87.27 kB / 1.212 GB, free: 9.793 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.9e-07/0.8985, allocations: 3.938 kB / 1.212 GB, free: 9.789 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002575/0.8988, allocations: 15.94 kB / 1.212 GB, free: 9.773 MB / 0.9356 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.0001777/0.899, allocations: 113.3 kB / 1.212 GB, free: 9.656 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001354/0.8991, allocations: 87.33 kB / 1.212 GB, free: 9.559 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.8991, allocations: 0 / 1.212 GB, free: 9.559 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 3.871e-05/0.8992, allocations: 59.41 kB / 1.212 GB, free: 9.488 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002045/0.8994, allocations: 0 / 1.212 GB, free: 9.488 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002449/0.8996, allocations: 138.5 kB / 1.212 GB, free: 9.32 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002858/0.8999, allocations: 0.6807 MB / 1.213 GB, free: 8.613 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.246e-05/0.8999, allocations: 8 kB / 1.213 GB, free: 8.609 MB / 0.9356 GB Notification: Performance of SimCode: time 2.71e-07/0.8999, allocations: 4 kB / 1.213 GB, free: 8.605 MB / 0.9356 GB Notification: Performance of Templates: time 0.002245/0.9022, allocations: 0.675 MB / 1.214 GB, free: 7.93 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches