Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.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.Validation.Cylindrical,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_Validation_Cylindrical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_Validation_Cylindrical",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.241/2.241, allocations: 390.3 MB / 402.8 MB, free: 6.695 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.001559/0.001559, allocations: 180.1 kB / 496.1 MB, free: 12.86 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.553/1.553, allocations: 221.3 MB / 0.7915 GB, free: 5.383 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.00103/0.00103, allocations: 99.73 kB / 0.9317 GB, free: 5.695 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.15e-05/3.153e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3181/0.3181, allocations: 143 MB / 1.219 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.01/1.329, allocations: 158.1 MB / 1.373 GB, free: 12.03 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002826/1.329, allocations: 102.2 kB / 1.373 GB, free: 11.97 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.05483/1.384, allocations: 16.49 MB / 1.389 GB, free: 13.69 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.914e-06/1.384, allocations: 0 / 1.389 GB, free: 13.69 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 2.517e-05/1.384, allocations: 8 kB / 1.389 GB, free: 13.68 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001988/1.386, allocations: 0.8102 MB / 1.39 GB, free: 12.84 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.856e-05/1.386, allocations: 8.031 kB / 1.39 GB, free: 12.84 MB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.135e-05/1.386, allocations: 45.92 kB / 1.39 GB, free: 12.79 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001167/1.386, allocations: 47.48 kB / 1.39 GB, free: 12.74 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006022/1.387, allocations: 364.7 kB / 1.391 GB, free: 12.38 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.878e-05/1.387, allocations: 25.06 kB / 1.391 GB, free: 12.37 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.591e-05/1.387, allocations: 45.05 kB / 1.391 GB, free: 12.34 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003994/1.387, allocations: 196.5 kB / 1.391 GB, free: 12.19 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/1.387, allocations: 0 / 1.391 GB, free: 12.19 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.07e-05/1.387, allocations: 7.875 kB / 1.391 GB, free: 12.19 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/1.387, allocations: 4 kB / 1.391 GB, free: 12.18 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002552/1.388, allocations: 165.2 kB / 1.391 GB, free: 12.07 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004873/1.392, allocations: 1.519 MB / 1.393 GB, free: 10.71 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001767/1.394, allocations: 0.5844 MB / 1.393 GB, free: 10.23 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001909/1.394, allocations: 138 kB / 1.393 GB, free: 10.13 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.277e-05/1.394, allocations: 7.859 kB / 1.393 GB, free: 10.12 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.715e-05/1.395, allocations: 33.88 kB / 1.393 GB, free: 10.08 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=24): time 2.795e-06/1.395, allocations: 4 kB / 1.393 GB, free: 10.08 MB / 0.8542 GB Notification: Performance of matching and sorting (n=24): time 0.0008022/1.395, allocations: 330 kB / 1.394 GB, free: 9.816 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.252e-05/1.395, allocations: 55.34 kB / 1.394 GB, free: 9.75 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003949/1.396, allocations: 349 kB / 1.394 GB, free: 9.469 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 6.983e-05/1.396, allocations: 38.33 kB / 1.394 GB, free: 9.434 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001457/1.396, allocations: 182 kB / 1.394 GB, free: 9.293 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 9.866e-05/1.396, allocations: 89.33 kB / 1.394 GB, free: 9.215 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.168e-05/1.396, allocations: 15.25 kB / 1.394 GB, free: 9.211 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001577/1.396, allocations: 348.9 kB / 1.395 GB, free: 8.879 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005455/1.397, allocations: 333.2 kB / 1.395 GB, free: 8.66 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005823/1.397, allocations: 402.9 kB / 1.395 GB, free: 8.379 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006266/1.398, allocations: 404.4 kB / 1.396 GB, free: 8.094 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/1.398, allocations: 0 / 1.396 GB, free: 8.094 MB / 0.8542 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001506/1.4, allocations: 0.9211 MB / 1.397 GB, free: 7.406 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.784e-05/1.4, allocations: 29.7 kB / 1.397 GB, free: 7.371 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/1.4, allocations: 4 kB / 1.397 GB, free: 7.367 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001973/1.4, allocations: 23.97 kB / 1.397 GB, free: 7.344 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008862/1.401, allocations: 155.6 kB / 1.397 GB, free: 7.195 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00118/1.402, allocations: 1.325 MB / 1.398 GB, free: 5.797 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001553/1.404, allocations: 108.9 kB / 1.398 GB, free: 5.699 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-05/1.404, allocations: 30.47 kB / 1.398 GB, free: 5.676 MB / 0.8542 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001558/1.404, allocations: 135.1 kB / 1.398 GB, free: 5.551 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.989e-05/1.404, allocations: 27.62 kB / 1.398 GB, free: 5.523 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001034/1.404, allocations: 38.06 kB / 1.398 GB, free: 5.508 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/1.404, allocations: 4 kB / 1.398 GB, free: 5.504 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/1.404, allocations: 0 / 1.398 GB, free: 5.504 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/1.404, allocations: 0 / 1.398 GB, free: 5.504 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005548/1.405, allocations: 0.509 MB / 1.399 GB, free: 5.031 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/1.405, allocations: 4 kB / 1.399 GB, free: 5.027 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002744/1.405, allocations: 47.95 kB / 1.399 GB, free: 4.98 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001052/1.405, allocations: 27.72 kB / 1.399 GB, free: 4.957 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.529e-05/1.405, allocations: 7.875 kB / 1.399 GB, free: 4.953 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001012/1.406, allocations: 1.318 MB / 1.4 GB, free: 3.547 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/1.406, allocations: 0 / 1.4 GB, free: 3.547 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007558/1.407, allocations: 0.5812 MB / 1.401 GB, free: 3.066 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001206/1.407, allocations: 116.3 kB / 1.401 GB, free: 2.941 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.548e-05/1.407, allocations: 11.81 kB / 1.401 GB, free: 2.934 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006329/1.408, allocations: 27.39 kB / 1.401 GB, free: 2.91 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.393e-05/1.408, allocations: 11.98 kB / 1.401 GB, free: 2.898 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.746e-05/1.408, allocations: 10.92 kB / 1.401 GB, free: 2.891 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.00025/1.408, allocations: 255.9 kB / 1.401 GB, free: 2.688 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.3e-07/1.408, allocations: 3.938 kB / 1.401 GB, free: 2.684 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0007806/1.409, allocations: 278 kB / 1.402 GB, free: 2.43 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (soi.T[1],soi.T[2],soi.T[3],soi.T[4],soi.T[5],soi.T[6],soi.T[7],soi.T[8],soi.T[9],soi.T[10]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 22 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001333/1.41, allocations: 1.252 MB / 1.403 GB, free: 1.281 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001191/1.411, allocations: 0.7299 MB / 1.404 GB, free: 0.6953 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/1.411, allocations: 4 kB / 1.404 GB, free: 0.6914 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0003025/1.412, allocations: 254.8 kB / 1.404 GB, free: 484 kB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004771/1.412, allocations: 81.84 kB / 1.404 GB, free: 424 kB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002099/1.414, allocations: 1.291 MB / 1.405 GB, free: 15.18 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004365/1.415, allocations: 0.8216 MB / 1.406 GB, free: 14.34 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0003732/1.415, allocations: 106.9 kB / 1.406 GB, free: 14.24 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002461/1.415, allocations: 127.6 kB / 1.406 GB, free: 14.2 MB / 0.8698 GB Notification: Performance of SimCode: time 6.11e-07/1.415, allocations: 0 / 1.406 GB, free: 14.2 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03594/1.451, allocations: 13.25 MB / 1.419 GB, free: 1.25 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002343/1.452, allocations: 219.7 kB / 1.419 GB, free: 1.023 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.674/4.126, allocations: 0 / 1.419 GB, free: 1.023 MB / 0.8698 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_Validation_Cylindrical_fmu --startTime=0 --stopTime=360000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_Validation_Cylindrical.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical_res.mat does not exist to compare? outputFormat=mat