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.001373/0.001372, allocations: 114.4 kB / 16.42 MB, free: 6.008 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.00127/0.00127, allocations: 187.3 kB / 17.35 MB, free: 5.625 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.456/1.456, allocations: 222.9 MB / 241 MB, free: 15.15 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.275/2.275, allocations: 390.3 MB / 0.6655 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001521/0.001521, allocations: 67.89 kB / 0.9516 GB, free: 7.617 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.009/1.011, allocations: 140.4 MB / 1.089 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.00192/1.013, allocations: 0.591 MB / 1.089 GB, free: 5.152 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0002725/1.013, allocations: 41.41 kB / 1.089 GB, free: 5.129 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.195e-05/1.013, allocations: 0 / 1.089 GB, free: 5.129 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.03e-05/1.013, allocations: 0 / 1.089 GB, free: 5.129 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.815e-05/1.013, allocations: 1.125 kB / 1.089 GB, free: 5.129 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002229/1.013, allocations: 12.89 kB / 1.089 GB, free: 5.125 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.83e-05/1.013, allocations: 15.94 kB / 1.089 GB, free: 5.113 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.302e-05/1.013, allocations: 1.875 kB / 1.089 GB, free: 5.113 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.166e-05/1.013, allocations: 2 kB / 1.089 GB, free: 5.113 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.535e-05/1.013, allocations: 4.562 kB / 1.089 GB, free: 5.109 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.47e-05/1.013, allocations: 1.094 kB / 1.089 GB, free: 5.109 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.144e-05/1.014, allocations: 21.27 kB / 1.089 GB, free: 5.102 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.648e-05/1.014, allocations: 2.812 kB / 1.089 GB, free: 5.102 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.65e-05/1.014, allocations: 5.062 kB / 1.089 GB, free: 5.098 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001127/1.014, allocations: 23.66 kB / 1.089 GB, free: 5.09 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/1.014, allocations: 1 kB / 1.089 GB, free: 5.09 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.343e-06/1.014, allocations: 4 kB / 1.089 GB, free: 5.086 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.201e-06/1.014, allocations: 0 / 1.089 GB, free: 5.086 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.0003097/1.014, allocations: 357.3 kB / 1.09 GB, free: 4.691 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/1.014, allocations: 9.047 kB / 1.09 GB, free: 4.691 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.204e-05/1.014, allocations: 2.031 kB / 1.09 GB, free: 4.691 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.369e-05/1.014, allocations: 166.5 kB / 1.09 GB, free: 4.496 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/1.014, allocations: 1.5 kB / 1.09 GB, free: 4.496 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.351e-05/1.014, allocations: 1.344 kB / 1.09 GB, free: 4.496 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001454/1.014, allocations: 59.39 kB / 1.09 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/1.014, allocations: 4.844 kB / 1.09 GB, free: 4.453 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.055e-05/1.014, allocations: 5.031 kB / 1.09 GB, free: 4.449 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.871e-05/1.014, allocations: 5.594 kB / 1.09 GB, free: 4.449 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.434e-05/1.015, allocations: 24.14 kB / 1.09 GB, free: 4.445 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003028/1.015, allocations: 265.8 kB / 1.09 GB, free: 4.164 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.124e-05/1.015, allocations: 17.69 kB / 1.09 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.799e-05/1.015, allocations: 16.02 kB / 1.09 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 7.604e-06/1.015, allocations: 4 kB / 1.09 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.891e-05/1.015, allocations: 32.3 kB / 1.09 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 1.183e-06/1.015, allocations: 0 / 1.09 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0001684/1.015, allocations: 67.53 kB / 1.09 GB, free: 4.016 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.308e-05/1.015, allocations: 78.5 kB / 1.09 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.017e-05/1.015, allocations: 119.8 kB / 1.091 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.877e-06/1.015, allocations: 25.7 kB / 1.091 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.865e-05/1.015, allocations: 107 kB / 1.091 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.045e-05/1.015, allocations: 6.234 kB / 1.091 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.892e-05/1.015, allocations: 26.19 kB / 1.091 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.701e-05/1.015, allocations: 326.2 kB / 1.091 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.782e-05/1.015, allocations: 9.266 kB / 1.091 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.038e-05/1.015, allocations: 60.47 kB / 1.091 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.637e-05/1.016, allocations: 132 kB / 1.091 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/1.016, allocations: 1.312 kB / 1.091 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001401/1.016, allocations: 112.4 kB / 1.091 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.22e-05/1.016, allocations: 32.45 kB / 1.091 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/1.016, allocations: 2.656 kB / 1.091 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/1.016, allocations: 2.281 kB / 1.091 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.958e-05/1.016, allocations: 19.7 kB / 1.091 GB, free: 2.996 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-05/1.016, allocations: 8.016 kB / 1.091 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.153e-05/1.016, allocations: 8.406 kB / 1.091 GB, free: 2.988 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.592e-05/1.016, allocations: 5.125 kB / 1.091 GB, free: 2.988 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 7.54e-05/1.016, allocations: 147.3 kB / 1.092 GB, free: 2.836 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.664e-05/1.016, allocations: 6.188 kB / 1.092 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.798e-05/1.016, allocations: 5.422 kB / 1.092 GB, free: 2.824 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/1.016, allocations: 5.703 kB / 1.092 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/1.016, allocations: 0 / 1.092 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.09e-05/1.016, allocations: 82.78 kB / 1.092 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.453e-05/1.016, allocations: 9.375 kB / 1.092 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.865e-05/1.016, allocations: 1.922 kB / 1.092 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.554e-05/1.016, allocations: 0.9062 kB / 1.092 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 9.259e-05/1.016, allocations: 194.8 kB / 1.092 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 9.424e-05/1.016, allocations: 243.5 kB / 1.092 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.386e-05/1.017, allocations: 11.7 kB / 1.092 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.36e-05/1.017, allocations: 94.09 kB / 1.092 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of Backend: time 4.01e-07/1.017, allocations: 0 / 1.092 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004452/1.017, allocations: 166.9 kB / 1.092 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of SimCode: time 0.0003811/1.017, allocations: 0.6069 MB / 1.093 GB, free: 17.41 MB / 0.8731 GB Notification: Performance of Templates: time 0.003288/1.021, allocations: 0.538 MB / 1.093 GB, free: 17.32 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/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