Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.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.Boreholes.BaseClasses.Examples.ExchangeValues,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001674/0.001682, allocations: 111 kB / 16.42 MB, free: 6.5 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.002351/0.002351, allocations: 187.9 kB / 17.35 MB, free: 5.738 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.398/1.398, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.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.298/2.298, allocations: 390.3 MB / 0.6655 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 67.91 kB / 0.9516 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7225/0.7238, allocations: 140.4 MB / 1.089 GB, free: 5.781 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.001691/0.7255, allocations: 0.5523 MB / 1.089 GB, free: 5.449 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0002256/0.7258, allocations: 114.6 kB / 1.089 GB, free: 5.375 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.555e-05/0.7258, allocations: 0 / 1.089 GB, free: 5.375 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 8.702e-05/0.7259, allocations: 1.344 kB / 1.089 GB, free: 5.375 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.38e-05/0.726, allocations: 5.062 kB / 1.089 GB, free: 5.371 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001419/0.7261, allocations: 42.78 kB / 1.089 GB, free: 5.348 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.12e-05/0.7262, allocations: 28.12 kB / 1.089 GB, free: 5.34 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.214e-05/0.7263, allocations: 1.703 kB / 1.089 GB, free: 5.34 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.86e-05/0.7263, allocations: 14.27 kB / 1.089 GB, free: 5.336 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.985e-05/0.7264, allocations: 17.22 kB / 1.089 GB, free: 5.328 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.908e-05/0.7264, allocations: 6.109 kB / 1.089 GB, free: 5.324 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 4.179e-05/0.7264, allocations: 11.02 kB / 1.089 GB, free: 5.32 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.368e-06/0.7264, allocations: 1.094 kB / 1.089 GB, free: 5.32 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.086e-05/0.7265, allocations: 9.875 kB / 1.089 GB, free: 5.316 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 9.684e-05/0.7266, allocations: 38.72 kB / 1.089 GB, free: 5.297 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.7266, allocations: 0 / 1.089 GB, free: 5.297 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.212e-06/0.7266, allocations: 0 / 1.089 GB, free: 5.297 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.05e-06/0.7266, allocations: 1.125 kB / 1.089 GB, free: 5.297 MB / 0.8575 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.0002496/0.7269, allocations: 357.4 kB / 1.09 GB, free: 4.906 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.7269, allocations: 9.484 kB / 1.09 GB, free: 4.906 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.775e-05/0.7269, allocations: 3.219 kB / 1.09 GB, free: 4.906 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.44e-05/0.727, allocations: 167.3 kB / 1.09 GB, free: 4.707 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.107e-05/0.727, allocations: 2.438 kB / 1.09 GB, free: 4.707 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.322e-05/0.7271, allocations: 4.969 kB / 1.09 GB, free: 4.707 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001065/0.7272, allocations: 52.27 kB / 1.09 GB, free: 4.672 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.551e-06/0.7272, allocations: 1.281 kB / 1.09 GB, free: 4.672 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.7272, allocations: 9.438 kB / 1.09 GB, free: 4.664 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.547e-06/0.7272, allocations: 0 / 1.09 GB, free: 4.664 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.707e-05/0.7272, allocations: 10.19 kB / 1.09 GB, free: 4.664 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.549e-05/0.7273, allocations: 157.1 kB / 1.09 GB, free: 4.469 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.177e-05/0.7274, allocations: 30.44 kB / 1.09 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.252e-05/0.7274, allocations: 20.48 kB / 1.09 GB, free: 4.43 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 6.563e-06/0.7275, allocations: 0 / 1.09 GB, free: 4.43 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.673e-05/0.7275, allocations: 32.25 kB / 1.09 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.7275, allocations: 0 / 1.09 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0002085/0.7277, allocations: 110.1 kB / 1.09 GB, free: 4.312 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.879e-05/0.7277, allocations: 88.39 kB / 1.09 GB, free: 4.211 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.647e-05/0.7278, allocations: 94.38 kB / 1.091 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.051e-05/0.7278, allocations: 26.73 kB / 1.091 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.234e-05/0.7278, allocations: 81.97 kB / 1.091 GB, free: 4 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.15e-05/0.7278, allocations: 6.406 kB / 1.091 GB, free: 3.996 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.737e-05/0.7279, allocations: 26.84 kB / 1.091 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 3.426e-05/0.7279, allocations: 312.8 kB / 1.091 GB, free: 3.66 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.268e-05/0.728, allocations: 22.17 kB / 1.091 GB, free: 3.648 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.647e-05/0.728, allocations: 8.719 kB / 1.091 GB, free: 3.648 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.522e-05/0.7281, allocations: 81.09 kB / 1.091 GB, free: 3.57 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.7281, allocations: 0 / 1.091 GB, free: 3.57 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001197/0.7282, allocations: 102.6 kB / 1.091 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.295e-05/0.7282, allocations: 32.42 kB / 1.091 GB, free: 3.461 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.7282, allocations: 1.062 kB / 1.091 GB, free: 3.461 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.7282, allocations: 4.594 kB / 1.091 GB, free: 3.457 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.143e-06/0.7282, allocations: 1.094 kB / 1.091 GB, free: 3.457 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.7283, allocations: 4.094 kB / 1.091 GB, free: 3.453 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001352/0.7284, allocations: 6.594 kB / 1.091 GB, free: 3.453 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.328e-05/0.7284, allocations: 8.25 kB / 1.091 GB, free: 3.449 MB / 0.8575 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): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 5.565e-05/0.7285, allocations: 142 kB / 1.091 GB, free: 3.301 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.806e-05/0.7285, allocations: 8.594 kB / 1.091 GB, free: 3.297 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.125e-05/0.7285, allocations: 8.094 kB / 1.091 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.7285, allocations: 0.75 kB / 1.091 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.7285, allocations: 0 / 1.091 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.307e-05/0.7285, allocations: 82.66 kB / 1.091 GB, free: 3.191 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.733e-05/0.7286, allocations: 3.141 kB / 1.091 GB, free: 3.191 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.7287, allocations: 7.219 kB / 1.091 GB, free: 3.191 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.287e-05/0.7287, allocations: 1.375 kB / 1.091 GB, free: 3.191 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001268/0.7288, allocations: 225.1 kB / 1.092 GB, free: 2.98 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001448/0.729, allocations: 278.3 kB / 1.092 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.997e-05/0.729, allocations: 11.53 kB / 1.092 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 1.555e-05/0.729, allocations: 82.36 kB / 1.092 GB, free: 2.645 MB / 0.8575 GB Notification: Performance of Backend: time 2.91e-07/0.7291, allocations: 0 / 1.092 GB, free: 2.645 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004851/0.7295, allocations: 164.3 kB / 1.092 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of SimCode: time 0.0002001/0.7298, allocations: 0.5857 MB / 1.093 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of Templates: time 0.003482/0.7332, allocations: 1.116 MB / 1.094 GB, free: 1.719 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches