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.001203/0.001203, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.008643/0.008643, allocations: 170.2 kB / 16.26 MB, free: 6.613 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.36/1.36, allocations: 223.2 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.757/2.757, allocations: 462.7 MB / 0.7364 GB, free: 268 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003549/0.0003546, allocations: 15.97 kB / 0.9028 GB, free: 36.7 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3167/0.3171, allocations: 159.6 MB / 1.059 GB, free: 5.457 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.0007332/0.3179, allocations: 326.8 kB / 1.059 GB, free: 5.137 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0002826/0.3182, allocations: 43.88 kB / 1.059 GB, free: 5.094 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.748e-05/0.3182, allocations: 3.938 kB / 1.059 GB, free: 5.09 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.663e-05/0.3182, allocations: 0 / 1.059 GB, free: 5.09 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.778e-05/0.3183, allocations: 4 kB / 1.059 GB, free: 5.086 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001762/0.3185, allocations: 7.984 kB / 1.059 GB, free: 5.078 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.765e-05/0.3185, allocations: 7.938 kB / 1.059 GB, free: 5.07 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.721e-05/0.3186, allocations: 3.984 kB / 1.059 GB, free: 5.066 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.015e-05/0.3186, allocations: 4 kB / 1.059 GB, free: 5.062 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 2.475e-05/0.3186, allocations: 0 / 1.059 GB, free: 5.062 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.265e-05/0.3187, allocations: 4 kB / 1.059 GB, free: 5.059 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.213e-05/0.3188, allocations: 15.98 kB / 1.059 GB, free: 5.043 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.414e-05/0.3188, allocations: 8 kB / 1.059 GB, free: 5.035 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.912e-05/0.3188, allocations: 33.62 kB / 1.059 GB, free: 4.996 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 9.916e-05/0.319, allocations: 31.91 kB / 1.059 GB, free: 4.965 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.319, allocations: 0 / 1.059 GB, free: 4.965 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.262e-06/0.319, allocations: 0 / 1.059 GB, free: 4.965 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.717e-06/0.319, allocations: 0 / 1.059 GB, free: 4.965 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.0003423/0.3193, allocations: 345.2 kB / 1.059 GB, free: 4.57 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.3194, allocations: 16.03 kB / 1.059 GB, free: 4.555 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.207e-05/0.3194, allocations: 0.9375 kB / 1.059 GB, free: 4.555 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.613e-05/0.3195, allocations: 164.6 kB / 1.06 GB, free: 4.355 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.3195, allocations: 384 / 1.06 GB, free: 4.355 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.316e-05/0.3196, allocations: 4.375 kB / 1.06 GB, free: 4.352 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001449/0.3197, allocations: 66.19 kB / 1.06 GB, free: 4.281 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.292e-06/0.3197, allocations: 192 / 1.06 GB, free: 4.281 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.3197, allocations: 3.938 kB / 1.06 GB, free: 4.277 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.82e-05/0.3198, allocations: 7.984 kB / 1.06 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.985e-05/0.3198, allocations: 23.98 kB / 1.06 GB, free: 4.246 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003323/0.3202, allocations: 264.8 kB / 1.06 GB, free: 3.938 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 4.397e-05/0.3202, allocations: 18.56 kB / 1.06 GB, free: 3.91 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.009e-05/0.3203, allocations: 16.86 kB / 1.06 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 7.204e-06/0.3203, allocations: 3.938 kB / 1.06 GB, free: 3.887 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.308e-05/0.3203, allocations: 30.56 kB / 1.06 GB, free: 3.848 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 9.71e-07/0.3203, allocations: 0 / 1.06 GB, free: 3.848 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0001785/0.3205, allocations: 71.39 kB / 1.06 GB, free: 3.766 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.358e-05/0.3205, allocations: 77.11 kB / 1.06 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001021/0.3207, allocations: 117.8 kB / 1.06 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.564e-05/0.3207, allocations: 25.7 kB / 1.06 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.202e-05/0.3208, allocations: 107.8 kB / 1.06 GB, free: 3.406 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 9.889e-06/0.3208, allocations: 7.984 kB / 1.06 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.042e-05/0.3208, allocations: 13.72 kB / 1.06 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.3209, allocations: 318.9 kB / 1.061 GB, free: 3.059 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.554e-05/0.321, allocations: 19.92 kB / 1.061 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.732e-05/0.321, allocations: 62.86 kB / 1.061 GB, free: 2.953 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001066/0.3212, allocations: 130.1 kB / 1.061 GB, free: 2.789 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3212, allocations: 0 / 1.061 GB, free: 2.789 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001648/0.3213, allocations: 119.3 kB / 1.061 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.347e-05/0.3214, allocations: 29.7 kB / 1.061 GB, free: 2.625 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.3214, allocations: 4 kB / 1.061 GB, free: 2.621 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.3214, allocations: 0 / 1.061 GB, free: 2.621 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.155e-05/0.3215, allocations: 15.94 kB / 1.061 GB, free: 2.605 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.3215, allocations: 3.984 kB / 1.061 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.225e-05/0.3216, allocations: 11.91 kB / 1.061 GB, free: 2.59 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.606e-05/0.3216, allocations: 8 kB / 1.061 GB, free: 2.582 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.0001061/0.3217, allocations: 147.6 kB / 1.061 GB, free: 2.422 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.727e-05/0.3217, allocations: 4 kB / 1.061 GB, free: 2.418 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.819e-05/0.3218, allocations: 11.52 kB / 1.061 GB, free: 2.406 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.3218, allocations: 0 / 1.061 GB, free: 2.406 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.3218, allocations: 3.938 kB / 1.061 GB, free: 2.402 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.3218, allocations: 3.984 kB / 1.061 GB, free: 2.398 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001676/0.322, allocations: 153.6 kB / 1.061 GB, free: 2.199 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.322, allocations: 4 kB / 1.061 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.21e-07/0.322, allocations: 0 / 1.061 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.322, allocations: 0 / 1.061 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.713e-06/0.322, allocations: 4 kB / 1.061 GB, free: 2.191 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.322, allocations: 0 / 1.061 GB, free: 2.191 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.322, allocations: 0 / 1.061 GB, free: 2.191 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001665/0.3222, allocations: 173 kB / 1.062 GB, free: 2 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.392e-05/0.3222, allocations: 81.11 kB / 1.062 GB, free: 1.902 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.345e-05/0.3223, allocations: 0 / 1.062 GB, free: 1.902 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.667e-05/0.3223, allocations: 0 / 1.062 GB, free: 1.902 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.625e-05/0.3223, allocations: 8.031 kB / 1.062 GB, free: 1.895 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.169e-06/0.3224, allocations: 4 kB / 1.062 GB, free: 1.891 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.111e-05/0.3224, allocations: 87.27 kB / 1.062 GB, free: 1.805 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3224, allocations: 0 / 1.062 GB, free: 1.805 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002487/0.3227, allocations: 15.94 kB / 1.062 GB, free: 1.789 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.0001825/0.3229, allocations: 111.2 kB / 1.062 GB, free: 1.672 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001266/0.323, allocations: 83.64 kB / 1.062 GB, free: 1.578 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.323, allocations: 4.188 kB / 1.062 GB, free: 1.574 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 4.218e-05/0.323, allocations: 55.41 kB / 1.062 GB, free: 1.508 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002053/0.3233, allocations: 14.97 kB / 1.062 GB, free: 1.496 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002406/0.3235, allocations: 115.6 kB / 1.062 GB, free: 1.359 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002813/0.3238, allocations: 0.6809 MB / 1.063 GB, free: 0.6523 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 8.245e-05/0.3239, allocations: 12.05 kB / 1.063 GB, free: 0.6406 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.526e-05/0.3239, allocations: 11.44 kB / 1.063 GB, free: 0.6289 MB / 0.8106 GB Notification: Performance of SimCode: time 2.91e-07/0.3239, allocations: 0 / 1.063 GB, free: 0.6289 MB / 0.8106 GB Notification: Performance of Templates: time 0.002893/0.3268, allocations: 0.5009 MB / 1.063 GB, free: 136 kB / 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