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.008292/0.008292, allocations: 102.1 kB / 15.73 MB, free: 6.012 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.001502/0.001502, allocations: 196.6 kB / 16.67 MB, free: 5.938 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.407/1.407, allocations: 222.9 MB / 240.4 MB, free: 4.043 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.718/2.718, allocations: 461.9 MB / 0.7348 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001409, allocations: 67.89 kB / 1.054 GB, free: 7.129 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3312/0.3326, allocations: 157.4 MB / 1.208 GB, free: 9.633 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001995/0.3347, allocations: 0.5994 MB / 1.208 GB, free: 9.035 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0002486/0.335, allocations: 35.88 kB / 1.208 GB, free: 9 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.989e-05/0.335, allocations: 0 / 1.208 GB, free: 9 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.302e-05/0.3351, allocations: 0 / 1.208 GB, free: 9 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 3.694e-05/0.3351, allocations: 11.94 kB / 1.208 GB, free: 8.988 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002197/0.3353, allocations: 11.98 kB / 1.208 GB, free: 8.977 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.431e-05/0.3354, allocations: 4 kB / 1.208 GB, free: 8.973 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.562e-05/0.3355, allocations: 4 kB / 1.208 GB, free: 8.969 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.967e-05/0.3355, allocations: 0 / 1.208 GB, free: 8.969 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.32e-05/0.3355, allocations: 4 kB / 1.208 GB, free: 8.965 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.243e-05/0.3356, allocations: 0 / 1.208 GB, free: 8.965 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.838e-05/0.3357, allocations: 23.91 kB / 1.208 GB, free: 8.941 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.192e-05/0.3357, allocations: 0 / 1.208 GB, free: 8.941 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.763e-05/0.3357, allocations: 15.92 kB / 1.208 GB, free: 8.926 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 9.614e-05/0.3358, allocations: 23.92 kB / 1.208 GB, free: 8.902 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.3358, allocations: 0 / 1.208 GB, free: 8.902 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3358, allocations: 0 / 1.208 GB, free: 8.902 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.3359, allocations: 3.938 kB / 1.208 GB, free: 8.898 MB / 0.9669 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.0003528/0.3362, allocations: 353.3 kB / 1.209 GB, free: 8.496 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.3363, allocations: 8.625 kB / 1.209 GB, free: 8.488 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.271e-05/0.3363, allocations: 4.844 kB / 1.209 GB, free: 8.484 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001014/0.3364, allocations: 164.3 kB / 1.209 GB, free: 8.285 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.3364, allocations: 8.359 kB / 1.209 GB, free: 8.277 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.09e-05/0.3364, allocations: 384 / 1.209 GB, free: 8.277 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000118/0.3366, allocations: 62.25 kB / 1.209 GB, free: 8.211 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.3366, allocations: 192 / 1.209 GB, free: 8.211 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.368e-06/0.3366, allocations: 7.875 kB / 1.209 GB, free: 8.203 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.528e-05/0.3366, allocations: 8 kB / 1.209 GB, free: 8.195 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.479e-05/0.3367, allocations: 23.97 kB / 1.209 GB, free: 8.172 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003036/0.337, allocations: 260.9 kB / 1.209 GB, free: 7.867 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 4.118e-05/0.337, allocations: 18.58 kB / 1.209 GB, free: 7.84 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.489e-05/0.3371, allocations: 8.859 kB / 1.209 GB, free: 7.828 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 7.624e-06/0.3371, allocations: 4 kB / 1.209 GB, free: 7.824 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.347e-05/0.3371, allocations: 34.5 kB / 1.209 GB, free: 7.781 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 9.81e-07/0.3371, allocations: 8 kB / 1.209 GB, free: 7.773 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0001557/0.3373, allocations: 67.3 kB / 1.209 GB, free: 7.695 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.373e-05/0.3373, allocations: 77.11 kB / 1.21 GB, free: 7.602 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.75e-05/0.3374, allocations: 114 kB / 1.21 GB, free: 7.48 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.455e-05/0.3374, allocations: 33.7 kB / 1.21 GB, free: 7.441 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.021e-05/0.3375, allocations: 99.78 kB / 1.21 GB, free: 7.34 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.069e-05/0.3375, allocations: 11.91 kB / 1.21 GB, free: 7.328 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.781e-05/0.3375, allocations: 21.72 kB / 1.21 GB, free: 7.301 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001042/0.3376, allocations: 318.8 kB / 1.21 GB, free: 6.98 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.362e-05/0.3377, allocations: 8 kB / 1.21 GB, free: 6.973 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.159e-05/0.3377, allocations: 62.8 kB / 1.21 GB, free: 6.887 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.703e-05/0.3378, allocations: 130.2 kB / 1.21 GB, free: 6.723 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.3379, allocations: 0 / 1.21 GB, free: 6.723 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000145/0.338, allocations: 119.2 kB / 1.21 GB, free: 6.594 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.064e-05/0.338, allocations: 33.7 kB / 1.21 GB, free: 6.555 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.338, allocations: 256 / 1.21 GB, free: 6.555 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.3381, allocations: 11.98 kB / 1.21 GB, free: 6.543 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.676e-05/0.3381, allocations: 11.94 kB / 1.21 GB, free: 6.531 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.3382, allocations: 4 kB / 1.21 GB, free: 6.527 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.401e-05/0.3382, allocations: 7.906 kB / 1.211 GB, free: 6.52 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.676e-05/0.3382, allocations: 4 kB / 1.211 GB, free: 6.516 MB / 0.9669 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 9.714e-05/0.3383, allocations: 155.4 kB / 1.211 GB, free: 6.348 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.473e-05/0.3384, allocations: 0 / 1.211 GB, free: 6.348 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.464e-05/0.3384, allocations: 7.531 kB / 1.211 GB, free: 6.336 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.3384, allocations: 4 kB / 1.211 GB, free: 6.332 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.3384, allocations: 3.938 kB / 1.211 GB, free: 6.328 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.583e-06/0.3384, allocations: 0 / 1.211 GB, free: 6.328 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001519/0.3386, allocations: 157.6 kB / 1.211 GB, free: 6.125 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.3386, allocations: 4 kB / 1.211 GB, free: 6.121 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.37e-06/0.3386, allocations: 0 / 1.211 GB, free: 6.121 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.3386, allocations: 3.938 kB / 1.211 GB, free: 6.117 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.147e-05/0.3386, allocations: 4 kB / 1.211 GB, free: 6.113 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.3386, allocations: 0 / 1.211 GB, free: 6.113 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3386, allocations: 0 / 1.211 GB, free: 6.113 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001203/0.3388, allocations: 173.2 kB / 1.211 GB, free: 5.922 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.662e-05/0.3388, allocations: 81.02 kB / 1.211 GB, free: 5.824 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.342e-05/0.3388, allocations: 11.92 kB / 1.211 GB, free: 5.812 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.6e-05/0.3389, allocations: 0 / 1.211 GB, free: 5.812 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.495e-05/0.3389, allocations: 0 / 1.211 GB, free: 5.812 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.393e-06/0.3389, allocations: 4 kB / 1.211 GB, free: 5.809 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.062e-05/0.339, allocations: 87.27 kB / 1.211 GB, free: 5.723 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.4e-07/0.339, allocations: 4 kB / 1.211 GB, free: 5.719 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002438/0.3392, allocations: 15.97 kB / 1.211 GB, free: 5.703 MB / 0.9669 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.0001757/0.3394, allocations: 107.3 kB / 1.211 GB, free: 5.59 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001325/0.3396, allocations: 87.27 kB / 1.211 GB, free: 5.492 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.3396, allocations: 0 / 1.211 GB, free: 5.492 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 3.293e-05/0.3396, allocations: 55.41 kB / 1.211 GB, free: 5.426 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002133/0.3398, allocations: 8.562 kB / 1.211 GB, free: 5.418 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002611/0.3401, allocations: 116.8 kB / 1.212 GB, free: 5.277 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002657/0.3404, allocations: 0.6807 MB / 1.212 GB, free: 4.57 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 9.771e-05/0.3405, allocations: 7.984 kB / 1.212 GB, free: 4.562 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.65e-05/0.3405, allocations: 11.44 kB / 1.212 GB, free: 4.555 MB / 0.9669 GB Notification: Performance of SimCode: time 3.4e-07/0.3405, allocations: 0 / 1.212 GB, free: 4.555 MB / 0.9669 GB Notification: Performance of Templates: time 0.003123/0.3436, allocations: 0.5243 MB / 1.213 GB, free: 4.035 MB / 0.9669 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