Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand.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: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001556/0.001556, allocations: 102.2 kB / 16.35 MB, free: 5.875 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.001787/0.001787, allocations: 194.3 kB / 17.3 MB, free: 5.516 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.34/1.34, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.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.172/2.172, allocations: 390.3 MB / 0.6655 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001305, allocations: 63.62 kB / 0.8141 GB, free: 32.57 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.234/0.2353, allocations: 140.4 MB / 0.9512 GB, free: 8.023 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand): time 0.002458/0.2378, allocations: 1.33 MB / 0.9525 GB, free: 6.684 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001209/0.2391, allocations: 0.7461 MB / 0.9532 GB, free: 5.934 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.588e-05/0.2391, allocations: 4 kB / 0.9532 GB, free: 5.93 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.731e-05/0.2391, allocations: 3.938 kB / 0.9532 GB, free: 5.926 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5e-05/0.2392, allocations: 7.922 kB / 0.9532 GB, free: 5.918 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005371/0.2398, allocations: 131.6 kB / 0.9533 GB, free: 5.789 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 5.207e-05/0.2398, allocations: 19.86 kB / 0.9534 GB, free: 5.77 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.117e-05/0.2399, allocations: 0 / 0.9534 GB, free: 5.77 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.474e-05/0.2399, allocations: 15.92 kB / 0.9534 GB, free: 5.754 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 1.976e-05/0.2399, allocations: 4 kB / 0.9534 GB, free: 5.75 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.124e-05/0.24, allocations: 0 / 0.9534 GB, free: 5.75 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003671/0.2403, allocations: 175.7 kB / 0.9535 GB, free: 5.578 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.241e-05/0.2403, allocations: 3.938 kB / 0.9535 GB, free: 5.574 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.297e-05/0.2404, allocations: 8 kB / 0.9535 GB, free: 5.566 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002178/0.2406, allocations: 119.7 kB / 0.9537 GB, free: 5.449 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.2406, allocations: 4 kB / 0.9537 GB, free: 5.445 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.643e-06/0.2406, allocations: 0 / 0.9537 GB, free: 5.445 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.097e-06/0.2406, allocations: 0 / 0.9537 GB, free: 5.445 MB / 0.7325 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.0003263/0.241, allocations: 343.4 kB / 0.954 GB, free: 5.062 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.241, allocations: 12.03 kB / 0.954 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.847e-05/0.241, allocations: 12.78 kB / 0.954 GB, free: 5.039 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001111/0.2412, allocations: 168.3 kB / 0.9542 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.021e-05/0.2412, allocations: 4.375 kB / 0.9542 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.747e-06/0.2412, allocations: 384 / 0.9542 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.121e-05/0.2413, allocations: 38 kB / 0.9542 GB, free: 4.789 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.191e-06/0.2413, allocations: 0 / 0.9542 GB, free: 4.789 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.318e-06/0.2413, allocations: 0 / 0.9542 GB, free: 4.789 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.2413, allocations: 0 / 0.9542 GB, free: 4.789 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.007e-05/0.2413, allocations: 11.88 kB / 0.9542 GB, free: 4.777 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001725/0.2415, allocations: 157.7 kB / 0.9544 GB, free: 4.574 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 5.355e-05/0.2416, allocations: 26.61 kB / 0.9544 GB, free: 4.539 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.154e-05/0.2416, allocations: 8.922 kB / 0.9544 GB, free: 4.527 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004925/0.2421, allocations: 133 kB / 0.9545 GB, free: 4.379 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.049e-05/0.2421, allocations: 34.5 kB / 0.9546 GB, free: 4.336 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.2421, allocations: 0 / 0.9546 GB, free: 4.336 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0001429/0.2423, allocations: 49.62 kB / 0.9546 GB, free: 4.281 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.609e-05/0.2423, allocations: 51.41 kB / 0.9547 GB, free: 4.219 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.993e-05/0.2424, allocations: 105.8 kB / 0.9548 GB, free: 4.105 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.159e-05/0.2424, allocations: 25.7 kB / 0.9548 GB, free: 4.074 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.403e-05/0.2425, allocations: 84.27 kB / 0.9549 GB, free: 3.988 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.311e-05/0.2425, allocations: 7.906 kB / 0.9549 GB, free: 3.98 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.778e-05/0.2425, allocations: 13.72 kB / 0.9549 GB, free: 3.961 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.134e-05/0.2426, allocations: 310.8 kB / 0.9552 GB, free: 3.648 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.445e-05/0.2426, allocations: 7.984 kB / 0.9552 GB, free: 3.641 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.056e-05/0.2427, allocations: 4 kB / 0.9552 GB, free: 3.637 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.019e-05/0.2427, allocations: 12.86 kB / 0.9552 GB, free: 3.621 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.2427, allocations: 8 kB / 0.9552 GB, free: 3.613 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.892e-05/0.2428, allocations: 45.86 kB / 0.9553 GB, free: 3.562 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.2428, allocations: 7.938 kB / 0.9553 GB, free: 3.555 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.2428, allocations: 0 / 0.9553 GB, free: 3.555 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.2428, allocations: 4 kB / 0.9553 GB, free: 3.551 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.161e-05/0.2429, allocations: 7.984 kB / 0.9553 GB, free: 3.543 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.127e-06/0.2429, allocations: 0 / 0.9553 GB, free: 3.543 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.214e-05/0.2429, allocations: 0 / 0.9553 GB, free: 3.543 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.72e-06/0.2429, allocations: 0 / 0.9553 GB, free: 3.543 MB / 0.7325 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.132e-05/0.243, allocations: 117.8 kB / 0.9554 GB, free: 3.418 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.277e-06/0.243, allocations: 3.938 kB / 0.9554 GB, free: 3.414 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.475e-05/0.2431, allocations: 52.75 kB / 0.9555 GB, free: 3.355 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.2431, allocations: 0 / 0.9555 GB, free: 3.355 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.2431, allocations: 0 / 0.9555 GB, free: 3.355 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.2431, allocations: 3.984 kB / 0.9555 GB, free: 3.352 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.432e-05/0.2432, allocations: 157.7 kB / 0.9556 GB, free: 3.148 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.2432, allocations: 0 / 0.9556 GB, free: 3.148 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.956e-05/0.2432, allocations: 4 kB / 0.9556 GB, free: 3.145 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.2432, allocations: 3.938 kB / 0.9556 GB, free: 3.141 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.761e-06/0.2433, allocations: 4.031 kB / 0.9556 GB, free: 3.137 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.2433, allocations: 4 kB / 0.9556 GB, free: 3.133 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.2433, allocations: 0 / 0.9556 GB, free: 3.133 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.566e-05/0.2433, allocations: 65.06 kB / 0.9557 GB, free: 3.051 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.252e-05/0.2434, allocations: 88.95 kB / 0.9558 GB, free: 2.945 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.968e-06/0.2434, allocations: 3.938 kB / 0.9558 GB, free: 2.941 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.578e-06/0.2434, allocations: 0 / 0.9558 GB, free: 2.941 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.243e-05/0.2434, allocations: 4.031 kB / 0.9558 GB, free: 2.938 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.594e-06/0.2434, allocations: 0 / 0.9558 GB, free: 2.938 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.704e-05/0.2435, allocations: 87.27 kB / 0.9559 GB, free: 2.852 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2435, allocations: 0 / 0.9559 GB, free: 2.852 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002394/0.2437, allocations: 40 kB / 0.9559 GB, free: 2.812 MB / 0.7325 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.0002804/0.244, allocations: 167.1 kB / 0.9561 GB, free: 2.641 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 7.034e-05/0.2441, allocations: 8 kB / 0.9561 GB, free: 2.633 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2441, allocations: 4.062 kB / 0.9561 GB, free: 2.629 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.628e-05/0.2441, allocations: 4 kB / 0.9561 GB, free: 2.625 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002028/0.2443, allocations: 24.09 kB / 0.9561 GB, free: 2.602 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002257/0.2446, allocations: 97.62 kB / 0.9562 GB, free: 2.48 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002088/0.2448, allocations: 0.6805 MB / 0.9569 GB, free: 1.773 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.143e-05/0.2448, allocations: 6.531 kB / 0.9569 GB, free: 1.77 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.818e-05/0.2448, allocations: 7.438 kB / 0.9569 GB, free: 1.762 MB / 0.7325 GB Notification: Performance of SimCode: time 3.41e-07/0.2449, allocations: 8 kB / 0.9569 GB, free: 1.754 MB / 0.7325 GB Notification: Performance of Templates: time 0.01047/0.2553, allocations: 1.258 MB / 0.9581 GB, free: 0.5547 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Integrand.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches