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.001474/0.001474, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00176/0.00176, allocations: 195.3 kB / 16.14 MB, free: 6.711 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.404/1.404, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.799/2.799, allocations: 461.9 MB / 0.7342 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 63.91 kB / 0.8984 GB, free: 37.29 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.314/0.3153, allocations: 157.4 MB / 1.052 GB, free: 8.875 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.002684/0.3181, allocations: 0.6503 MB / 1.053 GB, free: 8.219 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0004206/0.3185, allocations: 35.94 kB / 1.053 GB, free: 8.184 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.813e-05/0.3186, allocations: 3.938 kB / 1.053 GB, free: 8.18 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.891e-05/0.3186, allocations: 0 / 1.053 GB, free: 8.18 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.268e-05/0.3187, allocations: 4 kB / 1.053 GB, free: 8.176 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002887/0.319, allocations: 7.984 kB / 1.053 GB, free: 8.168 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.793e-05/0.3191, allocations: 7.984 kB / 1.053 GB, free: 8.16 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 6.529e-05/0.3191, allocations: 0 / 1.053 GB, free: 8.16 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.232e-05/0.3192, allocations: 4 kB / 1.053 GB, free: 8.156 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.643e-05/0.3192, allocations: 4 kB / 1.053 GB, free: 8.152 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.05e-05/0.3193, allocations: 0 / 1.053 GB, free: 8.152 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001519/0.3194, allocations: 23.97 kB / 1.053 GB, free: 8.129 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.878e-05/0.3195, allocations: 11.88 kB / 1.053 GB, free: 8.117 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.945e-05/0.3195, allocations: 7.938 kB / 1.053 GB, free: 8.109 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001561/0.3197, allocations: 23.97 kB / 1.053 GB, free: 8.086 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 1.074e-05/0.3197, allocations: 0 / 1.053 GB, free: 8.086 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.893e-06/0.3197, allocations: 0 / 1.053 GB, free: 8.086 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 9.748e-06/0.3197, allocations: 0 / 1.053 GB, free: 8.086 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.0005937/0.3203, allocations: 349.2 kB / 1.053 GB, free: 7.688 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.142e-05/0.3204, allocations: 12.03 kB / 1.053 GB, free: 7.676 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.738e-05/0.3205, allocations: 8.938 kB / 1.053 GB, free: 7.668 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001653/0.3206, allocations: 172.5 kB / 1.053 GB, free: 7.461 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.976e-05/0.3207, allocations: 4.359 kB / 1.053 GB, free: 7.457 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.736e-05/0.3207, allocations: 384 / 1.053 GB, free: 7.457 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001895/0.3209, allocations: 54.25 kB / 1.053 GB, free: 7.398 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.3209, allocations: 4.172 kB / 1.053 GB, free: 7.395 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/0.3209, allocations: 7.938 kB / 1.053 GB, free: 7.387 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.094e-05/0.321, allocations: 4 kB / 1.053 GB, free: 7.383 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.31e-05/0.321, allocations: 23.98 kB / 1.053 GB, free: 7.359 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004078/0.3214, allocations: 264.8 kB / 1.054 GB, free: 7.051 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.148e-05/0.3215, allocations: 26.52 kB / 1.054 GB, free: 7.016 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.084e-05/0.3215, allocations: 4.859 kB / 1.054 GB, free: 7.008 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 7.484e-06/0.3216, allocations: 4.062 kB / 1.054 GB, free: 7.004 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.762e-05/0.3216, allocations: 30.56 kB / 1.054 GB, free: 6.965 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 1.563e-06/0.3216, allocations: 4 kB / 1.054 GB, free: 6.961 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0002036/0.3218, allocations: 67.33 kB / 1.054 GB, free: 6.883 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.703e-05/0.3219, allocations: 85.11 kB / 1.054 GB, free: 6.781 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001026/0.322, allocations: 113.8 kB / 1.054 GB, free: 6.66 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.454e-05/0.322, allocations: 25.7 kB / 1.054 GB, free: 6.629 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.433e-05/0.3221, allocations: 111.8 kB / 1.054 GB, free: 6.516 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 8.677e-06/0.3221, allocations: 0 / 1.054 GB, free: 6.516 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.496e-05/0.3222, allocations: 25.72 kB / 1.054 GB, free: 6.484 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.3223, allocations: 322.9 kB / 1.055 GB, free: 6.16 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.595e-05/0.3223, allocations: 12 kB / 1.055 GB, free: 6.148 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.738e-05/0.3224, allocations: 58.86 kB / 1.055 GB, free: 6.066 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001158/0.3225, allocations: 130.1 kB / 1.055 GB, free: 5.902 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3225, allocations: 0 / 1.055 GB, free: 5.902 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001472/0.3227, allocations: 127.1 kB / 1.055 GB, free: 5.766 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.209e-05/0.3227, allocations: 30.95 kB / 1.055 GB, free: 5.73 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.353e-06/0.3228, allocations: 4 kB / 1.055 GB, free: 5.727 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.3228, allocations: 3.984 kB / 1.055 GB, free: 5.723 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.197e-05/0.3228, allocations: 12 kB / 1.055 GB, free: 5.711 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.211e-06/0.3229, allocations: 0 / 1.055 GB, free: 5.711 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.805e-05/0.3229, allocations: 4 kB / 1.055 GB, free: 5.707 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.673e-05/0.323, allocations: 16.19 kB / 1.055 GB, free: 5.691 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.0001009/0.3231, allocations: 156.9 kB / 1.055 GB, free: 5.523 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.001e-05/0.3231, allocations: 7.906 kB / 1.055 GB, free: 5.516 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.266e-05/0.3231, allocations: 7.469 kB / 1.055 GB, free: 5.508 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-06/0.3231, allocations: 0 / 1.055 GB, free: 5.508 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.3231, allocations: 0 / 1.055 GB, free: 5.508 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.3231, allocations: 0 / 1.055 GB, free: 5.508 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001621/0.3233, allocations: 157.6 kB / 1.055 GB, free: 5.305 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.3233, allocations: 4 kB / 1.055 GB, free: 5.301 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.3233, allocations: 0 / 1.055 GB, free: 5.301 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.3233, allocations: 4 kB / 1.055 GB, free: 5.297 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.773e-06/0.3233, allocations: 0 / 1.055 GB, free: 5.297 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.3234, allocations: 4 kB / 1.055 GB, free: 5.293 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3234, allocations: 0 / 1.055 GB, free: 5.293 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001334/0.3235, allocations: 169.1 kB / 1.055 GB, free: 5.105 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.112e-05/0.3235, allocations: 81.11 kB / 1.055 GB, free: 5.008 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.606e-05/0.3236, allocations: 3.984 kB / 1.055 GB, free: 5.004 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.695e-05/0.3236, allocations: 0 / 1.055 GB, free: 5.004 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.715e-05/0.3237, allocations: 4.031 kB / 1.055 GB, free: 5 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-06/0.3237, allocations: 4 kB / 1.055 GB, free: 4.996 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.189e-05/0.3237, allocations: 95.72 kB / 1.056 GB, free: 4.902 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3237, allocations: 0 / 1.056 GB, free: 4.902 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002678/0.324, allocations: 11.94 kB / 1.056 GB, free: 4.891 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.0002053/0.3242, allocations: 103.2 kB / 1.056 GB, free: 4.781 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001628/0.3244, allocations: 91.58 kB / 1.056 GB, free: 4.68 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3244, allocations: 0 / 1.056 GB, free: 4.68 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.352e-05/0.3244, allocations: 55.41 kB / 1.056 GB, free: 4.613 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002107/0.3247, allocations: 4 kB / 1.056 GB, free: 4.609 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002769/0.3249, allocations: 130.4 kB / 1.056 GB, free: 4.453 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003051/0.3253, allocations: 0.677 MB / 1.057 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001455/0.3254, allocations: 16.3 kB / 1.057 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.415e-05/0.3254, allocations: 7.438 kB / 1.057 GB, free: 3.727 MB / 0.8106 GB Notification: Performance of SimCode: time 3.6e-07/0.3254, allocations: 0 / 1.057 GB, free: 3.727 MB / 0.8106 GB Notification: Performance of Templates: time 0.002461/0.3279, allocations: 0.4949 MB / 1.057 GB, free: 3.234 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/jenkins/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