Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.TimeGeometric.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.TimeGeometric,fileNamePrefix="Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_TimeGeometric",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.TimeGeometric,fileNamePrefix="Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_TimeGeometric",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.007752/0.007752, allocations: 103.5 kB / 15.73 MB, free: 6.039 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.001751/0.001751, allocations: 191.6 kB / 16.67 MB, free: 5.973 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.377/1.377, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.474/2.474, allocations: 437 MB / 0.7105 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001732/0.001732, allocations: 63.91 kB / 1.018 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3081/0.3098, allocations: 151.6 MB / 1.166 GB, free: 7.305 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.TimeGeometric): time 0.002449/0.3123, allocations: 1.29 MB / 1.167 GB, free: 6 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0003711/0.3127, allocations: 123.9 kB / 1.168 GB, free: 5.879 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.763e-05/0.3128, allocations: 0 / 1.168 GB, free: 5.879 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 7.455e-05/0.3129, allocations: 0 / 1.168 GB, free: 5.879 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.147e-05/0.3129, allocations: 11.92 kB / 1.168 GB, free: 5.867 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002885/0.3132, allocations: 31.97 kB / 1.168 GB, free: 5.836 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.121e-05/0.3133, allocations: 19.86 kB / 1.168 GB, free: 5.816 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.724e-05/0.3134, allocations: 0 / 1.168 GB, free: 5.816 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.603e-05/0.3134, allocations: 7.984 kB / 1.168 GB, free: 5.809 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 3.43e-05/0.3134, allocations: 0 / 1.168 GB, free: 5.809 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.089e-05/0.3134, allocations: 3.938 kB / 1.168 GB, free: 5.805 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001118/0.3136, allocations: 39.95 kB / 1.168 GB, free: 5.766 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 8.217e-05/0.3137, allocations: 7.938 kB / 1.168 GB, free: 5.758 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.298e-05/0.3137, allocations: 4 kB / 1.168 GB, free: 5.754 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001104/0.3138, allocations: 38.64 kB / 1.168 GB, free: 5.719 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3138, allocations: 0 / 1.168 GB, free: 5.719 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.793e-06/0.3138, allocations: 4 kB / 1.168 GB, free: 5.715 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.01e-06/0.3138, allocations: 0 / 1.168 GB, free: 5.715 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003226/0.3142, allocations: 336.3 kB / 1.168 GB, free: 5.336 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.3142, allocations: 8.031 kB / 1.168 GB, free: 5.328 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.109e-05/0.3143, allocations: 118 kB / 1.168 GB, free: 5.203 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.575e-05/0.3143, allocations: 76.22 kB / 1.168 GB, free: 5.129 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001736/0.3145, allocations: 243.7 kB / 1.169 GB, free: 4.852 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.45e-05/0.3146, allocations: 154.9 kB / 1.169 GB, free: 4.699 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.278e-05/0.3147, allocations: 150.9 kB / 1.169 GB, free: 4.551 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.948e-05/0.3147, allocations: 105.5 kB / 1.169 GB, free: 4.441 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.366e-05/0.3148, allocations: 79.22 kB / 1.169 GB, free: 4.363 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.558e-05/0.3148, allocations: 154.5 kB / 1.169 GB, free: 4.211 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.412e-05/0.3149, allocations: 150.6 kB / 1.169 GB, free: 4.062 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.429e-05/0.3149, allocations: 158.6 kB / 1.169 GB, free: 3.906 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002937/0.3152, allocations: 453.8 kB / 1.17 GB, free: 3.414 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 8.456e-05/0.3153, allocations: 165.1 kB / 1.17 GB, free: 3.242 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.176e-05/0.3154, allocations: 84.08 kB / 1.17 GB, free: 3.156 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.025e-05/0.3154, allocations: 83.28 kB / 1.17 GB, free: 3.074 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.116e-05/0.3155, allocations: 109.8 kB / 1.17 GB, free: 2.957 MB / 0.92 GB Notification: Performance of pre-optimization done (n=0): time 1.182e-06/0.3155, allocations: 0 / 1.17 GB, free: 2.957 MB / 0.92 GB Notification: Performance of matching and sorting (n=0): time 7.254e-05/0.3155, allocations: 29.64 kB / 1.17 GB, free: 2.922 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.414e-05/0.3156, allocations: 126.7 kB / 1.17 GB, free: 2.785 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001411/0.3158, allocations: 113.8 kB / 1.171 GB, free: 2.664 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.96e-05/0.3158, allocations: 33.7 kB / 1.171 GB, free: 2.625 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.795e-05/0.3158, allocations: 84.12 kB / 1.171 GB, free: 2.539 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.545e-06/0.3158, allocations: 0 / 1.171 GB, free: 2.539 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.562e-05/0.3159, allocations: 21.7 kB / 1.171 GB, free: 2.512 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.316, allocations: 310.8 kB / 1.171 GB, free: 2.199 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.705e-05/0.316, allocations: 11.94 kB / 1.171 GB, free: 2.188 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.715e-05/0.316, allocations: 15.98 kB / 1.171 GB, free: 2.172 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.021e-05/0.3161, allocations: 20.86 kB / 1.171 GB, free: 2.148 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.3161, allocations: 4 kB / 1.171 GB, free: 2.145 MB / 0.92 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001293/0.3162, allocations: 57.62 kB / 1.171 GB, free: 2.082 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.3163, allocations: 13.97 kB / 1.171 GB, free: 2.07 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.762e-06/0.3163, allocations: 0 / 1.171 GB, free: 2.07 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.3163, allocations: 0 / 1.171 GB, free: 2.07 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.182e-06/0.3163, allocations: 3.938 kB / 1.171 GB, free: 2.066 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.3163, allocations: 0 / 1.171 GB, free: 2.066 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.901e-05/0.3163, allocations: 0 / 1.171 GB, free: 2.066 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-06/0.3164, allocations: 3.938 kB / 1.171 GB, free: 2.062 MB / 0.92 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: 1 * 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 0.0001046/0.3165, allocations: 201 kB / 1.171 GB, free: 1.855 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.713e-05/0.3165, allocations: 104.9 kB / 1.171 GB, free: 1.746 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.427e-05/0.3166, allocations: 108.5 kB / 1.171 GB, free: 1.629 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.567e-05/0.3167, allocations: 180.3 kB / 1.172 GB, free: 1.445 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.706e-05/0.3167, allocations: 188.2 kB / 1.172 GB, free: 1.254 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.923e-05/0.3168, allocations: 180.2 kB / 1.172 GB, free: 1.07 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002277/0.317, allocations: 421.2 kB / 1.172 GB, free: 0.6016 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.464e-05/0.3171, allocations: 101 kB / 1.173 GB, free: 0.4961 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.336e-05/0.3171, allocations: 104.9 kB / 1.173 GB, free: 396 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.617e-05/0.3172, allocations: 180.2 kB / 1.173 GB, free: 208 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.075e-05/0.3173, allocations: 180.2 kB / 1.173 GB, free: 20 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.428e-05/0.3173, allocations: 184.5 kB / 1.173 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.201e-05/0.3174, allocations: 180.3 kB / 1.173 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001394/0.3175, allocations: 311.7 kB / 1.174 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.762e-05/0.3176, allocations: 186 kB / 1.174 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.153e-05/0.3177, allocations: 184.2 kB / 1.174 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.093e-05/0.3178, allocations: 109 kB / 1.174 GB, free: 14.81 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.444e-05/0.3179, allocations: 180.2 kB / 1.174 GB, free: 14.63 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.166e-05/0.3179, allocations: 101 kB / 1.174 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.356e-05/0.318, allocations: 91.27 kB / 1.174 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1e-07/0.318, allocations: 0 / 1.174 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002421/0.3182, allocations: 12 kB / 1.174 GB, free: 14.42 MB / 0.9356 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 (0): * Single equations (assignments): 0 * 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.0004644/0.3187, allocations: 0.8243 MB / 1.175 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 7.565e-05/0.3188, allocations: 11.98 kB / 1.175 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3188, allocations: 0 / 1.175 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.753e-06/0.3188, allocations: 0 / 1.175 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003622/0.3192, allocations: 468.9 kB / 1.176 GB, free: 13.1 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001084/0.3203, allocations: 1.353 MB / 1.177 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002553/0.3205, allocations: 0.6768 MB / 1.178 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 1.059e-05/0.3205, allocations: 4 kB / 1.178 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.646e-05/0.3206, allocations: 11.44 kB / 1.178 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of SimCode: time 2.6e-07/0.3206, allocations: 7.875 kB / 1.178 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0178/0.3384, allocations: 1.408 MB / 1.179 GB, free: 9.73 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.55/7.888, allocations: 10.42 kB / 1.179 GB, free: 9.727 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.TimeGeometric.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.TimeGeometric.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.TimeGeometric.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.TimeGeometric.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.TimeGeometric_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_TimeGeometric_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_TimeGeometric.fmu > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.TimeGeometric.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.TimeGeometric_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_TimeGeometric.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.TimeGeometric.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches