Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001379/0.001379, allocations: 110.2 kB / 16.41 MB, free: 6.477 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.00148/0.00148, allocations: 185.5 kB / 17.34 MB, free: 5.754 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.361/1.361, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.504/2.504, allocations: 437 MB / 0.7112 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001443/0.001443, allocations: 68.12 kB / 1.019 GB, free: 9.355 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8176/0.819, allocations: 151.6 MB / 1.167 GB, free: 3.809 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001777/0.8209, allocations: 0.5867 MB / 1.168 GB, free: 3.227 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.000238/0.8211, allocations: 39.86 kB / 1.168 GB, free: 3.188 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.161e-05/0.8212, allocations: 0 / 1.168 GB, free: 3.188 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.155e-05/0.8212, allocations: 0 / 1.168 GB, free: 3.188 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 4.073e-05/0.8212, allocations: 4 kB / 1.168 GB, free: 3.184 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002114/0.8215, allocations: 12 kB / 1.168 GB, free: 3.172 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 8.348e-05/0.8215, allocations: 3.984 kB / 1.168 GB, free: 3.168 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.514e-05/0.8216, allocations: 4 kB / 1.168 GB, free: 3.164 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 2.202e-05/0.8216, allocations: 7.922 kB / 1.168 GB, free: 3.156 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 4.389e-05/0.8217, allocations: 0 / 1.168 GB, free: 3.156 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.558e-05/0.8217, allocations: 4 kB / 1.168 GB, free: 3.152 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 8.852e-05/0.8218, allocations: 27.92 kB / 1.168 GB, free: 3.125 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.976e-05/0.8218, allocations: 0 / 1.168 GB, free: 3.125 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.7e-05/0.8219, allocations: 7.938 kB / 1.168 GB, free: 3.117 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 9.747e-05/0.822, allocations: 23.91 kB / 1.168 GB, free: 3.094 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.822, allocations: 0 / 1.168 GB, free: 3.094 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.984e-06/0.822, allocations: 4 kB / 1.168 GB, free: 3.09 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.822, allocations: 0 / 1.168 GB, free: 3.09 MB / 0.8887 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.0003741/0.8224, allocations: 349.3 kB / 1.168 GB, free: 2.691 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.8224, allocations: 12.92 kB / 1.168 GB, free: 2.68 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.046e-05/0.8224, allocations: 0.9375 kB / 1.168 GB, free: 2.68 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.384e-05/0.8225, allocations: 168.2 kB / 1.169 GB, free: 2.48 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.8226, allocations: 4.312 kB / 1.169 GB, free: 2.477 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.047e-05/0.8226, allocations: 4.375 kB / 1.169 GB, free: 2.473 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001337/0.8227, allocations: 54.25 kB / 1.169 GB, free: 2.414 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.8227, allocations: 4.188 kB / 1.169 GB, free: 2.41 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.8228, allocations: 7.875 kB / 1.169 GB, free: 2.402 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.627e-05/0.8228, allocations: 7.984 kB / 1.169 GB, free: 2.395 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.735e-05/0.8228, allocations: 23.98 kB / 1.169 GB, free: 2.371 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003482/0.8232, allocations: 272.8 kB / 1.169 GB, free: 2.055 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 4.305e-05/0.8232, allocations: 14.58 kB / 1.169 GB, free: 2.031 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.473e-05/0.8233, allocations: 8.922 kB / 1.169 GB, free: 2.02 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 6.242e-06/0.8233, allocations: 4 kB / 1.169 GB, free: 2.016 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.229e-05/0.8233, allocations: 34.5 kB / 1.169 GB, free: 1.973 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=1): time 1.142e-06/0.8233, allocations: 0 / 1.169 GB, free: 1.973 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1): time 0.0001725/0.8235, allocations: 75.3 kB / 1.169 GB, free: 1.887 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.779e-05/0.8235, allocations: 77.11 kB / 1.169 GB, free: 1.793 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.346e-05/0.8236, allocations: 109.8 kB / 1.169 GB, free: 1.676 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.181e-05/0.8237, allocations: 25.7 kB / 1.169 GB, free: 1.645 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 6.175e-05/0.8237, allocations: 109.8 kB / 1.169 GB, free: 1.535 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 8.867e-06/0.8237, allocations: 7.875 kB / 1.169 GB, free: 1.527 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.872e-05/0.8238, allocations: 25.7 kB / 1.169 GB, free: 1.496 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.8239, allocations: 322.8 kB / 1.17 GB, free: 1.172 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.552e-05/0.8239, allocations: 11.97 kB / 1.17 GB, free: 1.16 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.061e-05/0.824, allocations: 66.8 kB / 1.17 GB, free: 1.07 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.76e-05/0.8241, allocations: 130.2 kB / 1.17 GB, free: 0.9062 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.8241, allocations: 0 / 1.17 GB, free: 0.9062 MB / 0.8887 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001402/0.8242, allocations: 115.2 kB / 1.17 GB, free: 0.7812 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.351e-05/0.8243, allocations: 33.7 kB / 1.17 GB, free: 0.7422 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.8243, allocations: 0 / 1.17 GB, free: 0.7422 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.8243, allocations: 4 kB / 1.17 GB, free: 0.7383 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.323e-05/0.8244, allocations: 16.17 kB / 1.17 GB, free: 0.7227 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.876e-06/0.8244, allocations: 8 kB / 1.17 GB, free: 0.7148 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.974e-05/0.8245, allocations: 11.91 kB / 1.17 GB, free: 0.7031 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.487e-05/0.8245, allocations: 4 kB / 1.17 GB, free: 0.6992 MB / 0.8887 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.397e-05/0.8246, allocations: 143.5 kB / 1.17 GB, free: 0.543 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.445e-05/0.8246, allocations: 3.984 kB / 1.17 GB, free: 0.5391 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.525e-05/0.8247, allocations: 11.53 kB / 1.17 GB, free: 0.5234 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.8247, allocations: 0 / 1.17 GB, free: 0.5234 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.8247, allocations: 0 / 1.17 GB, free: 0.5234 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.8247, allocations: 7.984 kB / 1.17 GB, free: 0.5156 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001491/0.8248, allocations: 153.6 kB / 1.17 GB, free: 324 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.8248, allocations: 0 / 1.17 GB, free: 324 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.314e-06/0.8248, allocations: 0 / 1.17 GB, free: 324 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.8249, allocations: 7.875 kB / 1.17 GB, free: 316 kB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.694e-06/0.8249, allocations: 4 kB / 1.17 GB, free: 312 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.8249, allocations: 0 / 1.17 GB, free: 312 kB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.8249, allocations: 0 / 1.17 GB, free: 312 kB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001238/0.825, allocations: 173.2 kB / 1.171 GB, free: 116 kB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 3.847e-05/0.825, allocations: 81.02 kB / 1.171 GB, free: 16 kB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.328e-05/0.8251, allocations: 4 kB / 1.171 GB, free: 12 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.585e-05/0.8251, allocations: 4 kB / 1.171 GB, free: 8 kB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.471e-05/0.8251, allocations: 0 / 1.171 GB, free: 8 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.52e-06/0.8252, allocations: 3.984 kB / 1.171 GB, free: 4 kB / 0.8887 GB Notification: Performance of sorting global known variables: time 6.119e-05/0.8252, allocations: 83.33 kB / 1.171 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.432e-06/0.8252, allocations: 0 / 1.171 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002425/0.8255, allocations: 23.88 kB / 1.171 GB, free: 15.89 MB / 0.9044 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.0001597/0.8256, allocations: 111.2 kB / 1.171 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001386/0.8258, allocations: 87.27 kB / 1.171 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.8258, allocations: 0 / 1.171 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 3.166e-05/0.8258, allocations: 55.41 kB / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001991/0.826, allocations: 4 kB / 1.171 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002449/0.8263, allocations: 131.2 kB / 1.171 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002296/0.8265, allocations: 0.6853 MB / 1.172 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.31e-05/0.8266, allocations: 7.438 kB / 1.172 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of SimCode: time 2.2e-07/0.8266, allocations: 0 / 1.172 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of Templates: time 0.002131/0.8287, allocations: 0.6939 MB / 1.172 GB, free: 14.05 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches