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/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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001374/0.001374, allocations: 110.9 kB / 16.41 MB, free: 6.496 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.001426/0.001426, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.362/1.362, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.318/2.318, allocations: 390.3 MB / 0.6655 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001489/0.001489, allocations: 71.88 kB / 0.9516 GB, free: 7.578 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8667/0.8682, allocations: 140.4 MB / 1.089 GB, free: 5.496 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001811/0.87, allocations: 0.5813 MB / 1.089 GB, free: 5.137 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0002604/0.8703, allocations: 44.39 kB / 1.089 GB, free: 5.113 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.157e-05/0.8703, allocations: 0 / 1.089 GB, free: 5.113 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.001e-05/0.8704, allocations: 0.9062 kB / 1.089 GB, free: 5.113 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.16e-05/0.8704, allocations: 1.641 kB / 1.089 GB, free: 5.113 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002386/0.8707, allocations: 11.95 kB / 1.089 GB, free: 5.109 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.82e-05/0.8708, allocations: 4.312 kB / 1.089 GB, free: 5.109 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.253e-05/0.8708, allocations: 1.75 kB / 1.089 GB, free: 5.109 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 1.883e-05/0.8708, allocations: 1.734 kB / 1.089 GB, free: 5.109 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.502e-05/0.8709, allocations: 1.125 kB / 1.089 GB, free: 5.109 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.408e-05/0.8709, allocations: 4.906 kB / 1.089 GB, free: 5.105 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.705e-05/0.871, allocations: 25.31 kB / 1.089 GB, free: 5.094 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.774e-05/0.8711, allocations: 7.016 kB / 1.089 GB, free: 5.09 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.769e-05/0.8711, allocations: 8.891 kB / 1.089 GB, free: 5.082 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001056/0.8712, allocations: 19.91 kB / 1.089 GB, free: 5.078 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.8712, allocations: 0 / 1.089 GB, free: 5.078 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.304e-06/0.8712, allocations: 1.094 kB / 1.089 GB, free: 5.078 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.213e-06/0.8712, allocations: 0 / 1.089 GB, free: 5.078 MB / 0.8575 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.0002861/0.8715, allocations: 360.9 kB / 1.09 GB, free: 4.68 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.8716, allocations: 9.688 kB / 1.09 GB, free: 4.68 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.428e-05/0.8716, allocations: 9.844 kB / 1.09 GB, free: 4.672 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.873e-05/0.8717, allocations: 166.5 kB / 1.09 GB, free: 4.477 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.8717, allocations: 1.469 kB / 1.09 GB, free: 4.477 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.074e-05/0.8717, allocations: 1.469 kB / 1.09 GB, free: 4.477 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001294/0.8718, allocations: 55.14 kB / 1.09 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.71e-06/0.8718, allocations: 1.156 kB / 1.09 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.8719, allocations: 3.938 kB / 1.09 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.872e-05/0.8719, allocations: 11.41 kB / 1.09 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.451e-05/0.872, allocations: 23.11 kB / 1.09 GB, free: 4.43 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003003/0.8723, allocations: 273.3 kB / 1.09 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.112e-05/0.8723, allocations: 18.47 kB / 1.09 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.651e-05/0.8723, allocations: 7.594 kB / 1.09 GB, free: 4.109 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 7.314e-06/0.8723, allocations: 3.984 kB / 1.09 GB, free: 4.105 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.497e-05/0.8724, allocations: 32.3 kB / 1.09 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 1.142e-06/0.8724, allocations: 3.938 kB / 1.09 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0001604/0.8725, allocations: 72.25 kB / 1.09 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.692e-05/0.8726, allocations: 79.12 kB / 1.09 GB, free: 3.898 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.812e-05/0.8726, allocations: 114.5 kB / 1.091 GB, free: 3.793 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.027e-06/0.8727, allocations: 26.98 kB / 1.091 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.317e-05/0.8727, allocations: 102.5 kB / 1.091 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 9.238e-06/0.8727, allocations: 5.391 kB / 1.091 GB, free: 3.66 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.745e-05/0.8728, allocations: 26.66 kB / 1.091 GB, free: 3.637 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.559e-05/0.8728, allocations: 325.7 kB / 1.091 GB, free: 3.312 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.591e-05/0.8728, allocations: 9.531 kB / 1.091 GB, free: 3.312 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.742e-05/0.8729, allocations: 60.84 kB / 1.091 GB, free: 3.242 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.46e-05/0.873, allocations: 127.6 kB / 1.091 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.237e-06/0.873, allocations: 1.328 kB / 1.091 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001445/0.8731, allocations: 120 kB / 1.091 GB, free: 3.016 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.579e-05/0.8732, allocations: 33.52 kB / 1.091 GB, free: 2.984 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.8732, allocations: 2.203 kB / 1.091 GB, free: 2.984 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.8732, allocations: 3 kB / 1.091 GB, free: 2.984 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.905e-05/0.8733, allocations: 15.11 kB / 1.091 GB, free: 2.98 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.797e-06/0.8733, allocations: 3.484 kB / 1.091 GB, free: 2.98 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.135e-05/0.8734, allocations: 12 kB / 1.091 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.61e-05/0.8734, allocations: 6.469 kB / 1.091 GB, free: 2.973 MB / 0.8575 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 6.707e-05/0.8735, allocations: 147.4 kB / 1.092 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.576e-05/0.8735, allocations: 5.672 kB / 1.092 GB, free: 2.816 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.734e-05/0.8735, allocations: 10.72 kB / 1.092 GB, free: 2.805 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.8735, allocations: 0 / 1.092 GB, free: 2.805 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.8735, allocations: 0.7031 kB / 1.092 GB, free: 2.805 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.8735, allocations: 3.938 kB / 1.092 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001063/0.8736, allocations: 153.7 kB / 1.092 GB, free: 2.609 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.8736, allocations: 1.281 kB / 1.092 GB, free: 2.609 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.132e-06/0.8737, allocations: 0.5625 kB / 1.092 GB, free: 2.609 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-06/0.8737, allocations: 4 kB / 1.092 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.378e-06/0.8737, allocations: 1.812 kB / 1.092 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.8737, allocations: 5.406 kB / 1.092 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.215e-06/0.8737, allocations: 4 kB / 1.092 GB, free: 2.598 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.691e-05/0.8738, allocations: 167.9 kB / 1.092 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.094e-05/0.8738, allocations: 79.23 kB / 1.092 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.397e-05/0.8738, allocations: 1.438 kB / 1.092 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.44e-05/0.8739, allocations: 5.297 kB / 1.092 GB, free: 2.328 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.606e-05/0.8739, allocations: 6.234 kB / 1.092 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.122e-06/0.8739, allocations: 1.844 kB / 1.092 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.411e-05/0.874, allocations: 85.48 kB / 1.092 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.874, allocations: 0.75 kB / 1.092 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002437/0.8742, allocations: 17.28 kB / 1.092 GB, free: 2.242 MB / 0.8575 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.0001375/0.8744, allocations: 106.2 kB / 1.092 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000128/0.8745, allocations: 92.62 kB / 1.092 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.8745, allocations: 0 / 1.092 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 2.467e-05/0.8745, allocations: 56.17 kB / 1.092 GB, free: 2.016 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002045/0.8747, allocations: 6.797 kB / 1.092 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002223/0.875, allocations: 135.1 kB / 1.092 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002073/0.8752, allocations: 0.6776 MB / 1.093 GB, free: 17.18 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.3e-05/0.8752, allocations: 9.406 kB / 1.093 GB, free: 17.17 MB / 0.8731 GB Notification: Performance of SimCode: time 2.1e-07/0.8752, allocations: 448 / 1.093 GB, free: 17.17 MB / 0.8731 GB Notification: Performance of Templates: time 0.002433/0.8776, allocations: 0.6849 MB / 1.094 GB, free: 17.13 MB / 0.8731 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches