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.00107/0.00107, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001572/0.001572, allocations: 169.3 kB / 23.02 MB, free: 1.547 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.9907/0.9907, allocations: 177.1 MB / 203.4 MB, free: 5.652 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.016/2.016, allocations: 429.5 MB / 0.6732 GB, free: 4.051 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.994e-06/1.994e-06, allocations: 0 / 0.8782 GB, free: 6.227 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.856e-05/3.056e-05, allocations: 3.656 kB / 0.8782 GB, free: 6.223 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001277/0.001308, allocations: 0.6032 MB / 0.8788 GB, free: 5.637 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.000463/0.001771, allocations: 40.86 kB / 0.8788 GB, free: 5.598 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.13e-05/0.001792, allocations: 0.8125 kB / 0.8788 GB, free: 5.598 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.914e-05/0.001831, allocations: 0 / 0.8788 GB, free: 5.598 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 3.573e-05/0.001867, allocations: 0.7188 kB / 0.8788 GB, free: 5.598 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002203/0.002087, allocations: 21 kB / 0.8789 GB, free: 5.578 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 8.024e-05/0.002167, allocations: 4.766 kB / 0.8789 GB, free: 5.574 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.545e-05/0.002203, allocations: 0 / 0.8789 GB, free: 5.574 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 3.73e-05/0.00224, allocations: 10 kB / 0.8789 GB, free: 5.566 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.358e-05/0.002284, allocations: 3.984 kB / 0.8789 GB, free: 5.562 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.462e-05/0.002298, allocations: 0 / 0.8789 GB, free: 5.562 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 7.228e-05/0.002371, allocations: 17.08 kB / 0.8789 GB, free: 5.547 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.79e-05/0.002399, allocations: 5.094 kB / 0.8789 GB, free: 5.543 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.152e-05/0.00242, allocations: 1.75 kB / 0.8789 GB, free: 5.543 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 9.726e-05/0.002517, allocations: 32.7 kB / 0.8789 GB, free: 5.512 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.145e-06/0.00252, allocations: 0 / 0.8789 GB, free: 5.512 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.81e-07/0.002521, allocations: 0.5 kB / 0.8789 GB, free: 5.512 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.637e-06/0.002524, allocations: 1.688 kB / 0.8789 GB, free: 5.512 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.0003003/0.002824, allocations: 386.3 kB / 0.8793 GB, free: 5.09 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.00286, allocations: 8.031 kB / 0.8793 GB, free: 5.082 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.202e-05/0.002902, allocations: 0.9375 kB / 0.8793 GB, free: 5.082 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.067e-05/0.002962, allocations: 112.6 kB / 0.8794 GB, free: 4.945 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/0.002974, allocations: 5.547 kB / 0.8794 GB, free: 4.941 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.075e-06/0.002982, allocations: 384 / 0.8794 GB, free: 4.941 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001102/0.003092, allocations: 71.95 kB / 0.8795 GB, free: 4.859 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.003099, allocations: 1.281 kB / 0.8795 GB, free: 4.859 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.003111, allocations: 384 / 0.8795 GB, free: 4.859 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.203e-05/0.003143, allocations: 8.375 kB / 0.8795 GB, free: 4.852 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.26e-05/0.003176, allocations: 46.27 kB / 0.8796 GB, free: 4.801 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002774/0.003453, allocations: 267.7 kB / 0.8798 GB, free: 4.504 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.329e-05/0.003506, allocations: 61.36 kB / 0.8799 GB, free: 4.426 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.991e-05/0.003526, allocations: 37.33 kB / 0.8799 GB, free: 4.383 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.18e-06/0.003532, allocations: 4.062 kB / 0.8799 GB, free: 4.379 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.359e-05/0.003555, allocations: 33.39 kB / 0.8799 GB, free: 4.336 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.003556, allocations: 0 / 0.8799 GB, free: 4.336 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 0.000167/0.003723, allocations: 126.7 kB / 0.8801 GB, free: 4.188 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.638e-05/0.003759, allocations: 77.11 kB / 0.8801 GB, free: 4.094 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.301e-05/0.003842, allocations: 177.9 kB / 0.8803 GB, free: 3.902 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.046e-05/0.003853, allocations: 25.7 kB / 0.8803 GB, free: 3.871 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.274e-05/0.003906, allocations: 154.7 kB / 0.8805 GB, free: 3.715 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.592e-06/0.003912, allocations: 3.953 kB / 0.8805 GB, free: 3.711 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.235e-05/0.003945, allocations: 28.81 kB / 0.8805 GB, free: 3.676 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.004079, allocations: 496.1 kB / 0.881 GB, free: 3.18 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.155e-05/0.004111, allocations: 37.69 kB / 0.881 GB, free: 3.137 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.218e-05/0.004173, allocations: 103.2 kB / 0.8811 GB, free: 2.996 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.812e-05/0.004271, allocations: 146.2 kB / 0.8813 GB, free: 2.812 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.004274, allocations: 0 / 0.8813 GB, free: 2.812 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001248/0.004399, allocations: 144.8 kB / 0.8814 GB, free: 2.652 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.341e-05/0.004432, allocations: 35.36 kB / 0.8814 GB, free: 2.613 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.00444, allocations: 3.938 kB / 0.8814 GB, free: 2.609 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.004458, allocations: 4 kB / 0.8814 GB, free: 2.605 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.631e-05/0.004534, allocations: 12 kB / 0.8814 GB, free: 2.594 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.298e-05/0.004547, allocations: 11.98 kB / 0.8815 GB, free: 2.582 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.168e-05/0.004619, allocations: 12.52 kB / 0.8815 GB, free: 2.57 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.494e-05/0.004634, allocations: 5.656 kB / 0.8815 GB, free: 2.566 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 9.32e-05/0.004727, allocations: 190.2 kB / 0.8817 GB, free: 2.363 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.936e-05/0.004746, allocations: 7.938 kB / 0.8817 GB, free: 2.355 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.169e-05/0.004758, allocations: 3.469 kB / 0.8817 GB, free: 2.355 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.00476, allocations: 0.8125 kB / 0.8817 GB, free: 2.355 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.004766, allocations: 4 kB / 0.8817 GB, free: 2.352 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.00477, allocations: 0.7188 kB / 0.8817 GB, free: 2.352 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001013/0.004872, allocations: 116.6 kB / 0.8818 GB, free: 2.203 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.004874, allocations: 384 / 0.8818 GB, free: 2.203 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.292e-06/0.004875, allocations: 7.938 kB / 0.8818 GB, free: 2.195 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.004877, allocations: 0 / 0.8818 GB, free: 2.195 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.627e-06/0.004886, allocations: 0 / 0.8818 GB, free: 2.195 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.004888, allocations: 4.469 kB / 0.8818 GB, free: 2.191 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.00489, allocations: 0 / 0.8818 GB, free: 2.191 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001618/0.005051, allocations: 244 kB / 0.882 GB, free: 1.922 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.627e-05/0.005068, allocations: 11.94 kB / 0.882 GB, free: 1.91 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.352e-05/0.005081, allocations: 3.984 kB / 0.882 GB, free: 1.906 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.15e-05/0.005123, allocations: 0 / 0.882 GB, free: 1.906 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.475e-05/0.005138, allocations: 0 / 0.882 GB, free: 1.906 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.582e-06/0.005144, allocations: 4.031 kB / 0.882 GB, free: 1.902 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.595e-05/0.00519, allocations: 131.2 kB / 0.8822 GB, free: 1.773 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.00519, allocations: 0 / 0.8822 GB, free: 1.773 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001819/0.005372, allocations: 16 kB / 0.8822 GB, free: 1.758 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.0001722/0.005544, allocations: 110.1 kB / 0.8823 GB, free: 1.641 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001823/0.005726, allocations: 138.4 kB / 0.8824 GB, free: 1.477 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.00573, allocations: 0 / 0.8824 GB, free: 1.477 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.18e-05/0.005772, allocations: 97.23 kB / 0.8825 GB, free: 1.359 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001874/0.005959, allocations: 8.047 kB / 0.8825 GB, free: 1.352 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000289/0.006248, allocations: 140 kB / 0.8827 GB, free: 1.18 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.026e-05/0.006289, allocations: 55.34 kB / 0.8827 GB, free: 1.105 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.512e-05/0.006334, allocations: 15.92 kB / 0.8827 GB, free: 1.09 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.691e-05/0.006351, allocations: 8.5 kB / 0.8827 GB, free: 1.082 MB / 0.8386 GB Notification: Performance of SimCode: time 6.71e-07/0.006351, allocations: 0 / 0.8827 GB, free: 1.082 MB / 0.8386 GB Notification: Performance of Templates: time 0.003018/0.009369, allocations: 0.6124 MB / 0.8833 GB, free: 496 kB / 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.251030041836202]