Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.000743/0.0007431, allocations: 92 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.004693/0.004693, allocations: 170.4 kB / 16.26 MB, free: 6.613 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.218/1.218, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.471/2.471, allocations: 462.7 MB / 0.7364 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002901/0.0002902, allocations: 15.12 kB / 0.9029 GB, free: 36.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2266/0.2269, allocations: 159.6 MB / 1.059 GB, free: 4.84 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.001082/0.228, allocations: 0.993 MB / 1.06 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.005832/0.2338, allocations: 4.669 MB / 1.064 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.346e-05/0.2338, allocations: 0 / 1.064 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.952e-05/0.2339, allocations: 3.938 kB / 1.064 GB, free: 15.14 MB / 0.8262 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function ‘Modelica.Math.Random.Utilities.initializeImpureRandom‘ contains a call to impure function ‘Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState‘. Notification: Performance of NFTyping.typeBindings: time 0.002353/0.2363, allocations: 1.182 MB / 1.065 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 5.434e-05/0.2363, allocations: 27.91 kB / 1.066 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.227e-05/0.2364, allocations: 31.97 kB / 1.066 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.27e-05/0.2364, allocations: 4 kB / 1.066 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.62e-05/0.2364, allocations: 4 kB / 1.066 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.438e-05/0.2365, allocations: 74.42 kB / 1.066 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 7.594e-06/0.2365, allocations: 4 kB / 1.066 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002616/0.2392, allocations: 2.242 MB / 1.068 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001732/0.2394, allocations: 242.1 kB / 1.068 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003011/0.2397, allocations: 312.5 kB / 1.068 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.002218/0.2419, allocations: 2.265 MB / 1.071 GB, free: 8.754 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.2419, allocations: 0 / 1.071 GB, free: 8.754 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.082e-06/0.2419, allocations: 0 / 1.071 GB, free: 8.754 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.2419, allocations: 0 / 1.071 GB, free: 8.754 MB / 0.8262 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.00159/0.2435, allocations: 1.216 MB / 1.072 GB, free: 7.488 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.2436, allocations: 11.97 kB / 1.072 GB, free: 7.477 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.783e-05/0.2436, allocations: 34.69 kB / 1.072 GB, free: 7.434 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001177/0.2437, allocations: 48.36 kB / 1.072 GB, free: 7.387 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006741/0.2444, allocations: 0.6364 MB / 1.072 GB, free: 6.711 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.676e-06/0.2444, allocations: 384 / 1.072 GB, free: 6.711 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.663e-06/0.2444, allocations: 3.938 kB / 1.072 GB, free: 6.707 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000161/0.2446, allocations: 169.6 kB / 1.073 GB, free: 6.535 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.08e-06/0.2446, allocations: 3.938 kB / 1.073 GB, free: 6.531 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.501e-06/0.2446, allocations: 0 / 1.073 GB, free: 6.531 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.466e-06/0.2446, allocations: 0 / 1.073 GB, free: 6.531 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001852/0.2448, allocations: 279.9 kB / 1.073 GB, free: 6.258 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005148/0.2453, allocations: 0.5365 MB / 1.073 GB, free: 5.672 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001143/0.2454, allocations: 166.4 kB / 1.074 GB, free: 5.5 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001022/0.2456, allocations: 144.9 kB / 1.074 GB, free: 5.355 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.709e-06/0.2456, allocations: 3.938 kB / 1.074 GB, free: 5.352 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.167e-05/0.2456, allocations: 38.55 kB / 1.074 GB, free: 5.305 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 8.82e-07/0.2456, allocations: 0 / 1.074 GB, free: 5.305 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0004529/0.2461, allocations: 496.8 kB / 1.074 GB, free: 4.812 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.525e-05/0.2461, allocations: 55.53 kB / 1.074 GB, free: 4.746 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008313/0.2469, allocations: 0.6942 MB / 1.075 GB, free: 4.043 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.077e-05/0.2469, allocations: 25.7 kB / 1.075 GB, free: 4.012 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001361/0.2471, allocations: 228.1 kB / 1.075 GB, free: 3.785 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.628e-05/0.2471, allocations: 0 / 1.075 GB, free: 3.785 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.961e-05/0.2471, allocations: 9.719 kB / 1.075 GB, free: 3.77 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001224/0.2473, allocations: 366.8 kB / 1.076 GB, free: 3.402 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.848e-05/0.2474, allocations: 143.9 kB / 1.076 GB, free: 3.262 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.258e-05/0.2475, allocations: 139.9 kB / 1.076 GB, free: 3.125 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001933/0.2477, allocations: 288.8 kB / 1.076 GB, free: 2.84 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.2477, allocations: 0 / 1.076 GB, free: 2.84 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0003189/0.248, allocations: 364.9 kB / 1.076 GB, free: 2.477 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.248, allocations: 9.719 kB / 1.076 GB, free: 2.469 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.386e-06/0.248, allocations: 0 / 1.076 GB, free: 2.469 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.165e-06/0.248, allocations: 0 / 1.076 GB, free: 2.469 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.491e-05/0.2481, allocations: 0 / 1.076 GB, free: 2.469 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.74e-06/0.2481, allocations: 4 kB / 1.076 GB, free: 2.465 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002025/0.2483, allocations: 28 kB / 1.077 GB, free: 2.438 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.2483, allocations: 4.031 kB / 1.077 GB, free: 2.434 MB / 0.8262 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.0001504/0.2485, allocations: 209.7 kB / 1.077 GB, free: 2.219 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001039/0.2486, allocations: 43.44 kB / 1.077 GB, free: 2.176 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002955/0.2489, allocations: 373 kB / 1.077 GB, free: 1.805 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.2489, allocations: 4 kB / 1.077 GB, free: 1.801 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.2489, allocations: 0 / 1.077 GB, free: 1.801 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.914e-06/0.2489, allocations: 0 / 1.077 GB, free: 1.801 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003656/0.2493, allocations: 441.5 kB / 1.078 GB, free: 1.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.58e-06/0.2493, allocations: 4.031 kB / 1.078 GB, free: 1.316 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.62e-07/0.2493, allocations: 3.938 kB / 1.078 GB, free: 1.312 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.273e-06/0.2493, allocations: 0 / 1.078 GB, free: 1.312 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.562e-06/0.2493, allocations: 4 kB / 1.078 GB, free: 1.309 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.576e-06/0.2493, allocations: 3.984 kB / 1.078 GB, free: 1.305 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.2493, allocations: 3.938 kB / 1.078 GB, free: 1.301 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003238/0.2497, allocations: 384.3 kB / 1.078 GB, free: 0.9062 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003414/0.25, allocations: 344.1 kB / 1.078 GB, free: 0.5508 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001207/0.2501, allocations: 8.031 kB / 1.078 GB, free: 0.543 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001878/0.2503, allocations: 28 kB / 1.078 GB, free: 0.5156 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.037e-06/0.2503, allocations: 0 / 1.078 GB, free: 0.5156 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.305e-06/0.2503, allocations: 0 / 1.078 GB, free: 0.5156 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.000653/0.251, allocations: 0.5339 MB / 1.079 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.61e-07/0.251, allocations: 0 / 1.079 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001084/0.2521, allocations: 0.574 MB / 1.079 GB, free: 15.41 MB / 0.8419 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.00238/0.2545, allocations: 1.748 MB / 1.081 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002286/0.2547, allocations: 279.9 kB / 1.081 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.2547, allocations: 0 / 1.081 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001169/0.2549, allocations: 169.6 kB / 1.081 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002987/0.2552, allocations: 34.44 kB / 1.082 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007995/0.2632, allocations: 7.441 MB / 1.089 GB, free: 5.723 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000335/0.2635, allocations: 0.82 MB / 1.09 GB, free: 4.879 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.001207/0.2647, allocations: 457.4 kB / 1.09 GB, free: 4.473 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006233/0.2654, allocations: 375.2 kB / 1.09 GB, free: 4.105 MB / 0.8419 GB Notification: Performance of SimCode: time 3.41e-07/0.2654, allocations: 0 / 1.09 GB, free: 4.105 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.116/2.381, allocations: 24.95 MB / 1.115 GB, free: 11.39 MB / 0.8731 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004663/2.382, allocations: 332.3 kB / 1.115 GB, free: 11.02 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.488/4.87, allocations: 0 / 1.115 GB, free: 11.02 MB / 0.8731 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix_res.mat does not exist to compare? outputFormat=mat