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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.000918/0.0009181, allocations: 91.45 kB / 15.06 MB, free: 1.098 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.0008754/0.0008754, allocations: 172.7 kB / 15.95 MB, free: 208 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.412/1.412, allocations: 223.3 MB / 240 MB, free: 5.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.457/2.457, allocations: 390.9 MB / 0.666 GB, free: 2.48 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003088/0.0003088, allocations: 12 kB / 0.8154 GB, free: 13.62 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6192/0.6195, allocations: 142.4 MB / 0.9544 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.0006553/0.6202, allocations: 277.4 kB / 0.9547 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001887/0.6204, allocations: 104.5 kB / 0.9548 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.061e-05/0.6204, allocations: 1.156 kB / 0.9548 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 7.965e-05/0.6205, allocations: 2.219 kB / 0.9548 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.078e-05/0.6206, allocations: 0 / 0.9548 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001256/0.6207, allocations: 41.25 kB / 0.9549 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.438e-05/0.6208, allocations: 24.88 kB / 0.9549 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.154e-05/0.6208, allocations: 1.25 kB / 0.9549 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.66e-05/0.6209, allocations: 16.02 kB / 0.9549 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.007e-05/0.6209, allocations: 5.438 kB / 0.9549 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.575e-05/0.6209, allocations: 2.031 kB / 0.9549 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.666e-05/0.621, allocations: 14.14 kB / 0.9549 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.344e-06/0.621, allocations: 7.922 kB / 0.9549 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.805e-05/0.621, allocations: 29.2 kB / 0.9549 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.298e-05/0.6211, allocations: 14.17 kB / 0.955 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.6211, allocations: 1.5 kB / 0.955 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.773e-06/0.6211, allocations: 0 / 0.955 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.467e-06/0.6211, allocations: 0 / 0.955 GB, free: 7.316 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.0001869/0.6213, allocations: 346.3 kB / 0.9553 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.037e-05/0.6213, allocations: 9.594 kB / 0.9553 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.099e-05/0.6214, allocations: 10.39 kB / 0.9553 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.648e-05/0.6214, allocations: 160.5 kB / 0.9555 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.6215, allocations: 1.031 kB / 0.9555 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.518e-05/0.6215, allocations: 8.719 kB / 0.9555 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.231e-05/0.6216, allocations: 54.53 kB / 0.9555 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.091e-06/0.6216, allocations: 0 / 0.9555 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.6216, allocations: 2.5 kB / 0.9555 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.6216, allocations: 0 / 0.9555 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.605e-05/0.6217, allocations: 20.17 kB / 0.9555 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.263e-05/0.6217, allocations: 152 kB / 0.9557 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.871e-05/0.6218, allocations: 32.17 kB / 0.9557 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.177e-05/0.6218, allocations: 21.75 kB / 0.9557 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 5.911e-06/0.6218, allocations: 0 / 0.9557 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.39e-05/0.6219, allocations: 31.72 kB / 0.9558 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 9.01e-07/0.6219, allocations: 0 / 0.9558 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001911/0.6221, allocations: 106.1 kB / 0.9559 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.266e-05/0.6221, allocations: 86.55 kB / 0.956 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.038e-05/0.6221, allocations: 100.9 kB / 0.9561 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.197e-06/0.6222, allocations: 31.02 kB / 0.9561 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.212e-05/0.6222, allocations: 81.67 kB / 0.9562 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.869e-05/0.6222, allocations: 1.438 kB / 0.9562 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.161e-06/0.6222, allocations: 1.5 kB / 0.9562 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.586e-05/0.6223, allocations: 316.2 kB / 0.9565 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.866e-05/0.6223, allocations: 15.11 kB / 0.9565 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.363e-05/0.6223, allocations: 7.344 kB / 0.9565 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.355e-05/0.6224, allocations: 44.62 kB / 0.9565 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.6224, allocations: 0 / 0.9565 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001128/0.6225, allocations: 95.7 kB / 0.9566 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.404e-05/0.6225, allocations: 39.47 kB / 0.9567 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.6225, allocations: 5.484 kB / 0.9567 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.6225, allocations: 0 / 0.9567 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.11e-07/0.6225, allocations: 0 / 0.9567 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.6225, allocations: 0 / 0.9567 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000119/0.6227, allocations: 5.281 kB / 0.9567 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.098e-05/0.6227, allocations: 2.969 kB / 0.9567 GB, free: 5.488 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): 0 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.508e-05/0.6227, allocations: 151.8 kB / 0.9568 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.253e-05/0.6228, allocations: 7.188 kB / 0.9568 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.335e-06/0.6228, allocations: 3.125 kB / 0.9568 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.6228, allocations: 1.344 kB / 0.9568 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.6228, allocations: 0 / 0.9568 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.6228, allocations: 0 / 0.9568 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.112e-05/0.6229, allocations: 157.6 kB / 0.957 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.6229, allocations: 3.984 kB / 0.957 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.71e-07/0.6229, allocations: 0 / 0.957 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.6229, allocations: 4.656 kB / 0.957 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/0.6229, allocations: 3 kB / 0.957 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.6229, allocations: 5 kB / 0.957 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.6229, allocations: 0 / 0.957 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001226/0.623, allocations: 129.8 kB / 0.9571 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.417e-05/0.623, allocations: 77.11 kB / 0.9572 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.519e-05/0.6231, allocations: 2.625 kB / 0.9572 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.237e-05/0.6232, allocations: 12.7 kB / 0.9572 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.875e-05/0.6232, allocations: 6.375 kB / 0.9572 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.696e-06/0.6232, allocations: 6.438 kB / 0.9572 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.598e-05/0.6232, allocations: 76.75 kB / 0.9573 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6232, allocations: 0 / 0.9573 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002008/0.6234, allocations: 12.41 kB / 0.9573 GB, free: 4.809 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: 1 * 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.0001753/0.6236, allocations: 130.1 kB / 0.9574 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001118/0.6237, allocations: 84.48 kB / 0.9575 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.6237, allocations: 0 / 0.9575 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.465e-05/0.6238, allocations: 71.48 kB / 0.9576 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001373/0.6239, allocations: 12.27 kB / 0.9576 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002193/0.6242, allocations: 105 kB / 0.9577 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.392e-05/0.6243, allocations: 0.6742 MB / 0.9583 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.662e-05/0.6243, allocations: 7.516 kB / 0.9584 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.315e-06/0.6243, allocations: 8.531 kB / 0.9584 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of SimCode: time 3.81e-07/0.6243, allocations: 0 / 0.9584 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of Templates: time 0.002872/0.6272, allocations: 1.008 MB / 0.9593 GB, free: 3.191 MB / 0.7169 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/jenkins/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