Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.IO.Python_3_12.Functions.Examples.ExchangeWithPassPythonObject.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007625/0.0007625, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001011/0.001774, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0006992/0.0006992, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008695/0.001569, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9289/0.9289, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09599/1.025, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.382/2.382, allocations: 446.7 MB / 0.6745 GB, free: 6.211 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2535/2.635, allocations: 145.9 MB / 0.817 GB, free: 4.219 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.IO.Python_3_12.Functions.Examples.ExchangeWithPassPythonObject,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|yR1.[0-9,]+.|yR2.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Python_3_12.Functions.Examples.ExchangeWithPassPythonObject") translateModel(Buildings.Utilities.IO.Python_3_12.Functions.Examples.ExchangeWithPassPythonObject,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|yR1.[0-9,]+.|yR2.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Python_3_12.Functions.Examples.ExchangeWithPassPythonObject") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.365e-06/2.365e-06, allocations: 3.984 kB / 0.8183 GB, free: 2.926 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.881e-05/2.117e-05, allocations: 4.422 kB / 0.8183 GB, free: 2.922 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_12.Functions.Examples.ExchangeWithPassPythonObject): time 0.00115/0.001171, allocations: 0.5947 MB / 0.8189 GB, free: 2.324 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001217/0.002388, allocations: 1.27 MB / 0.8201 GB, free: 1.047 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.342e-05/0.002411, allocations: 0 / 0.8201 GB, free: 1.047 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 4.165e-05/0.002453, allocations: 3.938 kB / 0.8201 GB, free: 1.043 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 1.2e-05/0.002465, allocations: 7.938 kB / 0.8201 GB, free: 1.035 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003603/0.002825, allocations: 175.4 kB / 0.8203 GB, free: 0.8633 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 5.688e-05/0.002882, allocations: 11.94 kB / 0.8203 GB, free: 0.8516 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 3.116e-05/0.002913, allocations: 3.984 kB / 0.8203 GB, free: 0.8477 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 4.77e-05/0.002961, allocations: 12 kB / 0.8203 GB, free: 0.8359 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 3.807e-05/0.002999, allocations: 11.92 kB / 0.8203 GB, free: 0.8242 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.243e-05/0.003011, allocations: 0 / 0.8203 GB, free: 0.8242 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002799/0.003291, allocations: 223.6 kB / 0.8205 GB, free: 0.6055 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 3.456e-05/0.003326, allocations: 3.938 kB / 0.8205 GB, free: 0.6016 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.623e-05/0.003342, allocations: 8 kB / 0.8205 GB, free: 0.5938 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0002109/0.003553, allocations: 187.4 kB / 0.8207 GB, free: 420 kB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.378e-05/0.003567, allocations: 0 / 0.8207 GB, free: 420 kB / 0.7917 GB Notification: Performance of FrontEnd: time 8.41e-07/0.003567, allocations: 0 / 0.8207 GB, free: 420 kB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.112e-05/0.003579, allocations: 0 / 0.8207 GB, free: 420 kB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003257/0.003904, allocations: 288.2 kB / 0.821 GB, free: 108 kB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.091e-05/0.003935, allocations: 16.56 kB / 0.821 GB, free: 92 kB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.532e-05/0.00398, allocations: 76.22 kB / 0.8211 GB, free: 16 kB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001143/0.004095, allocations: 181.1 kB / 0.8213 GB, free: 15.81 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.057e-05/0.004135, allocations: 150.9 kB / 0.8214 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.439e-05/0.00418, allocations: 162.9 kB / 0.8216 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.905e-05/0.004229, allocations: 105.5 kB / 0.8217 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.136e-05/0.00425, allocations: 79.47 kB / 0.8217 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.409e-05/0.004284, allocations: 154.7 kB / 0.8219 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.395e-05/0.004318, allocations: 150.6 kB / 0.822 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.711e-05/0.004355, allocations: 154.6 kB / 0.8222 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001511/0.004506, allocations: 357.3 kB / 0.8225 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 6.167e-05/0.004568, allocations: 169.1 kB / 0.8227 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.158e-05/0.00459, allocations: 80.14 kB / 0.8228 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.826e-05/0.004608, allocations: 75.28 kB / 0.8228 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.867e-05/0.004647, allocations: 109.8 kB / 0.8229 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 1.132e-06/0.004648, allocations: 4 kB / 0.8229 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 6.298e-05/0.004711, allocations: 37.62 kB / 0.823 GB, free: 14 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.823e-05/0.004759, allocations: 130.7 kB / 0.8231 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.627e-05/0.004835, allocations: 114.5 kB / 0.8232 GB, free: 13.74 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 9.447e-06/0.004845, allocations: 25.7 kB / 0.8232 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.842e-05/0.004873, allocations: 80.14 kB / 0.8233 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.623e-06/0.004875, allocations: 4 kB / 0.8233 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.857e-05/0.004903, allocations: 21.69 kB / 0.8233 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.015e-05/0.004983, allocations: 310.8 kB / 0.8236 GB, free: 13.28 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.406e-05/0.005007, allocations: 6.828 kB / 0.8236 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.599e-05/0.005043, allocations: 63.39 kB / 0.8237 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.499e-05/0.005078, allocations: 15.69 kB / 0.8237 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.00508, allocations: 0 / 0.8237 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.311e-05/0.005154, allocations: 41.62 kB / 0.8237 GB, free: 13.13 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.005167, allocations: 4 kB / 0.8238 GB, free: 13.13 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.005173, allocations: 0 / 0.8238 GB, free: 13.13 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.825e-06/0.005181, allocations: 4 kB / 0.8238 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.09e-06/0.005186, allocations: 4 kB / 0.8238 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.146e-06/0.005189, allocations: 0 / 0.8238 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.397e-05/0.005253, allocations: 4.25 kB / 0.8238 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.712e-05/0.00527, allocations: 15.98 kB / 0.8238 GB, free: 13.1 MB / 0.8073 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 (2): * Single equations (assignments): 0 * Array equations: 2 * 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 7.797e-05/0.005348, allocations: 187.9 kB / 0.824 GB, free: 12.91 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.845e-05/0.005386, allocations: 109 kB / 0.8241 GB, free: 12.79 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.747e-05/0.005424, allocations: 108.1 kB / 0.8242 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.575e-05/0.00547, allocations: 176.3 kB / 0.8243 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.56e-05/0.005515, allocations: 188.2 kB / 0.8245 GB, free: 12.31 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.122e-05/0.005556, allocations: 184.2 kB / 0.8247 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001361/0.005693, allocations: 321.5 kB / 0.825 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.761e-05/0.00572, allocations: 104.9 kB / 0.8251 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.772e-05/0.005748, allocations: 105 kB / 0.8252 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.259e-05/0.00578, allocations: 112.9 kB / 0.8253 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.359e-05/0.005824, allocations: 176.3 kB / 0.8255 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.361e-05/0.005868, allocations: 180.5 kB / 0.8256 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.333e-05/0.005911, allocations: 184.2 kB / 0.8258 GB, free: 10.9 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.925e-05/0.00596, allocations: 180.2 kB / 0.826 GB, free: 10.71 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001/0.00606, allocations: 311.7 kB / 0.8263 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.018e-05/0.00611, allocations: 180.2 kB / 0.8265 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.273e-05/0.006153, allocations: 101 kB / 0.8266 GB, free: 10.1 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.868e-05/0.006202, allocations: 184.2 kB / 0.8267 GB, free: 9.91 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.506e-05/0.006227, allocations: 104.9 kB / 0.8268 GB, free: 9.801 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.928e-05/0.006246, allocations: 16.84 kB / 0.8268 GB, free: 9.781 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.006246, allocations: 0 / 0.8268 GB, free: 9.781 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002025/0.006449, allocations: 55.8 kB / 0.8269 GB, free: 9.727 MB / 0.8073 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 (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0007694/0.007218, allocations: 484.4 kB / 0.8274 GB, free: 9.379 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 7.022e-05/0.007288, allocations: 16.8 kB / 0.8274 GB, free: 9.359 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.007292, allocations: 0 / 0.8274 GB, free: 9.359 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 7.62e-07/0.007293, allocations: 0 / 0.8274 GB, free: 9.359 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001963/0.007489, allocations: 459.6 kB / 0.8278 GB, free: 8.906 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001834/0.007672, allocations: 179 kB / 0.828 GB, free: 8.703 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.869e-05/0.007701, allocations: 55.34 kB / 0.828 GB, free: 8.629 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.831e-05/0.007749, allocations: 7.906 kB / 0.8281 GB, free: 8.621 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.806e-05/0.007807, allocations: 67.36 kB / 0.8281 GB, free: 8.555 MB / 0.8073 GB Notification: Performance of SimCode: time 5.21e-07/0.007808, allocations: 0 / 0.8281 GB, free: 8.555 MB / 0.8073 GB Notification: Performance of Templates: time 0.003098/0.01091, allocations: 1.819 MB / 0.8299 GB, free: 6.766 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.IO.Python_3_12.Functions.Examples.ExchangeWithPassPythonObject.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.IO.Python_3_12.Functions.Examples.ExchangeWithPassPythonObject.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.Python_3_12.Functions.Examples.ExchangeWithPassPythonObject.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.Python_3_12.Functions.Examples.ExchangeWithPassPythonObject.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.Python_3_12.Functions.Examples.ExchangeWithPassPythonObject.sim & ./Buildings_latest_Buildings.Utilities.IO.Python_3_12.Functions.Examples.ExchangeWithPassPythonObject -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.Python_3_12.Functions.Examples.ExchangeWithPassPythonObject.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.IO.Python_3_12.Functions.Examples.ExchangeWithPassPythonObject_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.IO.Python_3_12.Functions.Examples.ExchangeWithPassPythonObject/Buildings_latest_Buildings.Utilities.IO.Python_3_12.Functions.Examples.ExchangeWithPassPythonObject.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.27399337477982]