Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.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.0009264/0.0009264, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.0009828/0.0009828, allocations: 165 kB / 24.17 MB, free: 328 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.932/0.932, allocations: 177.1 MB / 204.6 MB, free: 4.996 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.819/1.819, allocations: 377.9 MB / 0.624 GB, free: 8.359 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 0.76 GB, free: 6.609 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.463e-05/2.652e-05, allocations: 2.312 kB / 0.76 GB, free: 6.605 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.001503/0.001529, allocations: 0.5761 MB / 0.7606 GB, free: 6.047 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0001838/0.001713, allocations: 108.8 kB / 0.7607 GB, free: 5.941 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.151e-05/0.001734, allocations: 1.812 kB / 0.7607 GB, free: 5.941 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 8.137e-05/0.001816, allocations: 7.938 kB / 0.7607 GB, free: 5.934 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 4.629e-05/0.001862, allocations: 4.594 kB / 0.7607 GB, free: 5.93 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001105/0.001973, allocations: 33.48 kB / 0.7607 GB, free: 5.898 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 7.071e-05/0.002043, allocations: 29.17 kB / 0.7608 GB, free: 5.871 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.058e-05/0.002074, allocations: 0.5 kB / 0.7608 GB, free: 5.871 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 3.723e-05/0.002111, allocations: 20.53 kB / 0.7608 GB, free: 5.852 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 5.449e-05/0.002166, allocations: 18.05 kB / 0.7608 GB, free: 5.836 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.647e-05/0.002182, allocations: 4 kB / 0.7608 GB, free: 5.832 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 3.398e-05/0.002216, allocations: 8.781 kB / 0.7608 GB, free: 5.824 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.135e-05/0.002227, allocations: 0 / 0.7608 GB, free: 5.824 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.239e-05/0.00225, allocations: 17.45 kB / 0.7608 GB, free: 5.809 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 8.764e-05/0.002337, allocations: 36.77 kB / 0.7609 GB, free: 5.773 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.002339, allocations: 0.6562 kB / 0.7609 GB, free: 5.773 MB / 0.7136 GB Notification: Performance of FrontEnd: time 7.71e-07/0.00234, allocations: 0 / 0.7609 GB, free: 5.773 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.886e-06/0.002343, allocations: 1.156 kB / 0.7609 GB, free: 5.773 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002123/0.002555, allocations: 251.5 kB / 0.7611 GB, free: 5.496 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.985e-05/0.002585, allocations: 8.031 kB / 0.7611 GB, free: 5.488 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.752e-05/0.002613, allocations: 9.969 kB / 0.7611 GB, free: 5.48 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.509e-05/0.002688, allocations: 113.8 kB / 0.7612 GB, free: 5.344 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.867e-06/0.002697, allocations: 4.906 kB / 0.7612 GB, free: 5.34 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.898e-06/0.002707, allocations: 4.375 kB / 0.7612 GB, free: 5.336 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.873e-05/0.002785, allocations: 81.7 kB / 0.7613 GB, free: 5.246 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.799e-06/0.00279, allocations: 192 / 0.7613 GB, free: 5.246 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.203e-06/0.002797, allocations: 384 / 0.7613 GB, free: 5.246 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.517e-06/0.002801, allocations: 1.578 kB / 0.7613 GB, free: 5.246 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.572e-05/0.002827, allocations: 50.78 kB / 0.7614 GB, free: 5.191 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.746e-05/0.002884, allocations: 53.05 kB / 0.7614 GB, free: 5.125 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.383e-05/0.002928, allocations: 52.31 kB / 0.7615 GB, free: 5.059 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.458e-05/0.002952, allocations: 47.36 kB / 0.7615 GB, free: 5.004 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.715e-06/0.002955, allocations: 0 / 0.7615 GB, free: 5.004 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.624e-05/0.002971, allocations: 31.09 kB / 0.7616 GB, free: 4.965 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 6.82e-07/0.002972, allocations: 0.75 kB / 0.7616 GB, free: 4.965 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 0.0001256/0.003098, allocations: 152 kB / 0.7617 GB, free: 4.793 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.837e-05/0.003126, allocations: 77.11 kB / 0.7618 GB, free: 4.699 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.169e-05/0.003178, allocations: 102.7 kB / 0.7619 GB, free: 4.586 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.12e-05/0.003189, allocations: 27.2 kB / 0.7619 GB, free: 4.555 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 1.787e-05/0.003207, allocations: 84.14 kB / 0.762 GB, free: 4.469 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.962e-05/0.003226, allocations: 9.266 kB / 0.762 GB, free: 4.461 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.873e-05/0.003255, allocations: 25.7 kB / 0.762 GB, free: 4.43 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.88e-05/0.003324, allocations: 318.8 kB / 0.7623 GB, free: 4.109 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.277e-05/0.003347, allocations: 38.67 kB / 0.7623 GB, free: 4.066 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.986e-05/0.003367, allocations: 38.45 kB / 0.7624 GB, free: 4.023 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.391e-05/0.003411, allocations: 81.52 kB / 0.7625 GB, free: 3.93 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.003412, allocations: 0 / 0.7625 GB, free: 3.93 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.301e-05/0.003485, allocations: 115.8 kB / 0.7626 GB, free: 3.801 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.533e-05/0.00351, allocations: 33.7 kB / 0.7626 GB, free: 3.762 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.003515, allocations: 0 / 0.7626 GB, free: 3.762 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.526e-06/0.003523, allocations: 0 / 0.7626 GB, free: 3.762 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.855e-06/0.003526, allocations: 0.9844 kB / 0.7626 GB, free: 3.762 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.003535, allocations: 3.984 kB / 0.7626 GB, free: 3.758 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.203e-05/0.003597, allocations: 4 kB / 0.7626 GB, free: 3.754 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.233e-06/0.003604, allocations: 0 / 0.7626 GB, free: 3.754 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (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 prepare postOptimizeDAE: time 5.988e-05/0.003664, allocations: 145.8 kB / 0.7628 GB, free: 3.598 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.276e-05/0.003677, allocations: 11.98 kB / 0.7628 GB, free: 3.586 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.022e-05/0.003687, allocations: 3.156 kB / 0.7628 GB, free: 3.582 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.562e-06/0.003689, allocations: 0 / 0.7628 GB, free: 3.582 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-06/0.00369, allocations: 0 / 0.7628 GB, free: 3.582 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.003692, allocations: 1.625 kB / 0.7628 GB, free: 3.582 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.622e-05/0.003738, allocations: 65.84 kB / 0.7628 GB, free: 3.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.00374, allocations: 4.891 kB / 0.7628 GB, free: 3.496 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.31e-07/0.003741, allocations: 0 / 0.7628 GB, free: 3.496 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.32e-07/0.003742, allocations: 0 / 0.7628 GB, free: 3.496 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.663e-06/0.003748, allocations: 14.38 kB / 0.7629 GB, free: 3.484 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.3e-07/0.003749, allocations: 0 / 0.7629 GB, free: 3.484 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-07/0.003749, allocations: 0 / 0.7629 GB, free: 3.484 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.32e-05/0.003833, allocations: 137.3 kB / 0.763 GB, free: 3.32 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.211e-06/0.003839, allocations: 7.984 kB / 0.763 GB, free: 3.312 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.038e-05/0.003849, allocations: 7.984 kB / 0.763 GB, free: 3.305 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.027e-05/0.003879, allocations: 4.875 kB / 0.763 GB, free: 3.301 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.145e-06/0.003888, allocations: 0 / 0.763 GB, free: 3.301 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.438e-06/0.003892, allocations: 4.5 kB / 0.763 GB, free: 3.297 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.161e-05/0.003904, allocations: 15.47 kB / 0.763 GB, free: 3.281 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.1e-08/0.003904, allocations: 0 / 0.763 GB, free: 3.281 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001037/0.004007, allocations: 12.88 kB / 0.763 GB, free: 3.27 MB / 0.7136 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.0001526/0.00416, allocations: 103.2 kB / 0.7631 GB, free: 3.168 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.342e-05/0.004253, allocations: 139.6 kB / 0.7633 GB, free: 3.004 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.004257, allocations: 4 kB / 0.7633 GB, free: 3 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.672e-05/0.004294, allocations: 102 kB / 0.7634 GB, free: 2.879 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.989e-05/0.004354, allocations: 10.77 kB / 0.7634 GB, free: 2.871 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001951/0.004549, allocations: 142.5 kB / 0.7635 GB, free: 2.699 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.317e-05/0.004572, allocations: 51.36 kB / 0.7636 GB, free: 2.629 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.623e-05/0.004598, allocations: 7.984 kB / 0.7636 GB, free: 2.621 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.727e-05/0.004666, allocations: 72.48 kB / 0.7636 GB, free: 2.551 MB / 0.7136 GB Notification: Performance of SimCode: time 4.91e-07/0.004666, allocations: 0 / 0.7636 GB, free: 2.551 MB / 0.7136 GB Notification: Performance of Templates: time 0.002435/0.007101, allocations: 1.329 MB / 0.7649 GB, free: 1.305 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues.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.647693023085594]