Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TStep",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TStep",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001488/0.001488, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001798/0.001798, allocations: 194.7 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.36/1.36, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.357/2.357, allocations: 390.2 MB / 0.6647 GB, free: 440 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 63.91 kB / 0.8126 GB, free: 14.43 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6218/0.6231, allocations: 140.4 MB / 0.9496 GB, free: 9.191 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.002115/0.6253, allocations: 1.248 MB / 0.9508 GB, free: 8.203 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003985/0.6293, allocations: 3.303 MB / 0.9541 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.451e-05/0.6293, allocations: 0 / 0.9541 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.498e-05/0.6294, allocations: 0 / 0.9541 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002407/0.6318, allocations: 0.9872 MB / 0.955 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 8.63e-05/0.6319, allocations: 49.22 kB / 0.9551 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.077e-05/0.632, allocations: 14.97 kB / 0.9551 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.313e-05/0.632, allocations: 1.25 kB / 0.9551 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.05e-05/0.6321, allocations: 4.125 kB / 0.9551 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.537e-05/0.6321, allocations: 27.73 kB / 0.9551 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.002e-05/0.6321, allocations: 1 kB / 0.9551 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001784/0.6339, allocations: 1.411 MB / 0.9565 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001247/0.6341, allocations: 153.6 kB / 0.9566 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.701e-05/0.6341, allocations: 5.359 kB / 0.9567 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001293/0.6354, allocations: 1.09 MB / 0.9577 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.6354, allocations: 1.156 kB / 0.9577 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.713e-06/0.6354, allocations: 0 / 0.9577 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.651e-06/0.6354, allocations: 0 / 0.9577 GB, free: 3.492 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0005659/0.636, allocations: 0.5338 MB / 0.9582 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.636, allocations: 9.25 kB / 0.9582 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.39e-05/0.6361, allocations: 10.33 kB / 0.9583 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.559e-05/0.6362, allocations: 161.7 kB / 0.9584 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.019e-05/0.6362, allocations: 384 / 0.9584 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.157e-05/0.6362, allocations: 5.375 kB / 0.9584 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001936/0.6364, allocations: 175.6 kB / 0.9586 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.6364, allocations: 0 / 0.9586 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.896e-06/0.6364, allocations: 1.062 kB / 0.9586 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.6364, allocations: 0 / 0.9586 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002251/0.6367, allocations: 282.7 kB / 0.9589 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002309/0.6369, allocations: 287.6 kB / 0.9591 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001367/0.6371, allocations: 164.3 kB / 0.9593 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001129/0.6372, allocations: 147.5 kB / 0.9594 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.014e-05/0.6372, allocations: 0 / 0.9594 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.748e-05/0.6372, allocations: 31.97 kB / 0.9595 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 1.303e-06/0.6372, allocations: 0 / 0.9595 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0004087/0.6376, allocations: 459.2 kB / 0.9599 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.921e-05/0.6377, allocations: 56.53 kB / 0.9599 GB, free: 2.227 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001017/0.6378, allocations: 168.9 kB / 0.9601 GB, free: 2.109 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.452e-06/0.6378, allocations: 25.7 kB / 0.9601 GB, free: 2.078 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.15e-05/0.6378, allocations: 81.3 kB / 0.9602 GB, free: 1.996 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.28e-05/0.6378, allocations: 0 / 0.9602 GB, free: 1.996 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.682e-05/0.6379, allocations: 12.22 kB / 0.9602 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.685e-05/0.6379, allocations: 315.7 kB / 0.9605 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001081/0.638, allocations: 144.8 kB / 0.9607 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001106/0.6381, allocations: 142.7 kB / 0.9608 GB, free: 1.629 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002184/0.6384, allocations: 284 kB / 0.9611 GB, free: 1.594 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.6384, allocations: 0 / 0.9611 GB, free: 1.594 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002526/0.6386, allocations: 323.3 kB / 0.9614 GB, free: 1.52 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.6387, allocations: 5.031 kB / 0.9614 GB, free: 1.52 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.6387, allocations: 1.094 kB / 0.9614 GB, free: 1.52 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.6387, allocations: 0 / 0.9614 GB, free: 1.52 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.554e-05/0.6387, allocations: 14.58 kB / 0.9614 GB, free: 1.508 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.6387, allocations: 0 / 0.9614 GB, free: 1.508 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.168e-05/0.6388, allocations: 0 / 0.9614 GB, free: 1.508 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.303e-06/0.6388, allocations: 1.312 kB / 0.9614 GB, free: 1.508 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 (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001036/0.6389, allocations: 167.1 kB / 0.9616 GB, free: 1.387 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.011e-05/0.639, allocations: 8.938 kB / 0.9616 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003221/0.6393, allocations: 316.9 kB / 0.9619 GB, free: 1.312 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.6393, allocations: 0.9062 kB / 0.9619 GB, free: 1.312 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.6393, allocations: 8.031 kB / 0.9619 GB, free: 1.305 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.6393, allocations: 1.125 kB / 0.9619 GB, free: 1.305 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001967/0.6395, allocations: 287.3 kB / 0.9622 GB, free: 1.098 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.089e-06/0.6395, allocations: 1.094 kB / 0.9622 GB, free: 1.098 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.332e-06/0.6395, allocations: 3.938 kB / 0.9622 GB, free: 1.094 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.6395, allocations: 0 / 0.9622 GB, free: 1.094 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.38e-06/0.6395, allocations: 1.062 kB / 0.9622 GB, free: 1.094 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.51e-07/0.6396, allocations: 0 / 0.9622 GB, free: 1.094 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.6396, allocations: 1.219 kB / 0.9622 GB, free: 1.094 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002629/0.6398, allocations: 344.5 kB / 0.9625 GB, free: 0.9883 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.438e-05/0.6398, allocations: 77.11 kB / 0.9626 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.307e-05/0.6399, allocations: 5.297 kB / 0.9626 GB, free: 0.8906 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.865e-05/0.64, allocations: 3.938 kB / 0.9626 GB, free: 0.8867 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.407e-05/0.64, allocations: 1.188 kB / 0.9626 GB, free: 0.8867 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-06/0.64, allocations: 5.391 kB / 0.9626 GB, free: 0.8828 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.305e-05/0.6401, allocations: 153.5 kB / 0.9627 GB, free: 0.7891 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6401, allocations: 0 / 0.9627 GB, free: 0.7891 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0009262/0.641, allocations: 379.9 kB / 0.9631 GB, free: 0.6914 MB / 0.7169 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001593/0.6426, allocations: 0.6988 MB / 0.9638 GB, free: 380 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003099/0.643, allocations: 296.6 kB / 0.9641 GB, free: 336 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.643, allocations: 0 / 0.9641 GB, free: 336 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001391/0.6431, allocations: 168.2 kB / 0.9642 GB, free: 288 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002127/0.6433, allocations: 6.469 kB / 0.9642 GB, free: 284 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001152/0.6445, allocations: 0.9341 MB / 0.9651 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004019/0.6449, allocations: 0.8223 MB / 0.9659 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.033e-05/0.6449, allocations: 2.219 kB / 0.9659 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.558e-05/0.645, allocations: 10.84 kB / 0.9659 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of SimCode: time 2.51e-07/0.645, allocations: 1.25 kB / 0.9659 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of Templates: time 0.01445/0.6594, allocations: 8.28 MB / 0.974 GB, free: 8.625 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches