Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.38/2.38, allocations: 390.3 MB / 402.8 MB, free: 6.711 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001109/0.001109, allocations: 184.5 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.586/1.586, allocations: 221.3 MB / 0.7915 GB, free: 5.414 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009912/0.0009916, allocations: 91.95 kB / 0.9318 GB, free: 5.723 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.31e-05/4.311e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3196/0.3196, allocations: 143 MB / 1.219 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.084/1.404, allocations: 150.1 MB / 1.365 GB, free: 3.984 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000322/1.405, allocations: 101.3 kB / 1.366 GB, free: 3.918 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.001794/1.406, allocations: 0.6945 MB / 1.366 GB, free: 3.285 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.623e-06/1.406, allocations: 0 / 1.366 GB, free: 3.285 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.993e-06/1.406, allocations: 4 kB / 1.366 GB, free: 3.281 MB / 0.823 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.0003051/1.407, allocations: 318.5 kB / 1.367 GB, free: 2.926 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.349e-05/1.407, allocations: 8.031 kB / 1.367 GB, free: 2.918 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.108e-05/1.407, allocations: 30.56 kB / 1.367 GB, free: 2.879 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.331e-05/1.407, allocations: 3.953 kB / 1.367 GB, free: 2.875 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001111/1.407, allocations: 163.9 kB / 1.367 GB, free: 2.676 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/1.407, allocations: 10.62 kB / 1.367 GB, free: 2.672 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.131e-05/1.407, allocations: 0 / 1.367 GB, free: 2.672 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.462e-05/1.407, allocations: 29.7 kB / 1.367 GB, free: 2.637 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/1.407, allocations: 0 / 1.367 GB, free: 2.637 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.534e-06/1.407, allocations: 3.938 kB / 1.367 GB, free: 2.633 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.239e-06/1.407, allocations: 0 / 1.367 GB, free: 2.633 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.134e-05/1.407, allocations: 4 kB / 1.367 GB, free: 2.629 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003504/1.408, allocations: 376.4 kB / 1.367 GB, free: 2.215 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001097/1.408, allocations: 177.2 kB / 1.367 GB, free: 2.031 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.685e-05/1.408, allocations: 80.14 kB / 1.367 GB, free: 1.949 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.588e-05/1.408, allocations: 79.22 kB / 1.367 GB, free: 1.871 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.847e-05/1.408, allocations: 109.2 kB / 1.368 GB, free: 1.758 MB / 0.823 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/1.408, allocations: 0 / 1.368 GB, free: 1.758 MB / 0.823 GB Notification: Performance of matching and sorting (n=0): time 6.995e-05/1.408, allocations: 25.7 kB / 1.368 GB, free: 1.727 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.229e-05/1.408, allocations: 138.6 kB / 1.368 GB, free: 1.578 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.448e-05/1.408, allocations: 85 kB / 1.368 GB, free: 1.488 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.324e-05/1.408, allocations: 25.7 kB / 1.368 GB, free: 1.457 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 3.983e-05/1.408, allocations: 80.14 kB / 1.368 GB, free: 1.375 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.856e-06/1.408, allocations: 0 / 1.368 GB, free: 1.375 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.196e-06/1.408, allocations: 3.188 kB / 1.368 GB, free: 1.375 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001505/1.408, allocations: 314.8 kB / 1.368 GB, free: 1.059 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.603e-06/1.408, allocations: 3.938 kB / 1.368 GB, free: 1.055 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.38e-06/1.408, allocations: 8.062 kB / 1.368 GB, free: 1.047 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.838e-05/1.408, allocations: 3.984 kB / 1.368 GB, free: 1.043 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/1.408, allocations: 0 / 1.368 GB, free: 1.043 MB / 0.823 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.622e-05/1.408, allocations: 34.48 kB / 1.368 GB, free: 1.004 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/1.408, allocations: 4 kB / 1.368 GB, free: 1 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/1.408, allocations: 0 / 1.368 GB, free: 1 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/1.408, allocations: 0 / 1.368 GB, free: 1 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.971e-05/1.409, allocations: 4 kB / 1.368 GB, free: 0.9961 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.042e-06/1.409, allocations: 0 / 1.368 GB, free: 0.9961 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.26e-05/1.409, allocations: 8.047 kB / 1.368 GB, free: 0.9883 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.749e-06/1.409, allocations: 0 / 1.368 GB, free: 0.9883 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (i) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.088e-05/1.409, allocations: 184.8 kB / 1.368 GB, free: 0.8047 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.612e-05/1.409, allocations: 112.9 kB / 1.369 GB, free: 0.6875 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.523e-05/1.409, allocations: 107.9 kB / 1.369 GB, free: 0.5781 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.449e-05/1.409, allocations: 176.3 kB / 1.369 GB, free: 408 kB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.648e-05/1.409, allocations: 184.2 kB / 1.369 GB, free: 216 kB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-05/1.409, allocations: 180.3 kB / 1.369 GB, free: 28 kB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002627/1.409, allocations: 408.5 kB / 1.37 GB, free: 15.57 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.806e-05/1.409, allocations: 101 kB / 1.37 GB, free: 15.47 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.737e-05/1.409, allocations: 101.5 kB / 1.37 GB, free: 15.36 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.646e-05/1.409, allocations: 184.2 kB / 1.37 GB, free: 15.18 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.369e-05/1.41, allocations: 190.8 kB / 1.37 GB, free: 14.98 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.265e-05/1.41, allocations: 180.2 kB / 1.37 GB, free: 14.8 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-05/1.41, allocations: 179.6 kB / 1.37 GB, free: 14.62 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001543/1.41, allocations: 311.1 kB / 1.371 GB, free: 14.3 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.808e-05/1.41, allocations: 190 kB / 1.371 GB, free: 14.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.227e-05/1.41, allocations: 180.2 kB / 1.371 GB, free: 13.9 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.895e-05/1.41, allocations: 104.7 kB / 1.371 GB, free: 13.8 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.654e-05/1.41, allocations: 180.2 kB / 1.371 GB, free: 13.61 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.67e-05/1.41, allocations: 109.9 kB / 1.371 GB, free: 13.5 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.563e-05/1.41, allocations: 75.28 kB / 1.372 GB, free: 13.43 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.41, allocations: 4.094 kB / 1.372 GB, free: 13.42 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001978/1.411, allocations: 0 / 1.372 GB, free: 13.42 MB / 0.8386 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 () * 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 (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.0005225/1.411, allocations: 0.8119 MB / 1.372 GB, free: 12.58 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 6.582e-05/1.411, allocations: 4 kB / 1.372 GB, free: 12.58 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/1.411, allocations: 4.062 kB / 1.372 GB, free: 12.57 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.463e-06/1.411, allocations: 0 / 1.372 GB, free: 12.57 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003687/1.412, allocations: 0.5242 MB / 1.373 GB, free: 12.05 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003203/1.412, allocations: 145.9 kB / 1.373 GB, free: 11.87 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003597/1.412, allocations: 0.6809 MB / 1.374 GB, free: 11.16 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.527e-05/1.412, allocations: 4 kB / 1.374 GB, free: 11.16 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.607e-05/1.412, allocations: 11.38 kB / 1.374 GB, free: 11.15 MB / 0.8386 GB Notification: Performance of SimCode: time 3.4e-07/1.412, allocations: 0 / 1.374 GB, free: 11.15 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01218/1.425, allocations: 0.7696 MB / 1.374 GB, free: 10.61 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001961/1.425, allocations: 221.8 kB / 1.375 GB, free: 10.39 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.55/2.975, allocations: 0 / 1.375 GB, free: 10.39 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells_res.mat does not exist to compare? outputFormat=mat