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.001955/0.001955, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002085/0.002085, allocations: 195.6 kB / 16.14 MB, free: 6.633 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.521/1.521, allocations: 222.9 MB / 239.8 MB, free: 4.613 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.796/2.796, allocations: 437 MB / 0.7099 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002022/0.002022, allocations: 71.88 kB / 0.8686 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5985/0.6005, allocations: 151.6 MB / 1.017 GB, free: 2.777 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001939/0.6025, allocations: 0.6449 MB / 1.017 GB, free: 2.129 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0002866/0.6028, allocations: 43.88 kB / 1.017 GB, free: 2.086 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.971e-05/0.6029, allocations: 0 / 1.017 GB, free: 2.086 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.156e-05/0.6029, allocations: 3.938 kB / 1.017 GB, free: 2.082 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.8e-05/0.603, allocations: 4 kB / 1.017 GB, free: 2.078 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001806/0.6031, allocations: 7.984 kB / 1.017 GB, free: 2.07 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.59e-05/0.6032, allocations: 4 kB / 1.017 GB, free: 2.066 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.157e-05/0.6032, allocations: 8 kB / 1.017 GB, free: 2.059 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.085e-05/0.6033, allocations: 3.984 kB / 1.017 GB, free: 2.055 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 2.119e-05/0.6033, allocations: 0 / 1.017 GB, free: 2.055 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.274e-05/0.6033, allocations: 3.938 kB / 1.017 GB, free: 2.051 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 8.357e-05/0.6034, allocations: 19.92 kB / 1.017 GB, free: 2.031 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.84e-05/0.6034, allocations: 7.984 kB / 1.017 GB, free: 2.023 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.891e-05/0.6035, allocations: 11.94 kB / 1.017 GB, free: 2.012 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.995e-05/0.6036, allocations: 19.92 kB / 1.017 GB, free: 1.992 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.6036, allocations: 4 kB / 1.017 GB, free: 1.988 MB / 0.7637 GB Notification: Performance of FrontEnd: time 8.31e-07/0.6036, allocations: 0 / 1.017 GB, free: 1.988 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.817e-06/0.6036, allocations: 0 / 1.017 GB, free: 1.988 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.0003862/0.604, allocations: 353.2 kB / 1.018 GB, free: 1.586 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.604, allocations: 8.031 kB / 1.018 GB, free: 1.578 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.266e-05/0.6041, allocations: 4.938 kB / 1.018 GB, free: 1.574 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001162/0.6042, allocations: 166.3 kB / 1.018 GB, free: 1.375 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.6042, allocations: 384 / 1.018 GB, free: 1.375 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.091e-05/0.6042, allocations: 4.375 kB / 1.018 GB, free: 1.371 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001387/0.6044, allocations: 62.23 kB / 1.018 GB, free: 1.305 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.6044, allocations: 192 / 1.018 GB, free: 1.305 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.6044, allocations: 7.875 kB / 1.018 GB, free: 1.297 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.706e-05/0.6044, allocations: 11.98 kB / 1.018 GB, free: 1.285 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.645e-05/0.6045, allocations: 23.98 kB / 1.018 GB, free: 1.262 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003739/0.6049, allocations: 264.8 kB / 1.018 GB, free: 0.9531 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 4.73e-05/0.6049, allocations: 14.58 kB / 1.018 GB, free: 0.9297 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.238e-05/0.605, allocations: 12.92 kB / 1.018 GB, free: 0.9141 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 1.025e-05/0.605, allocations: 0 / 1.018 GB, free: 0.9141 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.413e-05/0.605, allocations: 46.44 kB / 1.018 GB, free: 0.8594 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.605, allocations: 0 / 1.018 GB, free: 0.8594 MB / 0.7637 GB Notification: Performance of matching and sorting (n=1): time 0.0001797/0.6052, allocations: 67.39 kB / 1.018 GB, free: 0.7812 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.786e-05/0.6053, allocations: 77.11 kB / 1.018 GB, free: 0.6875 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/0.6054, allocations: 121.7 kB / 1.019 GB, free: 0.5586 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 1.716e-05/0.6054, allocations: 25.7 kB / 1.019 GB, free: 0.5273 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 7.063e-05/0.6055, allocations: 99.84 kB / 1.019 GB, free: 436 kB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 1.079e-05/0.6055, allocations: 7.938 kB / 1.019 GB, free: 428 kB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.365e-05/0.6055, allocations: 29.83 kB / 1.019 GB, free: 392 kB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.6057, allocations: 314.8 kB / 1.019 GB, free: 68 kB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.335e-05/0.6057, allocations: 8 kB / 1.019 GB, free: 60 kB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.016e-05/0.6058, allocations: 63.16 kB / 1.019 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001237/0.6059, allocations: 126.2 kB / 1.019 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.217e-06/0.606, allocations: 8 kB / 1.019 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001603/0.6061, allocations: 123.1 kB / 1.019 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.847e-05/0.6062, allocations: 35.56 kB / 1.019 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.6062, allocations: 4.156 kB / 1.019 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.6062, allocations: 0 / 1.019 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.291e-05/0.6063, allocations: 15.94 kB / 1.019 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/0.6063, allocations: 11.92 kB / 1.019 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.934e-05/0.6064, allocations: 8.25 kB / 1.019 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.709e-05/0.6064, allocations: 4 kB / 1.019 GB, free: 15.59 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.0001103/0.6065, allocations: 148.3 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.898e-05/0.6065, allocations: 7.906 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.296e-05/0.6066, allocations: 3.531 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.6066, allocations: 0 / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.6066, allocations: 4 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.6066, allocations: 0 / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001674/0.6068, allocations: 161.7 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.6068, allocations: 4 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.406e-06/0.6068, allocations: 0 / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.6068, allocations: 3.938 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.6068, allocations: 3.984 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.6068, allocations: 0 / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.6068, allocations: 0 / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001401/0.607, allocations: 165.2 kB / 1.02 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.482e-05/0.607, allocations: 85.03 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.352e-05/0.607, allocations: 4.031 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.463e-05/0.6071, allocations: 0 / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.72e-05/0.6071, allocations: 4 kB / 1.02 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.609e-06/0.6071, allocations: 0 / 1.02 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.793e-05/0.6072, allocations: 91.27 kB / 1.02 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6072, allocations: 0 / 1.02 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002454/0.6074, allocations: 11.94 kB / 1.02 GB, free: 14.8 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.0001602/0.6076, allocations: 103.2 kB / 1.02 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001503/0.6078, allocations: 95.27 kB / 1.02 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.6078, allocations: 0 / 1.02 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.049e-05/0.6078, allocations: 59.39 kB / 1.02 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002681/0.6081, allocations: 4 kB / 1.02 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002246/0.6083, allocations: 107.2 kB / 1.02 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002919/0.6086, allocations: 0.677 MB / 1.021 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.894e-05/0.6087, allocations: 15.98 kB / 1.021 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.245e-05/0.6088, allocations: 7.438 kB / 1.021 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of SimCode: time 3.21e-07/0.6088, allocations: 0 / 1.021 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of Templates: time 0.002958/0.6117, allocations: 0.5066 MB / 1.022 GB, free: 13.15 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