Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.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.ConvectionResistance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow_nominal|m_flow|R",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow_nominal|m_flow|R",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007111/0.007111, allocations: 97 kB / 15.73 MB, free: 5.949 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.001784/0.001784, allocations: 194.4 kB / 16.67 MB, free: 5.871 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.323/1.323, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.593/2.593, allocations: 472.6 MB / 0.7453 GB, free: 488 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001327, allocations: 55.91 kB / 1.069 GB, free: 9.566 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7064/0.7077, allocations: 159.9 MB / 1.226 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.002493/0.7102, allocations: 1.284 MB / 1.227 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.004496/0.7148, allocations: 3.771 MB / 1.231 GB, free: 8.434 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.005e-05/0.7148, allocations: 3.938 kB / 1.231 GB, free: 8.43 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 1.732e-05/0.7148, allocations: 3.938 kB / 1.231 GB, free: 8.426 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0004083/0.7153, allocations: 107.5 kB / 1.231 GB, free: 8.32 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003035/0.7156, allocations: 131.5 kB / 1.231 GB, free: 8.191 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 5.814e-05/0.7157, allocations: 23.92 kB / 1.231 GB, free: 8.168 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 3.518e-05/0.7157, allocations: 4 kB / 1.231 GB, free: 8.164 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 9.122e-05/0.7158, allocations: 27.84 kB / 1.231 GB, free: 8.137 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 9.33e-05/0.7159, allocations: 47.89 kB / 1.231 GB, free: 8.09 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 9.207e-06/0.7159, allocations: 0 / 1.231 GB, free: 8.09 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004472/0.7164, allocations: 307.6 kB / 1.231 GB, free: 7.789 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 9.678e-06/0.7164, allocations: 0 / 1.231 GB, free: 7.789 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 2.412e-05/0.7164, allocations: 11.94 kB / 1.231 GB, free: 7.777 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002005/0.7166, allocations: 120.2 kB / 1.231 GB, free: 7.664 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.7166, allocations: 0 / 1.231 GB, free: 7.664 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.273e-06/0.7167, allocations: 0 / 1.231 GB, free: 7.664 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.7167, allocations: 0 / 1.231 GB, free: 7.664 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003539/0.717, allocations: 367.1 kB / 1.232 GB, free: 7.258 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.097e-05/0.7171, allocations: 8.031 kB / 1.232 GB, free: 7.25 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.623e-05/0.7171, allocations: 0.9375 kB / 1.232 GB, free: 7.25 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001018/0.7172, allocations: 164.4 kB / 1.232 GB, free: 7.051 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.452e-06/0.7172, allocations: 384 / 1.232 GB, free: 7.051 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.02e-05/0.7172, allocations: 4.375 kB / 1.232 GB, free: 7.047 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.902e-05/0.7173, allocations: 33.83 kB / 1.232 GB, free: 7.008 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/0.7173, allocations: 3.984 kB / 1.232 GB, free: 7.004 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.7173, allocations: 0 / 1.232 GB, free: 7.004 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-06/0.7174, allocations: 0 / 1.232 GB, free: 7.004 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.36e-05/0.7174, allocations: 11.94 kB / 1.232 GB, free: 6.992 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001566/0.7176, allocations: 153.7 kB / 1.232 GB, free: 6.793 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 4.883e-05/0.7176, allocations: 26.61 kB / 1.232 GB, free: 6.758 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.989e-05/0.7176, allocations: 8.922 kB / 1.232 GB, free: 6.746 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002231/0.7179, allocations: 93.09 kB / 1.232 GB, free: 6.637 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.064e-05/0.7179, allocations: 42.48 kB / 1.232 GB, free: 6.586 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.7179, allocations: 0 / 1.232 GB, free: 6.586 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0001318/0.718, allocations: 49.59 kB / 1.232 GB, free: 6.531 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.114e-05/0.7181, allocations: 51.41 kB / 1.232 GB, free: 6.469 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.51e-05/0.7182, allocations: 109.8 kB / 1.232 GB, free: 6.352 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.064e-05/0.7182, allocations: 25.7 kB / 1.232 GB, free: 6.32 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 2.793e-05/0.7182, allocations: 80.14 kB / 1.232 GB, free: 6.238 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.341e-05/0.7182, allocations: 12.02 kB / 1.232 GB, free: 6.227 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.067e-05/0.7183, allocations: 17.72 kB / 1.232 GB, free: 6.203 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.7184, allocations: 310.8 kB / 1.233 GB, free: 5.891 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.642e-05/0.7184, allocations: 12.17 kB / 1.233 GB, free: 5.879 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.247e-06/0.7184, allocations: 0 / 1.233 GB, free: 5.879 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.313e-05/0.7185, allocations: 20.86 kB / 1.233 GB, free: 5.855 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.7185, allocations: 0 / 1.233 GB, free: 5.855 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.526e-05/0.7185, allocations: 45.64 kB / 1.233 GB, free: 5.805 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.7185, allocations: 8 kB / 1.233 GB, free: 5.797 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.7186, allocations: 0 / 1.233 GB, free: 5.797 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.7186, allocations: 0 / 1.233 GB, free: 5.797 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.2e-05/0.7186, allocations: 7.984 kB / 1.233 GB, free: 5.789 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.7186, allocations: 0 / 1.233 GB, free: 5.789 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.787e-05/0.7187, allocations: 4 kB / 1.233 GB, free: 5.785 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.857e-06/0.7187, allocations: 0 / 1.233 GB, free: 5.785 MB / 0.9512 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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.575e-05/0.7187, allocations: 110.4 kB / 1.233 GB, free: 5.668 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.818e-06/0.7188, allocations: 7.922 kB / 1.233 GB, free: 5.66 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001008/0.7189, allocations: 52.78 kB / 1.233 GB, free: 5.605 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.7189, allocations: 4 kB / 1.233 GB, free: 5.602 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.7189, allocations: 0 / 1.233 GB, free: 5.602 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.043e-06/0.7189, allocations: 0 / 1.233 GB, free: 5.602 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.037e-05/0.719, allocations: 157.6 kB / 1.233 GB, free: 5.398 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.719, allocations: 0 / 1.233 GB, free: 5.398 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.516e-05/0.719, allocations: 7.938 kB / 1.233 GB, free: 5.391 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.719, allocations: 0 / 1.233 GB, free: 5.391 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.983e-06/0.719, allocations: 0 / 1.233 GB, free: 5.391 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.719, allocations: 4.031 kB / 1.233 GB, free: 5.387 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.7191, allocations: 0 / 1.233 GB, free: 5.387 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.417e-05/0.7191, allocations: 65.12 kB / 1.233 GB, free: 5.305 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.254e-05/0.7192, allocations: 81.05 kB / 1.233 GB, free: 5.207 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.478e-05/0.7192, allocations: 4 kB / 1.233 GB, free: 5.203 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.781e-05/0.7192, allocations: 0 / 1.233 GB, free: 5.203 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.503e-05/0.7192, allocations: 11.86 kB / 1.233 GB, free: 5.191 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.7193, allocations: 4.031 kB / 1.233 GB, free: 5.188 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 3.543e-05/0.7193, allocations: 83.28 kB / 1.233 GB, free: 5.105 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7193, allocations: 0 / 1.233 GB, free: 5.105 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002057/0.7195, allocations: 27.88 kB / 1.233 GB, free: 5.078 MB / 0.9512 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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.0001783/0.7197, allocations: 135.1 kB / 1.234 GB, free: 4.938 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 7.038e-05/0.7198, allocations: 8 kB / 1.234 GB, free: 4.93 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.7198, allocations: 4 kB / 1.234 GB, free: 4.926 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.338e-05/0.7198, allocations: 12 kB / 1.234 GB, free: 4.914 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002092/0.72, allocations: 4.172 kB / 1.234 GB, free: 4.91 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002648/0.7203, allocations: 127.5 kB / 1.234 GB, free: 4.758 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003092/0.7206, allocations: 0.6768 MB / 1.234 GB, free: 4.055 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.293e-05/0.7206, allocations: 0 / 1.234 GB, free: 4.055 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.816e-05/0.7207, allocations: 19.48 kB / 1.234 GB, free: 4.035 MB / 0.9512 GB Notification: Performance of SimCode: time 2.61e-07/0.7207, allocations: 0 / 1.234 GB, free: 4.035 MB / 0.9512 GB Notification: Performance of Templates: time 0.002783/0.7235, allocations: 0.7436 MB / 1.235 GB, free: 3.305 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches