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.0009328/0.0009328, allocations: 73.97 kB / 20.65 MB, free: 3.848 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.001004/0.001004, allocations: 169 kB / 24.06 MB, free: 456 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 1.001/1.001, allocations: 177.1 MB / 204.5 MB, free: 5.477 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.114/2.114, allocations: 429.5 MB / 0.6743 GB, free: 3.898 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.102e-06/1.102e-06, allocations: 0 / 0.8794 GB, free: 5.949 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.521e-05/1.631e-05, allocations: 2.312 kB / 0.8794 GB, free: 5.945 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001074/0.00109, allocations: 0.6164 MB / 0.88 GB, free: 5.355 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0001797/0.00127, allocations: 36.66 kB / 0.8801 GB, free: 5.32 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.026e-05/0.00129, allocations: 0 / 0.8801 GB, free: 5.32 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.489e-05/0.001325, allocations: 3.984 kB / 0.8801 GB, free: 5.316 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 3.225e-05/0.001357, allocations: 0.9844 kB / 0.8801 GB, free: 5.316 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.000179/0.001536, allocations: 15.92 kB / 0.8801 GB, free: 5.301 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 6.67e-05/0.001603, allocations: 4 kB / 0.8801 GB, free: 5.297 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.282e-05/0.001636, allocations: 0 / 0.8801 GB, free: 5.297 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 3.188e-05/0.001668, allocations: 5.25 kB / 0.8801 GB, free: 5.293 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.7e-05/0.001705, allocations: 0 / 0.8801 GB, free: 5.293 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.124e-05/0.001716, allocations: 2.062 kB / 0.8801 GB, free: 5.293 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 6.489e-05/0.001781, allocations: 19.97 kB / 0.8801 GB, free: 5.273 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.771e-05/0.001808, allocations: 9.078 kB / 0.8801 GB, free: 5.266 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.499e-05/0.001823, allocations: 6.344 kB / 0.8801 GB, free: 5.262 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 7.989e-05/0.001903, allocations: 27.91 kB / 0.8802 GB, free: 5.234 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.533e-06/0.001905, allocations: 0 / 0.8802 GB, free: 5.234 MB / 0.8386 GB Notification: Performance of FrontEnd: time 4.41e-07/0.001905, allocations: 0 / 0.8802 GB, free: 5.234 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.386e-06/0.001909, allocations: 0.9375 kB / 0.8802 GB, free: 5.234 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.0002495/0.002158, allocations: 386.3 kB / 0.8805 GB, free: 4.812 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.087e-05/0.002189, allocations: 9.562 kB / 0.8806 GB, free: 4.805 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.533e-05/0.002214, allocations: 0.9375 kB / 0.8806 GB, free: 4.805 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.144e-05/0.002266, allocations: 108.6 kB / 0.8807 GB, free: 4.672 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.656e-06/0.002274, allocations: 384 / 0.8807 GB, free: 4.672 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.192e-06/0.002281, allocations: 1.719 kB / 0.8807 GB, free: 4.672 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.686e-05/0.002358, allocations: 75.89 kB / 0.8807 GB, free: 4.586 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.261e-06/0.002364, allocations: 4.172 kB / 0.8807 GB, free: 4.582 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.31e-06/0.002369, allocations: 384 / 0.8807 GB, free: 4.582 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.185e-05/0.002391, allocations: 8.375 kB / 0.8807 GB, free: 4.574 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.352e-05/0.002414, allocations: 41.62 kB / 0.8808 GB, free: 4.527 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002026/0.002617, allocations: 248.3 kB / 0.881 GB, free: 4.258 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 3.997e-05/0.002657, allocations: 56.78 kB / 0.8811 GB, free: 4.184 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.772e-05/0.002675, allocations: 41.36 kB / 0.8811 GB, free: 4.133 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.446e-06/0.002678, allocations: 3.938 kB / 0.8811 GB, free: 4.129 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.82e-05/0.002696, allocations: 37.45 kB / 0.8812 GB, free: 4.082 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 7.82e-07/0.002697, allocations: 0 / 0.8812 GB, free: 4.082 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 0.000119/0.002816, allocations: 114.8 kB / 0.8813 GB, free: 3.945 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.274e-05/0.002849, allocations: 85.22 kB / 0.8813 GB, free: 3.844 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.274e-05/0.002912, allocations: 173.9 kB / 0.8815 GB, free: 3.656 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.597e-06/0.00292, allocations: 29.7 kB / 0.8815 GB, free: 3.621 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.529e-05/0.002966, allocations: 150.6 kB / 0.8817 GB, free: 3.469 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.36e-06/0.002971, allocations: 7.953 kB / 0.8817 GB, free: 3.461 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.051e-05/0.003001, allocations: 35.34 kB / 0.8817 GB, free: 3.418 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.003104, allocations: 492.1 kB / 0.8822 GB, free: 2.926 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.755e-05/0.003121, allocations: 29.7 kB / 0.8822 GB, free: 2.891 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.456e-05/0.003166, allocations: 107.2 kB / 0.8823 GB, free: 2.746 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.86e-05/0.003235, allocations: 148.7 kB / 0.8825 GB, free: 2.555 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.003237, allocations: 4 kB / 0.8825 GB, free: 2.551 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.42e-05/0.003332, allocations: 137.1 kB / 0.8826 GB, free: 2.398 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/0.003353, allocations: 33.73 kB / 0.8826 GB, free: 2.359 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.003358, allocations: 4 kB / 0.8826 GB, free: 2.355 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.216e-06/0.003366, allocations: 4 kB / 0.8826 GB, free: 2.352 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.365e-05/0.00341, allocations: 11.98 kB / 0.8826 GB, free: 2.34 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.707e-06/0.003414, allocations: 4 kB / 0.8827 GB, free: 2.336 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.171e-05/0.003456, allocations: 11.95 kB / 0.8827 GB, free: 2.324 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.697e-06/0.003464, allocations: 4 kB / 0.8827 GB, free: 2.32 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.284e-05/0.003527, allocations: 194.1 kB / 0.8829 GB, free: 2.113 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.649e-05/0.003544, allocations: 11.94 kB / 0.8829 GB, free: 2.102 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.067e-05/0.003554, allocations: 7.453 kB / 0.8829 GB, free: 2.098 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.003555, allocations: 4 kB / 0.8829 GB, free: 2.094 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.562e-06/0.003557, allocations: 0 / 0.8829 GB, free: 2.094 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.003559, allocations: 0 / 0.8829 GB, free: 2.094 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.662e-05/0.003636, allocations: 97.27 kB / 0.883 GB, free: 1.973 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.003637, allocations: 0 / 0.883 GB, free: 1.973 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.41e-07/0.003637, allocations: 4 kB / 0.883 GB, free: 1.969 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.51e-07/0.003638, allocations: 0 / 0.883 GB, free: 1.969 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.649e-06/0.003642, allocations: 7.922 kB / 0.883 GB, free: 1.961 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.71e-07/0.003643, allocations: 0 / 0.883 GB, free: 1.961 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.003643, allocations: 0 / 0.883 GB, free: 1.961 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.512e-05/0.003739, allocations: 248 kB / 0.8832 GB, free: 1.688 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.033e-06/0.003746, allocations: 3.984 kB / 0.8832 GB, free: 1.684 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.125e-06/0.003754, allocations: 3.938 kB / 0.8832 GB, free: 1.68 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.841e-05/0.003782, allocations: 4 kB / 0.8832 GB, free: 1.676 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.394e-06/0.00379, allocations: 0 / 0.8832 GB, free: 1.676 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.815e-06/0.003792, allocations: 0 / 0.8832 GB, free: 1.676 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.435e-05/0.003827, allocations: 135.2 kB / 0.8834 GB, free: 1.543 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.003827, allocations: 0 / 0.8834 GB, free: 1.543 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001513/0.003978, allocations: 8 kB / 0.8834 GB, free: 1.535 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 9.974e-05/0.004078, allocations: 103.2 kB / 0.8835 GB, free: 1.422 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001013/0.004179, allocations: 147.2 kB / 0.8836 GB, free: 1.25 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.00418, allocations: 0 / 0.8836 GB, free: 1.25 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.813e-05/0.004209, allocations: 96.72 kB / 0.8837 GB, free: 1.133 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001302/0.004339, allocations: 1.375 kB / 0.8837 GB, free: 1.133 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001556/0.004494, allocations: 147.9 kB / 0.8838 GB, free: 0.9531 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.612e-05/0.00452, allocations: 53.7 kB / 0.8839 GB, free: 0.8828 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.111e-05/0.004541, allocations: 12.55 kB / 0.8839 GB, free: 0.8711 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.113e-05/0.004583, allocations: 74.2 kB / 0.884 GB, free: 0.7969 MB / 0.8386 GB Notification: Performance of SimCode: time 6.41e-07/0.004583, allocations: 0 / 0.884 GB, free: 0.7969 MB / 0.8386 GB Notification: Performance of Templates: time 0.001905/0.006489, allocations: 0.6084 MB / 0.8846 GB, free: 204 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.210997371003032]