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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0008913/0.0008915, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.004975/0.004975, allocations: 172.4 kB / 16.26 MB, free: 6.676 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.223/1.223, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.124/2.124, allocations: 390.9 MB / 0.6664 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002858/0.0002859, allocations: 8 kB / 0.8161 GB, free: 13.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5235/0.5238, allocations: 142.4 MB / 0.9552 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.0009641/0.5248, allocations: 1.009 MB / 0.9562 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002988/0.5278, allocations: 3.717 MB / 0.9598 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.461e-05/0.5278, allocations: 1.719 kB / 0.9598 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.181e-05/0.5278, allocations: 7.984 kB / 0.9598 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003152/0.5281, allocations: 84.66 kB / 0.9599 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001993/0.5284, allocations: 92.72 kB / 0.96 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.635e-05/0.5284, allocations: 28.23 kB / 0.96 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 2.739e-05/0.5284, allocations: 10.67 kB / 0.96 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.122e-05/0.5285, allocations: 25.55 kB / 0.96 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.607e-05/0.5286, allocations: 36.53 kB / 0.9601 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.896e-06/0.5286, allocations: 1.375 kB / 0.9601 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003511/0.529, allocations: 303.6 kB / 0.9604 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.03e-05/0.529, allocations: 5.359 kB / 0.9604 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.131e-05/0.529, allocations: 32.39 kB / 0.9604 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000156/0.5292, allocations: 116.7 kB / 0.9605 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.5292, allocations: 1.375 kB / 0.9605 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.084e-06/0.5292, allocations: 0 / 0.9605 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.775e-06/0.5292, allocations: 7.938 kB / 0.9605 GB, free: 3.434 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.00025/0.5295, allocations: 357.1 kB / 0.9609 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.255e-05/0.5295, allocations: 9.625 kB / 0.9609 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.096e-05/0.5295, allocations: 30.75 kB / 0.9609 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.7e-05/0.5296, allocations: 2.312 kB / 0.9609 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.077e-05/0.5296, allocations: 169.7 kB / 0.9611 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.756e-06/0.5296, allocations: 1.75 kB / 0.9611 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.993e-06/0.5297, allocations: 384 / 0.9611 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.536e-05/0.5297, allocations: 37.75 kB / 0.9611 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.16e-06/0.5297, allocations: 4 kB / 0.9611 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.951e-06/0.5297, allocations: 0 / 0.9611 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.5298, allocations: 1.375 kB / 0.9611 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.053e-05/0.5298, allocations: 12.06 kB / 0.9611 GB, free: 2.758 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.387e-05/0.5299, allocations: 153.8 kB / 0.9613 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.79e-05/0.5299, allocations: 20.08 kB / 0.9613 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.494e-05/0.5299, allocations: 7.609 kB / 0.9613 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001824/0.5301, allocations: 105.4 kB / 0.9614 GB, free: 2.422 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.587e-05/0.5302, allocations: 39.88 kB / 0.9614 GB, free: 2.375 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.5302, allocations: 0 / 0.9614 GB, free: 2.375 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001064/0.5303, allocations: 40.64 kB / 0.9615 GB, free: 2.34 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.898e-05/0.5303, allocations: 52.78 kB / 0.9615 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.394e-05/0.5304, allocations: 103.5 kB / 0.9616 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.67e-06/0.5304, allocations: 29.7 kB / 0.9616 GB, free: 2.137 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.325e-05/0.5304, allocations: 85.52 kB / 0.9617 GB, free: 2.051 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.667e-05/0.5304, allocations: 9.219 kB / 0.9617 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.66e-05/0.5304, allocations: 9.719 kB / 0.9617 GB, free: 2.027 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.376e-05/0.5305, allocations: 316.2 kB / 0.962 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.045e-05/0.5305, allocations: 1.375 kB / 0.962 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.426e-06/0.5305, allocations: 6.75 kB / 0.962 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.561e-05/0.5305, allocations: 14.42 kB / 0.9621 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.5305, allocations: 1.375 kB / 0.9621 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.058e-05/0.5306, allocations: 49.77 kB / 0.9621 GB, free: 1.648 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.027e-05/0.5306, allocations: 6.906 kB / 0.9621 GB, free: 1.648 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.136e-06/0.5306, allocations: 0 / 0.9621 GB, free: 1.648 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.817e-06/0.5306, allocations: 5.359 kB / 0.9621 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.129e-05/0.5307, allocations: 2.75 kB / 0.9621 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.857e-06/0.5307, allocations: 1.375 kB / 0.9621 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.49e-05/0.5307, allocations: 0 / 0.9621 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.238e-06/0.5307, allocations: 1.625 kB / 0.9621 GB, free: 1.645 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.596e-05/0.5307, allocations: 111.2 kB / 0.9622 GB, free: 1.527 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.206e-06/0.5308, allocations: 9.219 kB / 0.9622 GB, free: 1.52 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.176e-05/0.5308, allocations: 50.38 kB / 0.9623 GB, free: 1.469 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.5308, allocations: 1.375 kB / 0.9623 GB, free: 1.469 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.5309, allocations: 4 kB / 0.9623 GB, free: 1.465 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.724e-06/0.5309, allocations: 0 / 0.9623 GB, free: 1.465 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.269e-05/0.5309, allocations: 157.8 kB / 0.9624 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.5309, allocations: 5.312 kB / 0.9624 GB, free: 1.262 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.045e-05/0.5309, allocations: 6.781 kB / 0.9625 GB, free: 1.258 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.531, allocations: 0 / 0.9625 GB, free: 1.258 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.27e-06/0.531, allocations: 1.375 kB / 0.9625 GB, free: 1.258 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.531, allocations: 0 / 0.9625 GB, free: 1.258 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.531, allocations: 1.375 kB / 0.9625 GB, free: 1.258 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.833e-05/0.531, allocations: 62.75 kB / 0.9625 GB, free: 1.188 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.152e-05/0.5311, allocations: 82.42 kB / 0.9626 GB, free: 1.09 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.016e-05/0.5311, allocations: 17.17 kB / 0.9626 GB, free: 1.074 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.471e-05/0.5311, allocations: 4 kB / 0.9626 GB, free: 1.07 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.818e-06/0.5311, allocations: 1.344 kB / 0.9626 GB, free: 1.07 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.535e-06/0.5311, allocations: 1.344 kB / 0.9626 GB, free: 1.07 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.763e-05/0.5311, allocations: 79.28 kB / 0.9627 GB, free: 0.9961 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.5312, allocations: 0 / 0.9627 GB, free: 0.9961 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002057/0.5314, allocations: 21.53 kB / 0.9627 GB, free: 0.9922 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.0002477/0.5316, allocations: 0.6423 MB / 0.9633 GB, free: 372 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 5.41e-05/0.5317, allocations: 10.75 kB / 0.9634 GB, free: 368 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.5317, allocations: 1 kB / 0.9634 GB, free: 368 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.111e-05/0.5317, allocations: 3.594 kB / 0.9634 GB, free: 368 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001688/0.5319, allocations: 10.06 kB / 0.9634 GB, free: 360 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002868/0.5322, allocations: 181.3 kB / 0.9635 GB, free: 176 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001843/0.5324, allocations: 0.677 MB / 0.9642 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.616e-05/0.5324, allocations: 5.938 kB / 0.9642 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.169e-05/0.5324, allocations: 10.97 kB / 0.9642 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of SimCode: time 3.21e-07/0.5324, allocations: 0 / 0.9642 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4439/0.9764, allocations: 1.466 MB / 0.9656 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003152/0.9767, allocations: 239.2 kB / 0.9659 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.5/2.477, allocations: 0 / 0.9659 GB, free: 14.54 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