Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0008177/0.0008177, allocations: 81.95 kB / 20.68 MB, free: 3.816 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.0009555/0.0009555, allocations: 181.3 kB / 24.09 MB, free: 416 kB / 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.9255/0.9255, allocations: 177.1 MB / 204.5 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.83/1.83, allocations: 359 MB / 0.6055 GB, free: 10.91 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_11_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_11_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.083e-06/2.083e-06, allocations: 0 / 0.7876 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.529e-05/2.737e-05, allocations: 8.844 kB / 0.7876 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001294/0.001321, allocations: 0.6014 MB / 0.7882 GB, free: 11.56 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0002019/0.001523, allocations: 35.88 kB / 0.7882 GB, free: 11.53 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.656e-05/0.00155, allocations: 0.625 kB / 0.7882 GB, free: 11.53 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.502e-05/0.001585, allocations: 1.406 kB / 0.7882 GB, free: 11.53 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.108e-05/0.001626, allocations: 4 kB / 0.7882 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002122/0.001838, allocations: 19.91 kB / 0.7883 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 7.659e-05/0.001915, allocations: 1.062 kB / 0.7883 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.563e-05/0.00195, allocations: 4 kB / 0.7883 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.588e-05/0.001986, allocations: 0 / 0.7883 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.83e-05/0.002034, allocations: 13.14 kB / 0.7883 GB, free: 11.49 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.537e-05/0.00205, allocations: 0 / 0.7883 GB, free: 11.49 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.023e-05/0.00212, allocations: 15.98 kB / 0.7883 GB, free: 11.47 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.518e-05/0.002145, allocations: 9.188 kB / 0.7883 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.352e-05/0.002159, allocations: 0 / 0.7883 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 8.348e-05/0.002242, allocations: 27.95 kB / 0.7883 GB, free: 11.44 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.784e-06/0.002244, allocations: 0 / 0.7883 GB, free: 11.44 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.81e-07/0.002245, allocations: 1.5 kB / 0.7883 GB, free: 11.44 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.517e-06/0.002248, allocations: 0 / 0.7883 GB, free: 11.44 MB / 0.7448 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.0002478/0.002496, allocations: 382 kB / 0.7887 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.353e-05/0.002529, allocations: 8.031 kB / 0.7887 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.467e-05/0.002554, allocations: 6.031 kB / 0.7887 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.184e-05/0.002606, allocations: 104.6 kB / 0.7888 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.002616, allocations: 9.312 kB / 0.7888 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.681e-06/0.002622, allocations: 4.312 kB / 0.7888 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.043e-05/0.002703, allocations: 63.95 kB / 0.7889 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.781e-06/0.002708, allocations: 1.781 kB / 0.7889 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.26e-06/0.002714, allocations: 384 / 0.7889 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.238e-05/0.002736, allocations: 8.375 kB / 0.7889 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.525e-05/0.002761, allocations: 41.62 kB / 0.7889 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002439/0.003005, allocations: 250 kB / 0.7892 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.318e-05/0.003048, allocations: 56.69 kB / 0.7892 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.799e-05/0.003066, allocations: 37.45 kB / 0.7893 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 7.243e-06/0.003074, allocations: 10.83 kB / 0.7893 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.904e-05/0.003093, allocations: 33.39 kB / 0.7893 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.003094, allocations: 0 / 0.7893 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 0.000128/0.003222, allocations: 126.8 kB / 0.7894 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.101e-05/0.003253, allocations: 77.11 kB / 0.7895 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.041e-05/0.003323, allocations: 177.9 kB / 0.7897 GB, free: 9.863 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.106e-05/0.003334, allocations: 25.7 kB / 0.7897 GB, free: 9.832 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.331e-05/0.003387, allocations: 155.3 kB / 0.7898 GB, free: 9.676 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.33e-06/0.003393, allocations: 3.984 kB / 0.7898 GB, free: 9.672 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.983e-05/0.003423, allocations: 33.02 kB / 0.7899 GB, free: 9.633 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001187/0.003541, allocations: 496.1 kB / 0.7903 GB, free: 9.137 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.994e-05/0.003561, allocations: 33.69 kB / 0.7904 GB, free: 9.098 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.807e-05/0.003659, allocations: 107.5 kB / 0.7905 GB, free: 8.953 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.278e-05/0.003732, allocations: 147.7 kB / 0.7906 GB, free: 8.766 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.003735, allocations: 0 / 0.7906 GB, free: 8.766 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.822e-05/0.003833, allocations: 144.2 kB / 0.7908 GB, free: 8.609 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/0.003854, allocations: 37.69 kB / 0.7908 GB, free: 8.566 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.00386, allocations: 4 kB / 0.7908 GB, free: 8.562 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.117e-06/0.003869, allocations: 0 / 0.7908 GB, free: 8.562 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.346e-05/0.003913, allocations: 12 kB / 0.7908 GB, free: 8.551 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.186e-06/0.003916, allocations: 0.8438 kB / 0.7908 GB, free: 8.551 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.566e-05/0.003951, allocations: 4 kB / 0.7908 GB, free: 8.547 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.317e-06/0.003961, allocations: 8.531 kB / 0.7908 GB, free: 8.539 MB / 0.7448 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 6.707e-05/0.004028, allocations: 198.9 kB / 0.791 GB, free: 8.328 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.296e-05/0.004041, allocations: 7.891 kB / 0.791 GB, free: 8.32 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.134e-05/0.004052, allocations: 8 kB / 0.791 GB, free: 8.316 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.004053, allocations: 5.25 kB / 0.791 GB, free: 8.312 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.004055, allocations: 0 / 0.791 GB, free: 8.312 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.013e-06/0.004057, allocations: 0 / 0.791 GB, free: 8.312 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.645e-05/0.004134, allocations: 105.2 kB / 0.7911 GB, free: 8.184 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.51e-07/0.004134, allocations: 0.5312 kB / 0.7911 GB, free: 8.184 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.81e-07/0.004134, allocations: 1.375 kB / 0.7911 GB, free: 8.184 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.22e-07/0.004135, allocations: 0 / 0.7911 GB, free: 8.184 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.74e-06/0.004141, allocations: 7.938 kB / 0.7911 GB, free: 8.176 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.21e-07/0.004141, allocations: 0 / 0.7911 GB, free: 8.176 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.004142, allocations: 1.156 kB / 0.7911 GB, free: 8.176 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.493e-05/0.004237, allocations: 243.3 kB / 0.7914 GB, free: 7.906 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.677e-06/0.004246, allocations: 5.188 kB / 0.7914 GB, free: 7.902 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.208e-05/0.004258, allocations: 3.938 kB / 0.7914 GB, free: 7.898 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.532e-05/0.004283, allocations: 0 / 0.7914 GB, free: 7.898 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.178e-06/0.004292, allocations: 4 kB / 0.7914 GB, free: 7.895 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-06/0.004294, allocations: 0.8125 kB / 0.7914 GB, free: 7.895 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.34e-05/0.004328, allocations: 127.2 kB / 0.7915 GB, free: 7.77 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.004328, allocations: 0.9375 kB / 0.7915 GB, free: 7.77 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000151/0.004479, allocations: 12 kB / 0.7915 GB, free: 7.758 MB / 0.7448 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 9.451e-05/0.004573, allocations: 100.6 kB / 0.7916 GB, free: 7.652 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.978e-05/0.004673, allocations: 143.2 kB / 0.7918 GB, free: 7.484 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.004677, allocations: 6 kB / 0.7918 GB, free: 7.48 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.73e-05/0.004704, allocations: 92.78 kB / 0.7919 GB, free: 7.367 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001262/0.00483, allocations: 7.938 kB / 0.7919 GB, free: 7.359 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001614/0.004991, allocations: 139.3 kB / 0.792 GB, free: 7.191 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.897e-05/0.00502, allocations: 56.08 kB / 0.792 GB, free: 7.117 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.269e-05/0.005043, allocations: 11.42 kB / 0.7921 GB, free: 7.109 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.343e-05/0.005087, allocations: 74.2 kB / 0.7921 GB, free: 7.035 MB / 0.7448 GB Notification: Performance of SimCode: time 6.62e-07/0.005087, allocations: 0 / 0.7921 GB, free: 7.035 MB / 0.7448 GB Notification: Performance of Templates: time 0.001864/0.006951, allocations: 0.5999 MB / 0.7927 GB, free: 6.461 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/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: 4.85236018197611]