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.001233/0.001232, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.001359/0.001359, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.353/1.353, allocations: 222.9 MB / 240.9 MB, free: 15.28 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.516/2.516, allocations: 390.3 MB / 0.6653 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001391, allocations: 65.75 kB / 0.8132 GB, free: 33.09 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3418/0.3432, allocations: 140.4 MB / 0.9503 GB, free: 8.863 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.00237/0.3456, allocations: 0.5824 MB / 0.9508 GB, free: 8.27 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0002868/0.3459, allocations: 35.88 kB / 0.9509 GB, free: 8.234 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.797e-05/0.346, allocations: 0 / 0.9509 GB, free: 8.234 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.03e-05/0.346, allocations: 8 kB / 0.9509 GB, free: 8.227 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.061e-05/0.3461, allocations: 0 / 0.9509 GB, free: 8.227 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002554/0.3464, allocations: 15.92 kB / 0.9509 GB, free: 8.211 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 9.088e-05/0.3465, allocations: 4 kB / 0.9509 GB, free: 8.207 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.251e-05/0.3465, allocations: 0 / 0.9509 GB, free: 8.207 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 3.939e-05/0.3466, allocations: 7.938 kB / 0.9509 GB, free: 8.199 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 2.548e-05/0.3466, allocations: 0 / 0.9509 GB, free: 8.199 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.399e-05/0.3466, allocations: 0 / 0.9509 GB, free: 8.199 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001099/0.3467, allocations: 23.97 kB / 0.9509 GB, free: 8.176 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.809e-05/0.3468, allocations: 7.984 kB / 0.9509 GB, free: 8.168 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.205e-05/0.3468, allocations: 7.938 kB / 0.951 GB, free: 8.16 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001123/0.3469, allocations: 19.92 kB / 0.951 GB, free: 8.141 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.347, allocations: 0 / 0.951 GB, free: 8.141 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.804e-06/0.347, allocations: 4 kB / 0.951 GB, free: 8.137 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.98e-06/0.347, allocations: 0 / 0.951 GB, free: 8.137 MB / 0.7325 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.0003986/0.3474, allocations: 357.2 kB / 0.9513 GB, free: 7.73 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.3474, allocations: 8.031 kB / 0.9513 GB, free: 7.723 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.764e-05/0.3475, allocations: 0.9375 kB / 0.9513 GB, free: 7.723 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001133/0.3476, allocations: 176.5 kB / 0.9515 GB, free: 7.512 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.3476, allocations: 4.375 kB / 0.9515 GB, free: 7.508 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.249e-05/0.3476, allocations: 384 / 0.9515 GB, free: 7.508 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001585/0.3478, allocations: 62.22 kB / 0.9516 GB, free: 7.441 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.3478, allocations: 192 / 0.9516 GB, free: 7.441 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.3478, allocations: 3.938 kB / 0.9516 GB, free: 7.438 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.307e-05/0.3479, allocations: 12 kB / 0.9516 GB, free: 7.426 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.518e-05/0.3479, allocations: 23.98 kB / 0.9516 GB, free: 7.402 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003856/0.3483, allocations: 268.7 kB / 0.9519 GB, free: 7.09 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 4.868e-05/0.3484, allocations: 26.52 kB / 0.9519 GB, free: 7.055 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.869e-05/0.3484, allocations: 4.859 kB / 0.9519 GB, free: 7.047 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 6.653e-06/0.3484, allocations: 0 / 0.9519 GB, free: 7.047 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.334e-05/0.3484, allocations: 34.62 kB / 0.9519 GB, free: 7.004 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=1): time 1.904e-06/0.3485, allocations: 0 / 0.9519 GB, free: 7.004 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1): time 0.0001853/0.3486, allocations: 71.33 kB / 0.952 GB, free: 6.922 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.283e-05/0.3487, allocations: 77.11 kB / 0.9521 GB, free: 6.828 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/0.3488, allocations: 118 kB / 0.9522 GB, free: 6.703 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.427e-05/0.3488, allocations: 25.7 kB / 0.9522 GB, free: 6.672 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.185e-05/0.3489, allocations: 107.7 kB / 0.9523 GB, free: 6.562 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 8.697e-06/0.3489, allocations: 4 kB / 0.9523 GB, free: 6.559 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.312e-05/0.349, allocations: 21.72 kB / 0.9523 GB, free: 6.531 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001216/0.3491, allocations: 326.7 kB / 0.9526 GB, free: 6.203 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.801e-05/0.3491, allocations: 8 kB / 0.9526 GB, free: 6.195 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.91e-05/0.3492, allocations: 59.17 kB / 0.9527 GB, free: 6.113 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001251/0.3493, allocations: 134.1 kB / 0.9528 GB, free: 5.945 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3494, allocations: 0 / 0.9528 GB, free: 5.945 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001638/0.3495, allocations: 119.1 kB / 0.9529 GB, free: 5.816 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.25e-05/0.3496, allocations: 33.95 kB / 0.953 GB, free: 5.777 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.3496, allocations: 4.156 kB / 0.953 GB, free: 5.773 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.3496, allocations: 4 kB / 0.953 GB, free: 5.77 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.529e-05/0.3497, allocations: 15.98 kB / 0.953 GB, free: 5.754 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/0.3497, allocations: 3.984 kB / 0.953 GB, free: 5.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.586e-05/0.3498, allocations: 8 kB / 0.953 GB, free: 5.742 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.768e-05/0.3498, allocations: 8 kB / 0.953 GB, free: 5.734 MB / 0.7325 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.0001148/0.3499, allocations: 153.3 kB / 0.9532 GB, free: 5.57 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.72e-05/0.35, allocations: 3.906 kB / 0.9532 GB, free: 5.566 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.648e-05/0.35, allocations: 15.53 kB / 0.9532 GB, free: 5.547 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.35, allocations: 0 / 0.9532 GB, free: 5.547 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.35, allocations: 0 / 0.9532 GB, free: 5.547 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.35, allocations: 3.984 kB / 0.9532 GB, free: 5.543 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001567/0.3502, allocations: 153.7 kB / 0.9533 GB, free: 5.344 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.3502, allocations: 0 / 0.9533 GB, free: 5.344 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.72e-07/0.3502, allocations: 0 / 0.9533 GB, free: 5.344 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.3502, allocations: 4 kB / 0.9533 GB, free: 5.34 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-06/0.3502, allocations: 0 / 0.9533 GB, free: 5.34 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.3502, allocations: 0 / 0.9533 GB, free: 5.34 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.3502, allocations: 0 / 0.9533 GB, free: 5.34 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001445/0.3504, allocations: 173.1 kB / 0.9535 GB, free: 5.148 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.647e-05/0.3504, allocations: 77.11 kB / 0.9536 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.692e-05/0.3504, allocations: 4 kB / 0.9536 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.076e-05/0.3505, allocations: 7.922 kB / 0.9536 GB, free: 5.043 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.997e-05/0.3505, allocations: 8 kB / 0.9536 GB, free: 5.035 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-06/0.3506, allocations: 4 kB / 0.9536 GB, free: 5.031 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.736e-05/0.3506, allocations: 91.25 kB / 0.9537 GB, free: 4.941 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3506, allocations: 4.031 kB / 0.9537 GB, free: 4.938 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000245/0.3509, allocations: 15.94 kB / 0.9537 GB, free: 4.922 MB / 0.7325 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.00019/0.3511, allocations: 107.2 kB / 0.9538 GB, free: 4.809 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001446/0.3512, allocations: 83.33 kB / 0.9539 GB, free: 4.715 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.3512, allocations: 0 / 0.9539 GB, free: 4.715 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 4.493e-05/0.3513, allocations: 55.91 kB / 0.9539 GB, free: 4.648 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002106/0.3515, allocations: 8.062 kB / 0.9539 GB, free: 4.641 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002867/0.3518, allocations: 134.6 kB / 0.9541 GB, free: 4.477 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002919/0.3521, allocations: 0.6844 MB / 0.9547 GB, free: 3.766 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.58e-05/0.3521, allocations: 7.438 kB / 0.9547 GB, free: 3.758 MB / 0.7325 GB Notification: Performance of SimCode: time 3.41e-07/0.3521, allocations: 0 / 0.9547 GB, free: 3.758 MB / 0.7325 GB Notification: Performance of Templates: time 0.002441/0.3546, allocations: 0.672 MB / 0.9554 GB, free: 3.09 MB / 0.7325 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