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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001013/0.001013, allocations: 92.2 kB / 20.19 MB, free: 4.359 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001009/0.001009, allocations: 173 kB / 23.49 MB, free: 1.059 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9267/0.9267, allocations: 177.1 MB / 203.8 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.221/2.221, allocations: 429.5 MB / 0.6736 GB, free: 4.047 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 0.8782 GB, free: 6.574 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.623e-05/2.789e-05, allocations: 3.078 kB / 0.8782 GB, free: 6.57 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001331/0.001359, allocations: 0.6116 MB / 0.8788 GB, free: 5.977 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0002115/0.00157, allocations: 32.64 kB / 0.8789 GB, free: 5.945 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.506e-05/0.001595, allocations: 1.469 kB / 0.8789 GB, free: 5.945 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 4.145e-05/0.001637, allocations: 0 / 0.8789 GB, free: 5.945 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 3.637e-05/0.001673, allocations: 4 kB / 0.8789 GB, free: 5.941 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002046/0.001878, allocations: 20.05 kB / 0.8789 GB, free: 5.926 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 7.462e-05/0.001952, allocations: 7.938 kB / 0.8789 GB, free: 5.918 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.794e-05/0.00199, allocations: 4 kB / 0.8789 GB, free: 5.914 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 3.291e-05/0.002023, allocations: 4.75 kB / 0.8789 GB, free: 5.91 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.223e-05/0.002065, allocations: 4 kB / 0.8789 GB, free: 5.906 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.467e-05/0.00208, allocations: 0 / 0.8789 GB, free: 5.906 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 6.855e-05/0.002149, allocations: 15.98 kB / 0.8789 GB, free: 5.891 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.89e-05/0.002177, allocations: 5.094 kB / 0.8789 GB, free: 5.887 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.255e-05/0.0022, allocations: 5.328 kB / 0.8789 GB, free: 5.883 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001/0.0023, allocations: 27.95 kB / 0.879 GB, free: 5.855 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.002302, allocations: 1.656 kB / 0.879 GB, free: 5.855 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.112e-06/0.002303, allocations: 0 / 0.879 GB, free: 5.855 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.108e-06/0.002308, allocations: 0 / 0.879 GB, free: 5.855 MB / 0.8386 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.0002923/0.0026, allocations: 382.3 kB / 0.8793 GB, free: 5.438 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.002637, allocations: 12.53 kB / 0.8793 GB, free: 5.426 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.853e-05/0.002676, allocations: 0.9375 kB / 0.8793 GB, free: 5.426 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.002e-05/0.002736, allocations: 106 kB / 0.8794 GB, free: 5.297 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.221e-05/0.002748, allocations: 8.375 kB / 0.8794 GB, free: 5.289 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.726e-06/0.002757, allocations: 384 / 0.8794 GB, free: 5.289 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001112/0.002868, allocations: 73.48 kB / 0.8795 GB, free: 5.207 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.61e-06/0.002874, allocations: 192 / 0.8795 GB, free: 5.207 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.804e-06/0.002881, allocations: 384 / 0.8795 GB, free: 5.207 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.821e-05/0.00291, allocations: 4.375 kB / 0.8795 GB, free: 5.203 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.438e-05/0.002944, allocations: 49.62 kB / 0.8796 GB, free: 5.148 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002724/0.003216, allocations: 271.7 kB / 0.8798 GB, free: 4.848 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.82e-05/0.003265, allocations: 56.7 kB / 0.8799 GB, free: 4.773 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.708e-05/0.003292, allocations: 37.33 kB / 0.8799 GB, free: 4.727 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.737e-06/0.003295, allocations: 0 / 0.8799 GB, free: 4.727 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.354e-05/0.003319, allocations: 41.45 kB / 0.88 GB, free: 4.676 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 7.61e-07/0.00332, allocations: 0 / 0.88 GB, free: 4.676 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 0.0001601/0.00348, allocations: 114.8 kB / 0.8801 GB, free: 4.539 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.125e-05/0.003521, allocations: 81.11 kB / 0.8801 GB, free: 4.441 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.366e-05/0.003605, allocations: 173.9 kB / 0.8803 GB, free: 4.254 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.029e-05/0.003615, allocations: 37.77 kB / 0.8803 GB, free: 4.211 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.197e-05/0.003667, allocations: 150.7 kB / 0.8805 GB, free: 4.059 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 7.684e-06/0.003675, allocations: 7.953 kB / 0.8805 GB, free: 4.051 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.175e-05/0.003706, allocations: 31.31 kB / 0.8805 GB, free: 4.012 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001076/0.003814, allocations: 0.4884 MB / 0.881 GB, free: 3.512 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.449e-05/0.003839, allocations: 29.7 kB / 0.881 GB, free: 3.477 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.337e-05/0.003892, allocations: 107.2 kB / 0.8811 GB, free: 3.332 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.938e-05/0.003971, allocations: 144.8 kB / 0.8813 GB, free: 3.145 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.003973, allocations: 0 / 0.8813 GB, free: 3.145 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001081/0.004082, allocations: 148.8 kB / 0.8814 GB, free: 2.98 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.655e-05/0.004108, allocations: 29.7 kB / 0.8814 GB, free: 2.945 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.004114, allocations: 4.25 kB / 0.8814 GB, free: 2.941 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.004129, allocations: 8 kB / 0.8815 GB, free: 2.934 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.943e-05/0.004189, allocations: 15.98 kB / 0.8815 GB, free: 2.918 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.004195, allocations: 4 kB / 0.8815 GB, free: 2.914 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.979e-05/0.004245, allocations: 7.953 kB / 0.8815 GB, free: 2.906 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.236e-05/0.004257, allocations: 4 kB / 0.8815 GB, free: 2.902 MB / 0.8386 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.604e-05/0.004333, allocations: 194.2 kB / 0.8817 GB, free: 2.695 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.753e-05/0.004351, allocations: 11.92 kB / 0.8817 GB, free: 2.684 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.103e-05/0.004362, allocations: 3.469 kB / 0.8817 GB, free: 2.684 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.004364, allocations: 0 / 0.8817 GB, free: 2.684 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.004368, allocations: 3.984 kB / 0.8817 GB, free: 2.68 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.00437, allocations: 4 kB / 0.8817 GB, free: 2.676 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.259e-05/0.004463, allocations: 112.6 kB / 0.8818 GB, free: 2.531 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.004464, allocations: 4 kB / 0.8818 GB, free: 2.527 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.964e-06/0.004466, allocations: 3.938 kB / 0.8818 GB, free: 2.523 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.004467, allocations: 0 / 0.8818 GB, free: 2.523 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.004474, allocations: 0 / 0.8818 GB, free: 2.523 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.004476, allocations: 3.984 kB / 0.8818 GB, free: 2.52 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.004477, allocations: 0 / 0.8818 GB, free: 2.52 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001101/0.004587, allocations: 244.1 kB / 0.882 GB, free: 2.25 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.307e-06/0.004596, allocations: 11.86 kB / 0.8821 GB, free: 2.238 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.118e-05/0.004608, allocations: 8.031 kB / 0.8821 GB, free: 2.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.51e-05/0.004643, allocations: 0 / 0.8821 GB, free: 2.23 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.119e-05/0.004654, allocations: 0 / 0.8821 GB, free: 2.23 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.418e-06/0.004658, allocations: 4 kB / 0.8821 GB, free: 2.227 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.716e-05/0.004695, allocations: 131.1 kB / 0.8822 GB, free: 2.098 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.004696, allocations: 0 / 0.8822 GB, free: 2.098 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001658/0.004861, allocations: 11.98 kB / 0.8822 GB, free: 2.086 MB / 0.8386 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.0001269/0.004988, allocations: 103.3 kB / 0.8823 GB, free: 1.973 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003909/0.005379, allocations: 146.5 kB / 0.8824 GB, free: 1.801 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.005381, allocations: 0 / 0.8824 GB, free: 1.801 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.585e-05/0.005417, allocations: 92.78 kB / 0.8825 GB, free: 1.688 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001542/0.005571, allocations: 10.25 kB / 0.8825 GB, free: 1.68 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002164/0.005787, allocations: 139.9 kB / 0.8827 GB, free: 1.508 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.272e-05/0.00582, allocations: 57.86 kB / 0.8827 GB, free: 1.434 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.029e-05/0.00586, allocations: 12.48 kB / 0.8827 GB, free: 1.422 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.483e-05/0.005875, allocations: 12.5 kB / 0.8828 GB, free: 1.41 MB / 0.8386 GB Notification: Performance of SimCode: time 1.082e-06/0.005876, allocations: 0 / 0.8828 GB, free: 1.41 MB / 0.8386 GB Notification: Performance of Templates: time 0.002227/0.008104, allocations: 0.5746 MB / 0.8833 GB, free: 0.8477 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile [Timeout 300] (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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.3096461608074605]