Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001604/0.001604, allocations: 102.5 kB / 16.27 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001573/0.001573, allocations: 189.8 kB / 17.19 MB, free: 5.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.412/1.412, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.727/2.727, allocations: 482.4 MB / 0.7553 GB, free: 6.949 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 64.23 kB / 0.9245 GB, free: 15.93 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8749/0.8769, allocations: 162.2 MB / 1.083 GB, free: 1.625 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.002022/0.879, allocations: 0.5531 MB / 1.083 GB, free: 1.281 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0002531/0.8792, allocations: 109.5 kB / 1.084 GB, free: 1.211 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.097e-05/0.8793, allocations: 0 / 1.084 GB, free: 1.211 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001063/0.8794, allocations: 2.266 kB / 1.084 GB, free: 1.211 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.067e-05/0.8795, allocations: 5.219 kB / 1.084 GB, free: 1.207 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001536/0.8796, allocations: 34.05 kB / 1.084 GB, free: 1.191 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.517e-05/0.8797, allocations: 28.3 kB / 1.084 GB, free: 1.184 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.442e-05/0.8798, allocations: 5.172 kB / 1.084 GB, free: 1.18 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.624e-05/0.8798, allocations: 20.2 kB / 1.084 GB, free: 1.172 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.467e-05/0.8799, allocations: 11.12 kB / 1.084 GB, free: 1.168 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.139e-05/0.8799, allocations: 5.281 kB / 1.084 GB, free: 1.164 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 5.418e-05/0.88, allocations: 11.02 kB / 1.084 GB, free: 1.16 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.249e-05/0.88, allocations: 5.469 kB / 1.084 GB, free: 1.156 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.11e-05/0.88, allocations: 5.297 kB / 1.084 GB, free: 1.156 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001104/0.8802, allocations: 29.95 kB / 1.084 GB, free: 1.145 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.8802, allocations: 1.5 kB / 1.084 GB, free: 1.145 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.502e-06/0.8802, allocations: 0 / 1.084 GB, free: 1.145 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.877e-06/0.8802, allocations: 0 / 1.084 GB, free: 1.145 MB / 0.8262 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.0002902/0.8805, allocations: 358.2 kB / 1.084 GB, free: 0.7539 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.8805, allocations: 12.56 kB / 1.084 GB, free: 0.75 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.235e-05/0.8806, allocations: 4.5 kB / 1.084 GB, free: 0.75 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.972e-05/0.8807, allocations: 163.6 kB / 1.084 GB, free: 0.5547 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.8807, allocations: 2.344 kB / 1.084 GB, free: 0.5547 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.187e-05/0.8807, allocations: 7.922 kB / 1.084 GB, free: 0.5508 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001302/0.8809, allocations: 53.59 kB / 1.084 GB, free: 0.5156 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.8809, allocations: 192 / 1.084 GB, free: 0.5156 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/0.8809, allocations: 10.22 kB / 1.084 GB, free: 0.5078 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.8809, allocations: 0 / 1.084 GB, free: 0.5078 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.536e-05/0.8809, allocations: 17.75 kB / 1.084 GB, free: 0.5 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001049/0.8811, allocations: 149.5 kB / 1.084 GB, free: 320 kB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 6.336e-05/0.8811, allocations: 29.64 kB / 1.084 GB, free: 292 kB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.819e-05/0.8812, allocations: 21.06 kB / 1.085 GB, free: 280 kB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 8.155e-06/0.8812, allocations: 0 / 1.085 GB, free: 280 kB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.179e-05/0.8812, allocations: 36.38 kB / 1.085 GB, free: 236 kB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 8.62e-07/0.8812, allocations: 1.188 kB / 1.085 GB, free: 236 kB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0002375/0.8815, allocations: 110 kB / 1.085 GB, free: 156 kB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.659e-05/0.8815, allocations: 83.84 kB / 1.085 GB, free: 56 kB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001075/0.8816, allocations: 97.06 kB / 1.085 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.168e-05/0.8816, allocations: 27.23 kB / 1.085 GB, free: 15.92 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 4.417e-05/0.8817, allocations: 82 kB / 1.085 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.566e-05/0.8817, allocations: 2.844 kB / 1.085 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.724e-05/0.8818, allocations: 26.5 kB / 1.085 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.8819, allocations: 312.9 kB / 1.085 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.738e-05/0.882, allocations: 12.83 kB / 1.085 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.075e-05/0.882, allocations: 9.859 kB / 1.085 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.72e-05/0.8821, allocations: 85.33 kB / 1.085 GB, free: 15.42 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.8821, allocations: 3.938 kB / 1.085 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001498/0.8823, allocations: 94.97 kB / 1.085 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 4.182e-05/0.8823, allocations: 36.83 kB / 1.085 GB, free: 15.31 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.004e-06/0.8823, allocations: 3.938 kB / 1.085 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.8823, allocations: 1.062 kB / 1.085 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.71e-07/0.8824, allocations: 0 / 1.085 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/0.8824, allocations: 5.609 kB / 1.086 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001437/0.8825, allocations: 6.188 kB / 1.086 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.725e-05/0.8825, allocations: 3.453 kB / 1.086 GB, free: 15.3 MB / 0.8419 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 0.0001145/0.8827, allocations: 148.2 kB / 1.086 GB, free: 15.15 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.778e-05/0.8827, allocations: 8.625 kB / 1.086 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.401e-05/0.8827, allocations: 8.031 kB / 1.086 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.8827, allocations: 0.75 kB / 1.086 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.8827, allocations: 0.9688 kB / 1.086 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.8827, allocations: 0 / 1.086 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001261/0.8829, allocations: 151 kB / 1.086 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.8829, allocations: 0 / 1.086 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.61e-07/0.8829, allocations: 0 / 1.086 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.8829, allocations: 2.109 kB / 1.086 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.738e-05/0.8829, allocations: 11.69 kB / 1.086 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.8829, allocations: 0 / 1.086 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/0.8829, allocations: 8.844 kB / 1.086 GB, free: 14.94 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001866/0.8831, allocations: 120.5 kB / 1.086 GB, free: 14.83 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.863e-05/0.8832, allocations: 79.06 kB / 1.086 GB, free: 14.74 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.088e-05/0.8832, allocations: 6.266 kB / 1.086 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.8833, allocations: 10.59 kB / 1.086 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.091e-05/0.8833, allocations: 1.875 kB / 1.086 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.416e-06/0.8833, allocations: 8.656 kB / 1.086 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.237e-05/0.8834, allocations: 77.48 kB / 1.086 GB, free: 14.65 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8834, allocations: 0 / 1.086 GB, free: 14.65 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002049/0.8836, allocations: 16.56 kB / 1.086 GB, free: 14.65 MB / 0.8419 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.0002426/0.8838, allocations: 116.1 kB / 1.086 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001696/0.884, allocations: 97.98 kB / 1.086 GB, free: 14.47 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.884, allocations: 0.5625 kB / 1.086 GB, free: 14.47 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 7.289e-05/0.8841, allocations: 67.58 kB / 1.086 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001419/0.8843, allocations: 12.88 kB / 1.086 GB, free: 14.4 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000321/0.8846, allocations: 124.5 kB / 1.087 GB, free: 14.28 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002739/0.8849, allocations: 0.6716 MB / 1.087 GB, free: 13.58 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.159e-05/0.8849, allocations: 13 kB / 1.087 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of SimCode: time 2.4e-07/0.8849, allocations: 4.125 kB / 1.087 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of Templates: time 0.002969/0.8879, allocations: 0.8862 MB / 1.088 GB, free: 13.48 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches