Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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.AggregationCellTimes,fileNamePrefix="Buildings_latest_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_latest_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.001809/0.001809, allocations: 100.2 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.001938/0.001939, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.776/2.776, allocations: 223.2 MB / 239.9 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.759/4.759, allocations: 409.2 MB / 0.6838 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0008209/0.0008211, allocations: 12 kB / 0.8375 GB, free: 6.484 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.616/1.617, allocations: 146.8 MB / 0.9809 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes): time 0.002361/1.62, allocations: 1 MB / 0.9819 GB, free: 5.27 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001095/1.621, allocations: 409.7 kB / 0.9823 GB, free: 4.867 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.661e-05/1.621, allocations: 0 / 0.9823 GB, free: 4.867 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001475/1.621, allocations: 7.938 kB / 0.9823 GB, free: 4.859 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 3.359e-05/1.621, allocations: 7.969 kB / 0.9823 GB, free: 4.852 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003824/1.621, allocations: 23.97 kB / 0.9823 GB, free: 4.828 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 7.875e-05/1.622, allocations: 15.98 kB / 0.9823 GB, free: 4.812 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 8.037e-05/1.622, allocations: 7.984 kB / 0.9823 GB, free: 4.805 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 4.508e-05/1.622, allocations: 7.938 kB / 0.9823 GB, free: 4.797 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 8.07e-05/1.622, allocations: 4 kB / 0.9823 GB, free: 4.793 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.555e-05/1.622, allocations: 3.938 kB / 0.9823 GB, free: 4.789 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001505/1.622, allocations: 27.97 kB / 0.9824 GB, free: 4.762 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 5.967e-05/1.622, allocations: 19.92 kB / 0.9824 GB, free: 4.742 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.368e-05/1.622, allocations: 29.7 kB / 0.9824 GB, free: 4.707 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001539/1.622, allocations: 34.2 kB / 0.9825 GB, free: 4.672 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/1.622, allocations: 3.938 kB / 0.9825 GB, free: 4.668 MB / 0.7325 GB Notification: Performance of FrontEnd: time 4.93e-06/1.622, allocations: 0 / 0.9825 GB, free: 4.668 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.303e-06/1.622, allocations: 4 kB / 0.9825 GB, free: 4.664 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.0005443/1.623, allocations: 355.1 kB / 0.9828 GB, free: 4.27 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.288e-05/1.623, allocations: 8.031 kB / 0.9828 GB, free: 4.262 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.795e-05/1.623, allocations: 30.56 kB / 0.9828 GB, free: 4.223 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.339e-05/1.623, allocations: 4 kB / 0.9828 GB, free: 4.219 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002414/1.623, allocations: 163.1 kB / 0.983 GB, free: 4.02 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.91e-05/1.623, allocations: 7.938 kB / 0.983 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.29e-05/1.623, allocations: 3.984 kB / 0.983 GB, free: 4.008 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001651/1.624, allocations: 51.36 kB / 0.9831 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/1.624, allocations: 0 / 0.9831 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/1.624, allocations: 0 / 0.9831 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.577e-05/1.624, allocations: 4 kB / 0.9831 GB, free: 3.941 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.632e-05/1.624, allocations: 4 kB / 0.9831 GB, free: 3.938 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002869/1.624, allocations: 182.4 kB / 0.9832 GB, free: 3.707 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 9.129e-05/1.624, allocations: 41.22 kB / 0.9833 GB, free: 3.648 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.014e-05/1.624, allocations: 0 / 0.9833 GB, free: 3.648 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.712e-05/1.624, allocations: 34.5 kB / 0.9833 GB, free: 3.605 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.293e-06/1.624, allocations: 0 / 0.9833 GB, free: 3.605 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0002165/1.624, allocations: 53.61 kB / 0.9834 GB, free: 3.547 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.943e-05/1.624, allocations: 81.3 kB / 0.9834 GB, free: 3.449 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001623/1.625, allocations: 144.8 kB / 0.9836 GB, free: 3.301 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.261e-05/1.625, allocations: 29.7 kB / 0.9836 GB, free: 3.266 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.586e-05/1.625, allocations: 88.05 kB / 0.9837 GB, free: 3.176 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.76e-05/1.625, allocations: 7.844 kB / 0.9837 GB, free: 3.168 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.298e-06/1.625, allocations: 0 / 0.9837 GB, free: 3.168 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001936/1.625, allocations: 322.8 kB / 0.984 GB, free: 2.844 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.25e-05/1.625, allocations: 23.98 kB / 0.984 GB, free: 2.82 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.788e-05/1.625, allocations: 24 kB / 0.984 GB, free: 2.797 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.836e-05/1.625, allocations: 27.98 kB / 0.9841 GB, free: 2.77 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/1.625, allocations: 4 kB / 0.9841 GB, free: 2.766 MB / 0.7325 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001942/1.625, allocations: 89.67 kB / 0.9842 GB, free: 2.672 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/1.625, allocations: 8 kB / 0.9842 GB, free: 2.664 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.408e-05/1.625, allocations: 0 / 0.9842 GB, free: 2.664 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/1.626, allocations: 0 / 0.9842 GB, free: 2.664 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.362e-05/1.626, allocations: 11.89 kB / 0.9842 GB, free: 2.652 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/1.626, allocations: 0 / 0.9842 GB, free: 2.652 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.049e-05/1.626, allocations: 15.91 kB / 0.9842 GB, free: 2.637 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.106e-05/1.626, allocations: 0 / 0.9842 GB, free: 2.637 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 (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 0.0001324/1.626, allocations: 121.8 kB / 0.9843 GB, free: 2.508 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.37e-05/1.626, allocations: 3.906 kB / 0.9843 GB, free: 2.504 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.359e-05/1.626, allocations: 11.47 kB / 0.9843 GB, free: 2.492 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/1.626, allocations: 0 / 0.9843 GB, free: 2.492 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/1.626, allocations: 3.953 kB / 0.9843 GB, free: 2.488 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/1.626, allocations: 0 / 0.9843 GB, free: 2.488 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000181/1.626, allocations: 165.7 kB / 0.9845 GB, free: 2.277 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/1.626, allocations: 3.984 kB / 0.9845 GB, free: 2.273 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.635e-05/1.626, allocations: 4 kB / 0.9845 GB, free: 2.27 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/1.626, allocations: 0 / 0.9845 GB, free: 2.27 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/1.626, allocations: 4 kB / 0.9845 GB, free: 2.266 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.362e-06/1.626, allocations: 4 kB / 0.9845 GB, free: 2.262 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/1.626, allocations: 0 / 0.9845 GB, free: 2.262 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001403/1.626, allocations: 91.5 kB / 0.9846 GB, free: 2.145 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.758e-05/1.626, allocations: 77.11 kB / 0.9847 GB, free: 2.051 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.197e-05/1.626, allocations: 4.031 kB / 0.9847 GB, free: 2.047 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.121e-05/1.627, allocations: 4 kB / 0.9847 GB, free: 2.043 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.309e-05/1.627, allocations: 3.953 kB / 0.9847 GB, free: 2.039 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.129e-06/1.627, allocations: 7.938 kB / 0.9847 GB, free: 2.031 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 9.316e-05/1.627, allocations: 103.2 kB / 0.9848 GB, free: 1.93 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.11e-07/1.627, allocations: 0 / 0.9848 GB, free: 1.93 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003303/1.627, allocations: 12 kB / 0.9848 GB, free: 1.918 MB / 0.7325 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.0006412/1.628, allocations: 0.7071 MB / 0.9855 GB, free: 1.172 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002231/1.628, allocations: 81.69 kB / 0.9856 GB, free: 1.086 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/1.628, allocations: 0 / 0.9856 GB, free: 1.086 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 2.456e-05/1.628, allocations: 11.98 kB / 0.9856 GB, free: 1.074 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001932/1.628, allocations: 8.109 kB / 0.9856 GB, free: 1.066 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007549/1.629, allocations: 350.5 kB / 0.9859 GB, free: 0.6758 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004061/1.629, allocations: 0.6926 MB / 0.9866 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 3.305e-05/1.629, allocations: 4 kB / 0.9866 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.682e-05/1.629, allocations: 19.42 kB / 0.9866 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of SimCode: time 3.41e-07/1.629, allocations: 0 / 0.9866 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01949/1.649, allocations: 1.441 MB / 0.988 GB, free: 14.73 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003353/1.649, allocations: 251.5 kB / 0.9883 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.915/4.565, allocations: 2.031 kB / 0.9883 GB, free: 14.39 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes_res.mat does not exist to compare? outputFormat=mat