Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.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.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix",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.001645/0.001645, 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.001964/0.001964, allocations: 192.4 kB / 16.25 MB, free: 6.637 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.35/1.35, allocations: 222.9 MB / 239.9 MB, free: 4.531 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.146/2.146, allocations: 390.2 MB / 0.6644 GB, free: 0.5156 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 59.91 kB / 0.8122 GB, free: 14.61 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4747/0.476, allocations: 140.4 MB / 0.9493 GB, free: 9.203 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.001855/0.4779, allocations: 1.303 MB / 0.9505 GB, free: 8.176 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003482/0.4814, allocations: 3.315 MB / 0.9538 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.773e-05/0.4814, allocations: 0 / 0.9538 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.32e-05/0.4815, allocations: 4 kB / 0.9538 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002111/0.4836, allocations: 0.8755 MB / 0.9546 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 7.943e-05/0.4837, allocations: 31.38 kB / 0.9547 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.969e-05/0.4837, allocations: 19.64 kB / 0.9547 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.308e-05/0.4838, allocations: 5.188 kB / 0.9547 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.879e-05/0.4838, allocations: 8.953 kB / 0.9547 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.172e-05/0.4839, allocations: 62.56 kB / 0.9548 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.185e-06/0.4839, allocations: 0 / 0.9548 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001595/0.4855, allocations: 1.451 MB / 0.9562 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001509/0.4857, allocations: 247.7 kB / 0.9564 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003109/0.486, allocations: 276.4 kB / 0.9567 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001714/0.4877, allocations: 1.559 MB / 0.9582 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.4877, allocations: 1.406 kB / 0.9582 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.733e-06/0.4877, allocations: 3.984 kB / 0.9582 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.018e-05/0.4877, allocations: 0 / 0.9582 GB, free: 3.199 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.001976/0.4897, allocations: 1.395 MB / 0.9596 GB, free: 2.246 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.4897, allocations: 12.81 kB / 0.9596 GB, free: 2.242 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.271e-05/0.4898, allocations: 36.16 kB / 0.9596 GB, free: 2.199 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002103/0.49, allocations: 44 kB / 0.9597 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005943/0.4906, allocations: 0.6232 MB / 0.9603 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.002e-05/0.4906, allocations: 384 / 0.9603 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.693e-06/0.4906, allocations: 5.188 kB / 0.9603 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001504/0.4908, allocations: 167.5 kB / 0.9604 GB, free: 1.672 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.63e-06/0.4908, allocations: 0 / 0.9604 GB, free: 1.672 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.012e-06/0.4908, allocations: 0 / 0.9604 GB, free: 1.672 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.527e-06/0.4908, allocations: 5.062 kB / 0.9604 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001803/0.491, allocations: 282.5 kB / 0.9607 GB, free: 1.637 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005521/0.4915, allocations: 0.5276 MB / 0.9612 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001098/0.4917, allocations: 164.5 kB / 0.9614 GB, free: 1.293 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.665e-05/0.4918, allocations: 146.6 kB / 0.9615 GB, free: 1.27 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.686e-06/0.4918, allocations: 0 / 0.9615 GB, free: 1.27 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.256e-05/0.4918, allocations: 35.59 kB / 0.9616 GB, free: 1.227 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 7.81e-07/0.4918, allocations: 4 kB / 0.9616 GB, free: 1.223 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0005421/0.4923, allocations: 494.2 kB / 0.962 GB, free: 1.121 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.854e-05/0.4924, allocations: 52.5 kB / 0.9621 GB, free: 1.059 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008181/0.4932, allocations: 0.6927 MB / 0.9628 GB, free: 0.7422 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.761e-06/0.4932, allocations: 25.7 kB / 0.9628 GB, free: 0.7109 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.495e-05/0.4933, allocations: 227.3 kB / 0.963 GB, free: 0.5156 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.804e-05/0.4933, allocations: 5.219 kB / 0.963 GB, free: 0.5117 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.221e-05/0.4933, allocations: 11.03 kB / 0.963 GB, free: 0.4961 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.818e-05/0.4934, allocations: 375.3 kB / 0.9634 GB, free: 144 kB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.489e-05/0.4935, allocations: 137 kB / 0.9635 GB, free: 132 kB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.582e-05/0.4936, allocations: 141.9 kB / 0.9636 GB, free: 116 kB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001791/0.4938, allocations: 292.7 kB / 0.9639 GB, free: 72 kB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.4938, allocations: 4 kB / 0.9639 GB, free: 68 kB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0003921/0.4942, allocations: 357.5 kB / 0.9643 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.4942, allocations: 9 kB / 0.9643 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.4942, allocations: 13.66 kB / 0.9643 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.278e-06/0.4942, allocations: 4 kB / 0.9643 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.357e-05/0.4943, allocations: 1.625 kB / 0.9643 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.4943, allocations: 0 / 0.9643 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002004/0.4945, allocations: 29.06 kB / 0.9643 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.723e-06/0.4945, allocations: 1.188 kB / 0.9643 GB, free: 15.96 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 (1): * Single equations (assignments): 1 * 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 0.0001565/0.4947, allocations: 206.5 kB / 0.9645 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001775/0.4948, allocations: 42.81 kB / 0.9646 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003038/0.4952, allocations: 378.3 kB / 0.9649 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.4952, allocations: 1.125 kB / 0.9649 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.4952, allocations: 0 / 0.9649 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.4952, allocations: 5.078 kB / 0.9649 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004/0.4956, allocations: 444.7 kB / 0.9653 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.211e-06/0.4956, allocations: 0 / 0.9653 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.01e-07/0.4956, allocations: 5.438 kB / 0.9653 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.4956, allocations: 0 / 0.9653 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.05e-06/0.4956, allocations: 0 / 0.9653 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.4956, allocations: 0.9375 kB / 0.9654 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.4956, allocations: 0 / 0.9654 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000413/0.4961, allocations: 387.1 kB / 0.9657 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003837/0.4964, allocations: 328.4 kB / 0.966 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001494/0.4966, allocations: 1.5 kB / 0.966 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000193/0.4968, allocations: 28.38 kB / 0.9661 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.161e-05/0.4968, allocations: 5.469 kB / 0.9661 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.959e-06/0.4968, allocations: 3.984 kB / 0.9661 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0006815/0.4975, allocations: 0.5262 MB / 0.9666 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4975, allocations: 4.031 kB / 0.9666 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0009633/0.4985, allocations: 380.4 kB / 0.967 GB, free: 14.7 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.002188/0.5007, allocations: 1.526 MB / 0.9684 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002323/0.5009, allocations: 287.7 kB / 0.9687 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.5009, allocations: 1.188 kB / 0.9687 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001135/0.501, allocations: 169.8 kB / 0.9689 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003229/0.5014, allocations: 35.42 kB / 0.9689 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008007/0.5094, allocations: 7.349 MB / 0.9761 GB, free: 6.16 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003171/0.5097, allocations: 0.8197 MB / 0.9769 GB, free: 5.312 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001144/0.5109, allocations: 439.8 kB / 0.9773 GB, free: 4.922 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006169/0.5115, allocations: 367.2 kB / 0.9777 GB, free: 4.562 MB / 0.7325 GB Notification: Performance of SimCode: time 2.51e-07/0.5115, allocations: 0 / 0.9777 GB, free: 4.562 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.17/3.681, allocations: 21.27 MB / 0.9984 GB, free: 15.51 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002904/3.682, allocations: 331.7 kB / 0.9987 GB, free: 15.13 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.251/7.933, allocations: 0 / 0.9987 GB, free: 15.13 MB / 0.7637 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix.fmu > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix_res.mat does not exist to compare? outputFormat=mat