Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001479/0.001479, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001457/0.001457, allocations: 192.6 kB / 16.25 MB, free: 6.586 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.201/1.201, allocations: 222.9 MB / 239.9 MB, free: 4.496 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.059/2.059, allocations: 390.2 MB / 0.6644 GB, free: 0.543 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001154/0.001154, allocations: 63.91 kB / 0.8122 GB, free: 14.65 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4611/0.4623, allocations: 140.4 MB / 0.9492 GB, free: 9.195 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.001707/0.464, allocations: 1.347 MB / 0.9506 GB, free: 8.129 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00262/0.4666, allocations: 3.734 MB / 0.9542 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.222e-05/0.4667, allocations: 0 / 0.9542 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.391e-05/0.4667, allocations: 1 kB / 0.9542 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003337/0.467, allocations: 91.33 kB / 0.9543 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002377/0.4673, allocations: 114.3 kB / 0.9544 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.229e-05/0.4673, allocations: 29.55 kB / 0.9544 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 2.568e-05/0.4674, allocations: 5.375 kB / 0.9544 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.484e-05/0.4674, allocations: 27 kB / 0.9545 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.299e-05/0.4675, allocations: 44.8 kB / 0.9545 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.316e-06/0.4675, allocations: 0 / 0.9545 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003371/0.4679, allocations: 297.2 kB / 0.9548 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.614e-06/0.4679, allocations: 0.9688 kB / 0.9548 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.705e-05/0.4679, allocations: 8.062 kB / 0.9548 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001524/0.4681, allocations: 124.3 kB / 0.9549 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.4681, allocations: 5.188 kB / 0.9549 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.613e-06/0.4681, allocations: 0 / 0.9549 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.577e-06/0.4681, allocations: 3.938 kB / 0.9549 GB, free: 4.648 MB / 0.7169 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.0002386/0.4683, allocations: 355.7 kB / 0.9553 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 2.924e-05/0.4684, allocations: 9.25 kB / 0.9553 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.708e-05/0.4684, allocations: 30.75 kB / 0.9553 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.948e-05/0.4684, allocations: 10.05 kB / 0.9553 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.517e-05/0.4685, allocations: 170.7 kB / 0.9555 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.456e-06/0.4685, allocations: 384 / 0.9555 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.246e-06/0.4685, allocations: 5.469 kB / 0.9555 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.537e-05/0.4686, allocations: 37.11 kB / 0.9555 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.661e-06/0.4686, allocations: 0 / 0.9555 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.681e-06/0.4686, allocations: 1.094 kB / 0.9555 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.4686, allocations: 0 / 0.9555 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.682e-05/0.4686, allocations: 7.672 kB / 0.9555 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.635e-05/0.4687, allocations: 154.5 kB / 0.9557 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.912e-05/0.4688, allocations: 28.22 kB / 0.9557 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.53e-05/0.4688, allocations: 16.11 kB / 0.9557 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001826/0.469, allocations: 98.62 kB / 0.9558 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.404e-05/0.469, allocations: 31.72 kB / 0.9558 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.469, allocations: 0 / 0.9558 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001032/0.4691, allocations: 44.31 kB / 0.9559 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.601e-05/0.4691, allocations: 56.62 kB / 0.9559 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.137e-05/0.4692, allocations: 103.7 kB / 0.956 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.441e-06/0.4692, allocations: 29.64 kB / 0.9561 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.19e-05/0.4692, allocations: 81.36 kB / 0.9561 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.547e-05/0.4692, allocations: 5.125 kB / 0.9561 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.188e-05/0.4693, allocations: 11.97 kB / 0.9562 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.008e-05/0.4693, allocations: 315.9 kB / 0.9565 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.132e-05/0.4693, allocations: 2.344 kB / 0.9565 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.027e-06/0.4693, allocations: 10.11 kB / 0.9565 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.462e-05/0.4693, allocations: 14.98 kB / 0.9565 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.4694, allocations: 0 / 0.9565 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.844e-05/0.4694, allocations: 47.64 kB / 0.9565 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 8.857e-06/0.4694, allocations: 4.812 kB / 0.9565 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.046e-06/0.4694, allocations: 0 / 0.9565 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.716e-06/0.4694, allocations: 1.156 kB / 0.9565 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.935e-05/0.4695, allocations: 6.469 kB / 0.9565 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.048e-06/0.4695, allocations: 5.109 kB / 0.9565 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.415e-05/0.4695, allocations: 4.094 kB / 0.9565 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.278e-06/0.4695, allocations: 1.156 kB / 0.9565 GB, free: 2.852 MB / 0.7169 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 3.318e-05/0.4696, allocations: 115 kB / 0.9567 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.264e-06/0.4696, allocations: 5.219 kB / 0.9567 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.717e-05/0.4696, allocations: 47.47 kB / 0.9567 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.4697, allocations: 1.375 kB / 0.9567 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.836e-06/0.4697, allocations: 0 / 0.9567 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.773e-06/0.4697, allocations: 4.031 kB / 0.9567 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.574e-05/0.4697, allocations: 154.6 kB / 0.9569 GB, free: 2.48 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.4697, allocations: 3.938 kB / 0.9569 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.01e-05/0.4697, allocations: 3.531 kB / 0.9569 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.4698, allocations: 0 / 0.9569 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.082e-06/0.4698, allocations: 8.984 kB / 0.9569 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.4698, allocations: 0 / 0.9569 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.4698, allocations: 1.094 kB / 0.9569 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.262e-05/0.4698, allocations: 67.31 kB / 0.9569 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.969e-05/0.4699, allocations: 86.27 kB / 0.957 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.168e-06/0.4699, allocations: 0.9688 kB / 0.957 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.451e-05/0.4699, allocations: 5.25 kB / 0.957 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.947e-06/0.4699, allocations: 3.984 kB / 0.957 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.275e-06/0.4699, allocations: 1.094 kB / 0.957 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.698e-05/0.4699, allocations: 83.66 kB / 0.9571 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.4699, allocations: 0 / 0.9571 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001839/0.4701, allocations: 21.38 kB / 0.9571 GB, free: 2.203 MB / 0.7169 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.0002331/0.4704, allocations: 0.6461 MB / 0.9578 GB, free: 1.57 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 5.74e-05/0.4704, allocations: 12.41 kB / 0.9578 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.4704, allocations: 0 / 0.9578 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.174e-05/0.4704, allocations: 4.812 kB / 0.9578 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001596/0.4706, allocations: 9.828 kB / 0.9578 GB, free: 1.559 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002831/0.4709, allocations: 172.1 kB / 0.958 GB, free: 1.387 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.424e-05/0.471, allocations: 0.6738 MB / 0.9586 GB, free: 0.6914 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.478e-05/0.471, allocations: 14.11 kB / 0.9586 GB, free: 0.6797 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.926e-05/0.471, allocations: 12.91 kB / 0.9586 GB, free: 0.668 MB / 0.7169 GB Notification: Performance of SimCode: time 2.41e-07/0.471, allocations: 0 / 0.9586 GB, free: 0.668 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.615/5.086, allocations: 1.545 MB / 0.9601 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003272/5.086, allocations: 234.9 kB / 0.9604 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.501/6.587, allocations: 0 / 0.9604 GB, free: 15.68 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance.fmu > Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches