Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource.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.ThermalResponseFactors.Validation.FiniteLineSource,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource",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.0009672/0.0009672, 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.001005/0.001005, 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 1.403/1.403, allocations: 223.2 MB / 239.9 MB, free: 5.363 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.46/2.46, allocations: 390.2 MB / 0.6653 GB, free: 2.934 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003687/0.0003687, allocations: 12 kB / 0.8146 GB, free: 14.11 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8797/0.8801, allocations: 142.3 MB / 0.9536 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource): time 0.001562/0.8817, allocations: 1.057 MB / 0.9547 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00196/0.8837, allocations: 1.201 MB / 0.9558 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.455e-05/0.8837, allocations: 0 / 0.9558 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.984e-05/0.8838, allocations: 13.31 kB / 0.9558 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.323e-05/0.8838, allocations: 10.12 kB / 0.9559 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000712/0.8845, allocations: 259.1 kB / 0.9561 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002866/0.8848, allocations: 263 kB / 0.9564 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.385e-05/0.8849, allocations: 2.562 kB / 0.9564 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001078/0.885, allocations: 113.9 kB / 0.9565 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001903/0.8852, allocations: 179.5 kB / 0.9566 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.3e-05/0.8853, allocations: 21.91 kB / 0.9567 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007286/0.886, allocations: 481.2 kB / 0.9571 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001069/0.8861, allocations: 97.48 kB / 0.9572 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.386e-05/0.8862, allocations: 50.48 kB / 0.9573 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004428/0.8866, allocations: 370.1 kB / 0.9576 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.365e-06/0.8866, allocations: 4 kB / 0.9576 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.663e-06/0.8866, allocations: 1.75 kB / 0.9576 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.411e-06/0.8867, allocations: 0 / 0.9576 GB, free: 5.344 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0005362/0.8872, allocations: 488.8 kB / 0.9581 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.8872, allocations: 9.625 kB / 0.9581 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.985e-05/0.8873, allocations: 54.8 kB / 0.9581 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.378e-05/0.8874, allocations: 25.3 kB / 0.9582 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001068/0.8875, allocations: 183.9 kB / 0.9583 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.637e-05/0.8875, allocations: 14.86 kB / 0.9584 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.774e-05/0.8876, allocations: 28.31 kB / 0.9584 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006093/0.8882, allocations: 326.2 kB / 0.9587 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.8882, allocations: 0 / 0.9587 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.732e-05/0.8882, allocations: 9.328 kB / 0.9587 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/0.8883, allocations: 5.5 kB / 0.9587 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005306/0.8936, allocations: 2.924 MB / 0.9616 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005962/0.8942, allocations: 384.5 kB / 0.9619 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009639/0.8952, allocations: 0.5043 MB / 0.9624 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001429/0.8966, allocations: 0.9272 MB / 0.9633 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/0.8966, allocations: 40.41 kB / 0.9634 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=43): time 1.964e-06/0.8966, allocations: 4.938 kB / 0.9634 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of matching and sorting (n=43): time 0.001389/0.898, allocations: 0.7554 MB / 0.9641 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.217e-05/0.8981, allocations: 60.33 kB / 0.9642 GB, free: 1.387 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001066/0.8982, allocations: 138.9 kB / 0.9643 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.113e-05/0.8982, allocations: 30.86 kB / 0.9643 GB, free: 1.23 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.789e-05/0.8983, allocations: 97.03 kB / 0.9644 GB, free: 1.137 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001096/0.8984, allocations: 152.2 kB / 0.9646 GB, free: 1.004 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.349e-05/0.8984, allocations: 5.312 kB / 0.9646 GB, free: 1 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.963e-05/0.8985, allocations: 334.9 kB / 0.9649 GB, free: 0.6719 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003304/0.8988, allocations: 206.7 kB / 0.9651 GB, free: 0.6055 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003466/0.8992, allocations: 212.3 kB / 0.9653 GB, free: 0.5352 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003929/0.8996, allocations: 241.9 kB / 0.9655 GB, free: 468 kB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.8996, allocations: 5.344 kB / 0.9655 GB, free: 464 kB / 0.7169 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008809/0.9005, allocations: 0.5372 MB / 0.9661 GB, free: 260 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.385e-05/0.9005, allocations: 10.14 kB / 0.9661 GB, free: 256 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.9005, allocations: 0 / 0.9661 GB, free: 256 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.9006, allocations: 5.625 kB / 0.9661 GB, free: 252 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003073/0.9009, allocations: 100.1 kB / 0.9662 GB, free: 228 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.9009, allocations: 1.438 kB / 0.9662 GB, free: 228 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.419e-05/0.901, allocations: 20.19 kB / 0.9662 GB, free: 212 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.62e-05/0.901, allocations: 23.88 kB / 0.9662 GB, free: 208 kB / 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 (43): * Single equations (assignments): 43 * 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 0.0001415/0.9012, allocations: 162.1 kB / 0.9664 GB, free: 64 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.193e-05/0.9012, allocations: 18.09 kB / 0.9664 GB, free: 56 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001659/0.9029, allocations: 0.9059 MB / 0.9673 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.615e-06/0.9029, allocations: 4.906 kB / 0.9673 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.528e-06/0.9029, allocations: 7.953 kB / 0.9673 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.175e-06/0.9029, allocations: 4.984 kB / 0.9673 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005025/0.9034, allocations: 394.6 kB / 0.9677 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.9034, allocations: 4.859 kB / 0.9677 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002874/0.9037, allocations: 92.83 kB / 0.9678 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.9037, allocations: 6.031 kB / 0.9678 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.806e-05/0.9038, allocations: 21.81 kB / 0.9678 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.9038, allocations: 5.875 kB / 0.9678 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.9038, allocations: 0 / 0.9678 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009579/0.9048, allocations: 0.5934 MB / 0.9684 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.698e-05/0.9048, allocations: 104.6 kB / 0.9685 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.002e-05/0.9049, allocations: 18.47 kB / 0.9685 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.637e-05/0.905, allocations: 5.312 kB / 0.9685 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.997e-05/0.905, allocations: 42.67 kB / 0.9685 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.386e-05/0.9051, allocations: 23.03 kB / 0.9685 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 7.676e-05/0.9052, allocations: 113.4 kB / 0.9687 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9052, allocations: 0 / 0.9687 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0006064/0.9058, allocations: 188 kB / 0.9688 GB, free: 14.79 MB / 0.7325 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 (44): * Single equations (assignments): 44 * 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.001646/0.9074, allocations: 1.267 MB / 0.9701 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0008522/0.9083, allocations: 0.4942 MB / 0.9706 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.9083, allocations: 0 / 0.9706 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0004171/0.9087, allocations: 283 kB / 0.9708 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002511/0.909, allocations: 41.2 kB / 0.9709 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00121/0.9102, allocations: 0.7608 MB / 0.9716 GB, free: 13.15 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003143/0.9105, allocations: 0.7566 MB / 0.9723 GB, free: 12.37 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0005351/0.9111, allocations: 346.6 kB / 0.9727 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001693/0.9112, allocations: 91.41 kB / 0.9728 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of SimCode: time 6.41e-07/0.9113, allocations: 0 / 0.9728 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01807/0.9293, allocations: 7.462 MB / 0.9801 GB, free: 4.82 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002054/0.9296, allocations: 259.7 kB / 0.9803 GB, free: 4.48 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.826/2.756, allocations: 2.188 kB / 0.9803 GB, free: 4.48 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource.fmu > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_res.mat does not exist to compare? outputFormat=mat