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.008252/0.008252, allocations: 102.3 kB / 15.73 MB, free: 5.582 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.001569/0.001569, allocations: 191.2 kB / 16.67 MB, free: 5.52 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.447/1.447, allocations: 222.9 MB / 240.4 MB, free: 15.16 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.335/2.335, allocations: 390.2 MB / 0.6648 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001421/0.001421, allocations: 63.89 kB / 0.9509 GB, free: 7.609 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.032/1.033, allocations: 140.4 MB / 1.088 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001606/1.035, allocations: 0.5898 MB / 1.089 GB, free: 5.164 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0002382/1.035, allocations: 47.92 kB / 1.089 GB, free: 5.137 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.166e-05/1.035, allocations: 0 / 1.089 GB, free: 5.137 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.669e-05/1.035, allocations: 0 / 1.089 GB, free: 5.137 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.291e-05/1.035, allocations: 1 kB / 1.089 GB, free: 5.137 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001982/1.035, allocations: 12.38 kB / 1.089 GB, free: 5.133 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.459e-05/1.036, allocations: 7.391 kB / 1.089 GB, free: 5.129 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.903e-05/1.036, allocations: 3.219 kB / 1.089 GB, free: 5.129 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 1.993e-05/1.036, allocations: 5.188 kB / 1.089 GB, free: 5.125 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.34e-05/1.036, allocations: 1.922 kB / 1.089 GB, free: 5.125 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.242e-05/1.036, allocations: 0 / 1.089 GB, free: 5.125 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.022e-05/1.036, allocations: 21.91 kB / 1.089 GB, free: 5.117 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.113e-05/1.036, allocations: 10.58 kB / 1.089 GB, free: 5.109 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.266e-05/1.036, allocations: 5 kB / 1.089 GB, free: 5.105 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001015/1.036, allocations: 19.3 kB / 1.089 GB, free: 5.102 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/1.036, allocations: 0 / 1.089 GB, free: 5.102 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.232e-06/1.036, allocations: 0.9062 kB / 1.089 GB, free: 5.102 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.011e-05/1.036, allocations: 0 / 1.089 GB, free: 5.102 MB / 0.8575 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.0002826/1.036, allocations: 357.3 kB / 1.089 GB, free: 4.707 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/1.036, allocations: 10.53 kB / 1.089 GB, free: 4.707 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.552e-05/1.036, allocations: 0.9375 kB / 1.089 GB, free: 4.707 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.371e-05/1.036, allocations: 170.7 kB / 1.089 GB, free: 4.508 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/1.036, allocations: 2.422 kB / 1.089 GB, free: 4.508 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.526e-06/1.036, allocations: 1.312 kB / 1.089 GB, free: 4.508 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001172/1.037, allocations: 58.17 kB / 1.089 GB, free: 4.469 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.762e-06/1.037, allocations: 1.688 kB / 1.089 GB, free: 4.469 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/1.037, allocations: 7.922 kB / 1.089 GB, free: 4.461 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.51e-05/1.037, allocations: 11.64 kB / 1.089 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.703e-05/1.037, allocations: 22.34 kB / 1.089 GB, free: 4.453 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002712/1.037, allocations: 266.8 kB / 1.09 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 3.905e-05/1.037, allocations: 26.25 kB / 1.09 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.395e-05/1.037, allocations: 6.734 kB / 1.09 GB, free: 4.133 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.456e-06/1.037, allocations: 0 / 1.09 GB, free: 4.133 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.736e-05/1.037, allocations: 36.55 kB / 1.09 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/1.037, allocations: 0 / 1.09 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0001632/1.037, allocations: 68.09 kB / 1.09 GB, free: 4.023 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.797e-05/1.037, allocations: 81.72 kB / 1.09 GB, free: 3.926 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.947e-05/1.037, allocations: 115.7 kB / 1.09 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.834e-06/1.037, allocations: 26.98 kB / 1.09 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.418e-05/1.037, allocations: 105.8 kB / 1.09 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 8.495e-06/1.037, allocations: 5.781 kB / 1.09 GB, free: 3.684 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.508e-05/1.037, allocations: 31.69 kB / 1.09 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.414e-05/1.037, allocations: 317 kB / 1.09 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.804e-05/1.037, allocations: 13.27 kB / 1.09 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.656e-05/1.038, allocations: 57.36 kB / 1.09 GB, free: 3.27 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.963e-05/1.038, allocations: 131.6 kB / 1.091 GB, free: 3.125 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/1.038, allocations: 1.375 kB / 1.091 GB, free: 3.125 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001282/1.038, allocations: 116.4 kB / 1.091 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.843e-05/1.038, allocations: 35.23 kB / 1.091 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/1.038, allocations: 1.188 kB / 1.091 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/1.038, allocations: 3.031 kB / 1.091 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.664e-05/1.038, allocations: 16.12 kB / 1.091 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.794e-06/1.038, allocations: 3.609 kB / 1.091 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.516e-05/1.038, allocations: 8.734 kB / 1.091 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.474e-05/1.038, allocations: 9.25 kB / 1.091 GB, free: 3 MB / 0.8575 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 5.999e-05/1.038, allocations: 151.6 kB / 1.091 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.428e-05/1.038, allocations: 6.25 kB / 1.091 GB, free: 2.84 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.354e-05/1.038, allocations: 5.266 kB / 1.091 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/1.038, allocations: 0.5156 kB / 1.091 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/1.038, allocations: 1.438 kB / 1.091 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/1.038, allocations: 0.5156 kB / 1.091 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001041/1.038, allocations: 157.4 kB / 1.091 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/1.038, allocations: 0.7031 kB / 1.091 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.52e-07/1.038, allocations: 4 kB / 1.091 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/1.038, allocations: 1.188 kB / 1.091 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/1.038, allocations: 2.094 kB / 1.091 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/1.038, allocations: 7.984 kB / 1.091 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/1.038, allocations: 0 / 1.091 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.569e-05/1.038, allocations: 169 kB / 1.091 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.947e-05/1.038, allocations: 79.12 kB / 1.091 GB, free: 2.359 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.211e-05/1.038, allocations: 5.031 kB / 1.091 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.795e-05/1.038, allocations: 5.375 kB / 1.091 GB, free: 2.352 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.3e-05/1.039, allocations: 2.234 kB / 1.091 GB, free: 2.352 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.48e-06/1.039, allocations: 1.531 kB / 1.091 GB, free: 2.352 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.564e-05/1.039, allocations: 98.5 kB / 1.091 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/1.039, allocations: 0 / 1.091 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002572/1.039, allocations: 13.78 kB / 1.091 GB, free: 2.262 MB / 0.8575 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.000148/1.039, allocations: 105.3 kB / 1.091 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001282/1.039, allocations: 87.84 kB / 1.092 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/1.039, allocations: 0 / 1.092 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 2.38e-05/1.039, allocations: 60.86 kB / 1.092 GB, free: 2.035 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002055/1.039, allocations: 2.906 kB / 1.092 GB, free: 2.035 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002153/1.04, allocations: 108.5 kB / 1.092 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001863/1.04, allocations: 0.6786 MB / 1.092 GB, free: 17.23 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 6.401e-05/1.04, allocations: 19.77 kB / 1.092 GB, free: 17.23 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.103e-05/1.04, allocations: 8.406 kB / 1.092 GB, free: 17.22 MB / 0.8731 GB Notification: Performance of SimCode: time 2.51e-07/1.04, allocations: 0 / 1.092 GB, free: 17.22 MB / 0.8731 GB Notification: Performance of Templates: time 0.002806/1.043, allocations: 0.5216 MB / 1.093 GB, free: 17.14 MB / 0.8731 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/jenkins/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