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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.006778/0.006778, allocations: 101.8 kB / 15.88 MB, free: 5.863 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.001631/0.001631, allocations: 195.4 kB / 16.79 MB, free: 5.805 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.365/1.365, allocations: 222.9 MB / 240.5 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.823/2.823, allocations: 461.9 MB / 0.7348 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002056/0.002056, allocations: 67.11 kB / 0.8991 GB, free: 37.1 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3421/0.3442, allocations: 157.4 MB / 1.053 GB, free: 8.262 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.002811/0.347, allocations: 0.6442 MB / 1.053 GB, free: 7.613 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0003677/0.3475, allocations: 39.88 kB / 1.053 GB, free: 7.574 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.581e-05/0.3475, allocations: 0 / 1.053 GB, free: 7.574 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.309e-05/0.3476, allocations: 0 / 1.053 GB, free: 7.574 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.634e-05/0.3477, allocations: 7.938 kB / 1.053 GB, free: 7.566 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002761/0.348, allocations: 7.984 kB / 1.053 GB, free: 7.559 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.64e-05/0.348, allocations: 11.98 kB / 1.053 GB, free: 7.547 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.576e-05/0.3481, allocations: 0 / 1.053 GB, free: 7.547 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.532e-05/0.3481, allocations: 4 kB / 1.053 GB, free: 7.543 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.733e-05/0.3482, allocations: 4 kB / 1.053 GB, free: 7.539 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.646e-05/0.3482, allocations: 0 / 1.053 GB, free: 7.539 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001253/0.3483, allocations: 15.98 kB / 1.053 GB, free: 7.523 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.19e-05/0.3484, allocations: 7.938 kB / 1.053 GB, free: 7.516 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.129e-05/0.3484, allocations: 7.938 kB / 1.053 GB, free: 7.508 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001143/0.3486, allocations: 19.97 kB / 1.054 GB, free: 7.488 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.3486, allocations: 0 / 1.054 GB, free: 7.488 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.525e-06/0.3486, allocations: 0 / 1.054 GB, free: 7.488 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.3486, allocations: 4 kB / 1.054 GB, free: 7.484 MB / 0.8106 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.0004865/0.3491, allocations: 354.8 kB / 1.054 GB, free: 7.082 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.119e-05/0.3491, allocations: 8.031 kB / 1.054 GB, free: 7.074 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.957e-05/0.3492, allocations: 4.922 kB / 1.054 GB, free: 7.07 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001249/0.3493, allocations: 164.6 kB / 1.054 GB, free: 6.871 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.421e-05/0.3494, allocations: 12.31 kB / 1.054 GB, free: 6.859 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.499e-05/0.3494, allocations: 384 / 1.054 GB, free: 6.859 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002004/0.3496, allocations: 58.23 kB / 1.054 GB, free: 6.797 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.3496, allocations: 192 / 1.054 GB, free: 6.797 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.386e-05/0.3496, allocations: 7.938 kB / 1.054 GB, free: 6.789 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.839e-05/0.3497, allocations: 4 kB / 1.054 GB, free: 6.785 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.005e-05/0.3498, allocations: 23.98 kB / 1.054 GB, free: 6.762 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004513/0.3502, allocations: 264.8 kB / 1.054 GB, free: 6.453 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.295e-05/0.3503, allocations: 26.52 kB / 1.054 GB, free: 6.418 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.139e-05/0.3503, allocations: 8.859 kB / 1.054 GB, free: 6.406 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 8.536e-06/0.3503, allocations: 0 / 1.054 GB, free: 6.406 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.706e-05/0.3504, allocations: 42.53 kB / 1.054 GB, free: 6.355 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.3504, allocations: 3.938 kB / 1.054 GB, free: 6.352 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0002051/0.3506, allocations: 63.47 kB / 1.055 GB, free: 6.277 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.586e-05/0.3506, allocations: 77.11 kB / 1.055 GB, free: 6.184 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.563e-05/0.3507, allocations: 125.7 kB / 1.055 GB, free: 6.051 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.47e-05/0.3507, allocations: 29.7 kB / 1.055 GB, free: 6.016 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.207e-05/0.3508, allocations: 103.9 kB / 1.055 GB, free: 5.91 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 9.017e-06/0.3508, allocations: 8.125 kB / 1.055 GB, free: 5.902 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.482e-05/0.3509, allocations: 21.7 kB / 1.055 GB, free: 5.875 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.653e-05/0.351, allocations: 318.8 kB / 1.055 GB, free: 5.555 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.764e-05/0.351, allocations: 15.98 kB / 1.055 GB, free: 5.539 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.854e-05/0.3511, allocations: 50.88 kB / 1.055 GB, free: 5.465 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000116/0.3512, allocations: 138.1 kB / 1.055 GB, free: 5.293 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.3512, allocations: 0 / 1.055 GB, free: 5.293 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001701/0.3514, allocations: 127.1 kB / 1.055 GB, free: 5.156 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.773e-05/0.3514, allocations: 33.7 kB / 1.056 GB, free: 5.117 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.3514, allocations: 0 / 1.056 GB, free: 5.117 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.3515, allocations: 4 kB / 1.056 GB, free: 5.113 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.621e-05/0.3515, allocations: 8 kB / 1.056 GB, free: 5.105 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.3516, allocations: 4.25 kB / 1.056 GB, free: 5.102 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.353e-05/0.3516, allocations: 8 kB / 1.056 GB, free: 5.094 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.093e-05/0.3517, allocations: 11.98 kB / 1.056 GB, free: 5.082 MB / 0.8106 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.0001023/0.3518, allocations: 155.4 kB / 1.056 GB, free: 4.914 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.74e-05/0.3518, allocations: 3.906 kB / 1.056 GB, free: 4.91 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.345e-05/0.3518, allocations: 7.531 kB / 1.056 GB, free: 4.902 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.3518, allocations: 0 / 1.056 GB, free: 4.902 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.3518, allocations: 0 / 1.056 GB, free: 4.902 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.3518, allocations: 3.984 kB / 1.056 GB, free: 4.898 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001528/0.352, allocations: 153.6 kB / 1.056 GB, free: 4.699 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.352, allocations: 4 kB / 1.056 GB, free: 4.695 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.395e-06/0.352, allocations: 3.984 kB / 1.056 GB, free: 4.691 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.352, allocations: 0 / 1.056 GB, free: 4.691 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/0.352, allocations: 4 kB / 1.056 GB, free: 4.688 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.352, allocations: 0 / 1.056 GB, free: 4.688 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.352, allocations: 0 / 1.056 GB, free: 4.688 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001266/0.3522, allocations: 165.2 kB / 1.056 GB, free: 4.504 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.905e-05/0.3522, allocations: 81.14 kB / 1.056 GB, free: 4.406 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.344e-05/0.3523, allocations: 0 / 1.056 GB, free: 4.406 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.747e-05/0.3523, allocations: 4 kB / 1.056 GB, free: 4.402 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.666e-05/0.3523, allocations: 3.938 kB / 1.056 GB, free: 4.398 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.765e-06/0.3524, allocations: 4 kB / 1.056 GB, free: 4.395 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.93e-05/0.3524, allocations: 87.27 kB / 1.056 GB, free: 4.309 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.3524, allocations: 0 / 1.056 GB, free: 4.309 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000254/0.3527, allocations: 19.88 kB / 1.056 GB, free: 4.289 MB / 0.8106 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.0001704/0.3529, allocations: 107.2 kB / 1.056 GB, free: 4.176 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001388/0.353, allocations: 83.33 kB / 1.056 GB, free: 4.082 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.353, allocations: 0 / 1.056 GB, free: 4.082 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.799e-05/0.3531, allocations: 67.33 kB / 1.056 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00021/0.3533, allocations: 0 / 1.056 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002613/0.3535, allocations: 144.8 kB / 1.057 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002579/0.3538, allocations: 0.6848 MB / 1.057 GB, free: 3.117 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.824e-05/0.3538, allocations: 7.438 kB / 1.057 GB, free: 3.109 MB / 0.8106 GB Notification: Performance of SimCode: time 3.5e-07/0.3538, allocations: 3.938 kB / 1.057 GB, free: 3.105 MB / 0.8106 GB Notification: Performance of Templates: time 0.002381/0.3562, allocations: 0.671 MB / 1.058 GB, free: 2.438 MB / 0.8106 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