Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.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.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-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.AggregationCellTimes,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes",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.001234/0.001234, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.001381/0.001381, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.433/1.433, allocations: 223.2 MB / 239.9 MB, free: 5.473 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.498/2.498, allocations: 390.3 MB / 0.6653 GB, free: 2.988 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003175/0.0003177, allocations: 8 kB / 0.8146 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8028/0.8031, allocations: 142.3 MB / 0.9536 GB, free: 8.152 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes): time 0.001118/0.8043, allocations: 1.002 MB / 0.9546 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005307/0.8048, allocations: 411.9 kB / 0.955 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.273e-05/0.8048, allocations: 0 / 0.955 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 6.776e-05/0.8049, allocations: 7.984 kB / 0.955 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 1.571e-05/0.8049, allocations: 7.984 kB / 0.955 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001784/0.8051, allocations: 23.8 kB / 0.955 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.45e-05/0.8052, allocations: 17.12 kB / 0.955 GB, free: 7 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.995e-05/0.8052, allocations: 5.344 kB / 0.9551 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.345e-05/0.8053, allocations: 3.281 kB / 0.9551 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.551e-05/0.8053, allocations: 15.56 kB / 0.9551 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.001e-05/0.8053, allocations: 1.031 kB / 0.9551 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.922e-05/0.8054, allocations: 30.53 kB / 0.9551 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.879e-05/0.8055, allocations: 10.62 kB / 0.9551 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.406e-05/0.8055, allocations: 33.27 kB / 0.9551 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.001e-05/0.8056, allocations: 34.78 kB / 0.9552 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.8056, allocations: 4 kB / 0.9552 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.124e-06/0.8056, allocations: 1.188 kB / 0.9552 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.677e-06/0.8056, allocations: 3.938 kB / 0.9552 GB, free: 6.906 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.0002485/0.8059, allocations: 352.7 kB / 0.9555 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.8059, allocations: 9.531 kB / 0.9555 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.383e-05/0.8059, allocations: 34.55 kB / 0.9556 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.959e-05/0.8059, allocations: 5.422 kB / 0.9556 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.117e-05/0.806, allocations: 171 kB / 0.9557 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.083e-06/0.8061, allocations: 1.031 kB / 0.9557 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.594e-06/0.8061, allocations: 5.531 kB / 0.9557 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.586e-05/0.8062, allocations: 39.05 kB / 0.9558 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.144e-06/0.8062, allocations: 0 / 0.9558 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.71e-06/0.8062, allocations: 5.094 kB / 0.9558 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.8062, allocations: 0 / 0.9558 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.104e-05/0.8062, allocations: 13.06 kB / 0.9558 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001126/0.8063, allocations: 177.8 kB / 0.956 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.78e-05/0.8064, allocations: 41.19 kB / 0.956 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.862e-06/0.8064, allocations: 1.25 kB / 0.956 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.27e-05/0.8064, allocations: 31.72 kB / 0.956 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.8064, allocations: 0 / 0.956 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001133/0.8065, allocations: 53.84 kB / 0.9561 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.239e-05/0.8066, allocations: 78.08 kB / 0.9562 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.619e-05/0.8066, allocations: 137.3 kB / 0.9563 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.005e-06/0.8067, allocations: 29.7 kB / 0.9563 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.167e-05/0.8067, allocations: 85.2 kB / 0.9564 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.149e-05/0.8067, allocations: 5.219 kB / 0.9564 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.595e-06/0.8067, allocations: 0 / 0.9564 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.251e-05/0.8067, allocations: 325.1 kB / 0.9567 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.91e-05/0.8068, allocations: 28.23 kB / 0.9567 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.604e-05/0.8068, allocations: 27.22 kB / 0.9568 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.699e-05/0.8069, allocations: 27.89 kB / 0.9568 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.8069, allocations: 3.938 kB / 0.9568 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001073/0.807, allocations: 97.3 kB / 0.9569 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/0.807, allocations: 9.562 kB / 0.9569 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.318e-05/0.807, allocations: 0 / 0.9569 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.889e-06/0.807, allocations: 5.031 kB / 0.9569 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.245e-05/0.8071, allocations: 6.469 kB / 0.9569 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/0.8071, allocations: 1.5 kB / 0.9569 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.784e-05/0.8071, allocations: 8.781 kB / 0.9569 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.653e-06/0.8071, allocations: 1.375 kB / 0.9569 GB, free: 5.082 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.094e-05/0.8072, allocations: 122.4 kB / 0.957 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.428e-06/0.8072, allocations: 5.25 kB / 0.957 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.809e-05/0.8072, allocations: 4.406 kB / 0.957 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.8072, allocations: 1.5 kB / 0.957 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.8073, allocations: 0 / 0.957 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.135e-06/0.8073, allocations: 1.594 kB / 0.9571 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.39e-05/0.8073, allocations: 169.2 kB / 0.9572 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.8073, allocations: 4 kB / 0.9572 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.874e-05/0.8074, allocations: 6.75 kB / 0.9572 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.8074, allocations: 1.469 kB / 0.9572 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.531e-06/0.8074, allocations: 1.438 kB / 0.9572 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.8074, allocations: 0 / 0.9572 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.8074, allocations: 1.375 kB / 0.9572 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.801e-05/0.8074, allocations: 86.03 kB / 0.9573 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.692e-05/0.8075, allocations: 82.48 kB / 0.9574 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.115e-05/0.8075, allocations: 1.312 kB / 0.9574 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.717e-05/0.8075, allocations: 1.375 kB / 0.9574 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.142e-05/0.8075, allocations: 5.5 kB / 0.9574 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-06/0.8075, allocations: 1.344 kB / 0.9574 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.981e-05/0.8076, allocations: 103.9 kB / 0.9575 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of sort global known variables: time 5.51e-07/0.8076, allocations: 0 / 0.9575 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002046/0.8078, allocations: 22.31 kB / 0.9575 GB, free: 4.434 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002555/0.8081, allocations: 0.711 MB / 0.9582 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001101/0.8082, allocations: 84.23 kB / 0.9583 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.8082, allocations: 4.031 kB / 0.9583 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.155e-05/0.8082, allocations: 8.188 kB / 0.9583 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.743e-05/0.8083, allocations: 2.344 kB / 0.9583 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003763/0.8087, allocations: 358.9 kB / 0.9586 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.671e-05/0.8088, allocations: 0.6886 MB / 0.9593 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.745e-05/0.8088, allocations: 0 / 0.9593 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.071e-05/0.8088, allocations: 19.39 kB / 0.9593 GB, free: 2.578 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.8088, allocations: 3.938 kB / 0.9593 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0106/0.8194, allocations: 1.447 MB / 0.9608 GB, free: 1.969 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001419/0.8196, allocations: 256.5 kB / 0.961 GB, free: 1.629 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.66/2.479, allocations: 0.5625 kB / 0.961 GB, free: 1.629 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes.fmu > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes_res.mat does not exist to compare? outputFormat=mat