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.0009165/0.0009165, allocations: 93.06 kB / 19.65 MB, free: 276 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.0009472/0.0009472, allocations: 165 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 1.041/1.041, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.146/2.146, allocations: 429.5 MB / 0.6733 GB, free: 4.016 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.513e-06/1.513e-06, allocations: 0 / 0.8782 GB, free: 6.238 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.599e-05/1.75e-05, allocations: 6.25 kB / 0.8782 GB, free: 6.23 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001033/0.00105, allocations: 0.6092 MB / 0.8788 GB, free: 5.641 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0001875/0.001238, allocations: 42.86 kB / 0.8789 GB, free: 5.602 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.04e-05/0.001258, allocations: 0 / 0.8789 GB, free: 5.602 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.533e-05/0.001294, allocations: 0 / 0.8789 GB, free: 5.602 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 3.4e-05/0.001328, allocations: 0 / 0.8789 GB, free: 5.602 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001905/0.001518, allocations: 15.92 kB / 0.8789 GB, free: 5.586 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 6.511e-05/0.001583, allocations: 12.28 kB / 0.8789 GB, free: 5.578 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.251e-05/0.001616, allocations: 4 kB / 0.8789 GB, free: 5.574 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 2.863e-05/0.001644, allocations: 0.875 kB / 0.8789 GB, free: 5.574 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.912e-05/0.001683, allocations: 4 kB / 0.8789 GB, free: 5.57 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.364e-05/0.001697, allocations: 0 / 0.8789 GB, free: 5.57 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 6.843e-05/0.001765, allocations: 23.97 kB / 0.8789 GB, free: 5.547 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.717e-05/0.001793, allocations: 5.078 kB / 0.8789 GB, free: 5.543 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.306e-05/0.001816, allocations: 5.75 kB / 0.8789 GB, free: 5.539 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 9.675e-05/0.001912, allocations: 23.91 kB / 0.8789 GB, free: 5.516 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.013e-06/0.001914, allocations: 0.9062 kB / 0.8789 GB, free: 5.516 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.42e-07/0.001915, allocations: 0 / 0.8789 GB, free: 5.516 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.377e-06/0.001919, allocations: 1.062 kB / 0.879 GB, free: 5.516 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.0002621/0.002181, allocations: 382.3 kB / 0.8793 GB, free: 5.098 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.221e-05/0.002213, allocations: 12.02 kB / 0.8793 GB, free: 5.086 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.377e-05/0.002247, allocations: 6.062 kB / 0.8793 GB, free: 5.082 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.075e-05/0.002297, allocations: 108.6 kB / 0.8794 GB, free: 4.949 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.168e-05/0.002309, allocations: 384 / 0.8794 GB, free: 4.949 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.277e-05/0.002322, allocations: 9.422 kB / 0.8794 GB, free: 4.941 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.778e-05/0.00242, allocations: 63.95 kB / 0.8795 GB, free: 4.867 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.002429, allocations: 4.172 kB / 0.8795 GB, free: 4.863 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.448e-06/0.002438, allocations: 5.125 kB / 0.8795 GB, free: 4.859 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.423e-05/0.002473, allocations: 8.375 kB / 0.8795 GB, free: 4.852 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.856e-05/0.002501, allocations: 41.08 kB / 0.8796 GB, free: 4.809 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00025/0.002751, allocations: 267.7 kB / 0.8798 GB, free: 4.512 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.037e-05/0.002802, allocations: 64.62 kB / 0.8799 GB, free: 4.43 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.388e-05/0.002825, allocations: 37.45 kB / 0.8799 GB, free: 4.383 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.058e-06/0.00283, allocations: 0 / 0.8799 GB, free: 4.383 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.089e-05/0.00285, allocations: 33.39 kB / 0.8799 GB, free: 4.34 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 6.71e-07/0.002851, allocations: 0 / 0.8799 GB, free: 4.34 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 0.0001391/0.00299, allocations: 126.7 kB / 0.8801 GB, free: 4.191 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002614/0.003252, allocations: 77.7 kB / 0.8801 GB, free: 4.098 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.272e-05/0.003324, allocations: 179 kB / 0.8803 GB, free: 3.906 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.196e-06/0.003333, allocations: 25.7 kB / 0.8803 GB, free: 3.875 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.345e-05/0.003376, allocations: 146.7 kB / 0.8805 GB, free: 3.727 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.812e-06/0.003383, allocations: 8.484 kB / 0.8805 GB, free: 3.719 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.898e-05/0.003412, allocations: 31.36 kB / 0.8805 GB, free: 3.68 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001006/0.003512, allocations: 497.7 kB / 0.881 GB, free: 3.184 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.198e-05/0.003534, allocations: 37.69 kB / 0.881 GB, free: 3.141 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.514e-05/0.00358, allocations: 99.2 kB / 0.8811 GB, free: 3.004 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.307e-05/0.003653, allocations: 150.6 kB / 0.8813 GB, free: 2.812 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-06/0.003656, allocations: 4 kB / 0.8813 GB, free: 2.809 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.594e-05/0.003752, allocations: 140.8 kB / 0.8814 GB, free: 2.652 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.358e-05/0.003776, allocations: 33.7 kB / 0.8814 GB, free: 2.613 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.003781, allocations: 3.938 kB / 0.8814 GB, free: 2.609 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.003798, allocations: 4.25 kB / 0.8814 GB, free: 2.605 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.402e-05/0.003852, allocations: 20 kB / 0.8815 GB, free: 2.586 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.003858, allocations: 3.938 kB / 0.8815 GB, free: 2.582 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.638e-05/0.003904, allocations: 7.953 kB / 0.8815 GB, free: 2.574 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.373e-05/0.003918, allocations: 8 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 6.591e-05/0.003984, allocations: 194.2 kB / 0.8817 GB, free: 2.359 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.419e-05/0.003998, allocations: 3.938 kB / 0.8817 GB, free: 2.355 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.287e-05/0.004011, allocations: 7.469 kB / 0.8817 GB, free: 2.352 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.225e-06/0.004013, allocations: 4 kB / 0.8817 GB, free: 2.348 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.004016, allocations: 0 / 0.8817 GB, free: 2.348 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.004019, allocations: 0 / 0.8817 GB, free: 2.348 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.097e-05/0.004099, allocations: 124.7 kB / 0.8818 GB, free: 2.191 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.62e-07/0.0041, allocations: 0 / 0.8818 GB, free: 2.191 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.213e-06/0.004101, allocations: 3.938 kB / 0.8818 GB, free: 2.188 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.32e-07/0.004102, allocations: 0 / 0.8818 GB, free: 2.188 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.182e-06/0.004108, allocations: 4 kB / 0.8818 GB, free: 2.184 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.61e-07/0.004109, allocations: 0 / 0.8818 GB, free: 2.184 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.004109, allocations: 0 / 0.8818 GB, free: 2.184 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.212e-05/0.004201, allocations: 244 kB / 0.882 GB, free: 1.914 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.292e-06/0.004208, allocations: 7.938 kB / 0.882 GB, free: 1.906 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.706e-06/0.004216, allocations: 0 / 0.882 GB, free: 1.906 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.982e-05/0.004246, allocations: 8.031 kB / 0.8821 GB, free: 1.898 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.262e-05/0.004259, allocations: 4 kB / 0.8821 GB, free: 1.895 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-06/0.004262, allocations: 3.984 kB / 0.8821 GB, free: 1.891 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.545e-05/0.004297, allocations: 127.2 kB / 0.8822 GB, free: 1.766 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5.1e-08/0.004297, allocations: 0 / 0.8822 GB, free: 1.766 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001558/0.004453, allocations: 8 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.0001031/0.004556, allocations: 107.2 kB / 0.8823 GB, free: 1.641 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000114/0.00467, allocations: 142.7 kB / 0.8824 GB, free: 1.473 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.004672, allocations: 4.188 kB / 0.8824 GB, free: 1.469 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.753e-05/0.004709, allocations: 92.73 kB / 0.8825 GB, free: 1.355 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001368/0.004846, allocations: 4 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.0001826/0.005029, allocations: 140 kB / 0.8827 GB, free: 1.18 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.365e-05/0.005062, allocations: 59.34 kB / 0.8827 GB, free: 1.102 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.923e-05/0.005092, allocations: 11.92 kB / 0.8827 GB, free: 1.09 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.307e-05/0.005105, allocations: 8.5 kB / 0.8827 GB, free: 1.082 MB / 0.8386 GB Notification: Performance of SimCode: time 3.91e-07/0.005105, allocations: 4.062 kB / 0.8827 GB, free: 1.078 MB / 0.8386 GB Notification: Performance of Templates: time 0.002043/0.007148, allocations: 0.5784 MB / 0.8833 GB, free: 0.5156 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.412322634831071]