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.001033/0.001033, allocations: 80.88 kB / 19.94 MB, free: 4.551 MB / 18.57 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.001122/0.001122, allocations: 177 kB / 23.36 MB, free: 1.137 MB / 18.57 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 1.066/1.066, allocations: 177.1 MB / 203.8 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.399/2.399, allocations: 438.8 MB / 0.6827 GB, free: 13.62 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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 1.192e-06/1.192e-06, allocations: 0 / 0.8386 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.284e-05/1.404e-05, allocations: 6.25 kB / 0.8386 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_12.Functions.Examples.ExchangeWithPassPythonObject): time 0.001311/0.001325, allocations: 0.6058 MB / 0.8392 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001059/0.002384, allocations: 1.255 MB / 0.8404 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.975e-05/0.002404, allocations: 0 / 0.8404 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 7.896e-05/0.002483, allocations: 7.922 kB / 0.8404 GB, free: 12.35 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 4.17e-05/0.002524, allocations: 0 / 0.8404 GB, free: 12.35 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003809/0.002905, allocations: 175.2 kB / 0.8406 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 6.449e-05/0.00297, allocations: 15.97 kB / 0.8406 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 2.926e-05/0.002999, allocations: 0 / 0.8406 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 3.73e-05/0.003036, allocations: 15.98 kB / 0.8406 GB, free: 12.15 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 3.414e-05/0.003071, allocations: 7.938 kB / 0.8406 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.001e-05/0.003081, allocations: 4 kB / 0.8406 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002705/0.003351, allocations: 223.5 kB / 0.8409 GB, free: 11.92 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 3.156e-05/0.003383, allocations: 11.94 kB / 0.8409 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.572e-05/0.003398, allocations: 4 kB / 0.8409 GB, free: 11.9 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002185/0.003617, allocations: 219.3 kB / 0.8411 GB, free: 11.69 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.643e-06/0.003618, allocations: 0 / 0.8411 GB, free: 11.69 MB / 0.8073 GB Notification: Performance of FrontEnd: time 5.41e-07/0.003619, allocations: 4 kB / 0.8411 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.156e-06/0.003622, allocations: 0 / 0.8411 GB, free: 11.68 MB / 0.8073 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.0002228/0.003845, allocations: 268.1 kB / 0.8413 GB, free: 11.4 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.003878, allocations: 8.625 kB / 0.8414 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.863e-05/0.003917, allocations: 84.22 kB / 0.8414 GB, free: 11.31 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.162e-05/0.004008, allocations: 189 kB / 0.8416 GB, free: 11.1 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.764e-05/0.004046, allocations: 154.9 kB / 0.8418 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.379e-05/0.00408, allocations: 150.9 kB / 0.8419 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.262e-05/0.004122, allocations: 109.5 kB / 0.842 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.825e-05/0.00414, allocations: 75.47 kB / 0.8421 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.252e-05/0.004173, allocations: 154.7 kB / 0.8422 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.257e-05/0.004206, allocations: 150.6 kB / 0.8424 GB, free: 10.31 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.22e-05/0.004238, allocations: 154.6 kB / 0.8425 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001416/0.004379, allocations: 361.3 kB / 0.8429 GB, free: 9.789 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.792e-05/0.004437, allocations: 169.1 kB / 0.843 GB, free: 9.613 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.052e-05/0.004458, allocations: 84.14 kB / 0.8431 GB, free: 9.527 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.773e-05/0.004476, allocations: 75.28 kB / 0.8432 GB, free: 9.453 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.157e-05/0.004507, allocations: 109.8 kB / 0.8433 GB, free: 9.336 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 6.51e-07/0.004508, allocations: 0 / 0.8433 GB, free: 9.336 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 4.881e-05/0.004557, allocations: 29.69 kB / 0.8433 GB, free: 9.301 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.095e-05/0.004598, allocations: 130.7 kB / 0.8434 GB, free: 9.16 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.335e-05/0.004661, allocations: 102.7 kB / 0.8435 GB, free: 9.047 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.011e-05/0.004671, allocations: 29.69 kB / 0.8436 GB, free: 9.012 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.577e-05/0.004697, allocations: 88.06 kB / 0.8436 GB, free: 8.922 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.633e-06/0.004698, allocations: 0 / 0.8436 GB, free: 8.922 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.459e-05/0.004723, allocations: 21.77 kB / 0.8437 GB, free: 8.895 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.508e-05/0.004788, allocations: 322.8 kB / 0.844 GB, free: 8.57 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.828e-05/0.004806, allocations: 6.828 kB / 0.844 GB, free: 8.562 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.415e-05/0.00484, allocations: 59.39 kB / 0.844 GB, free: 8.492 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.133e-05/0.004872, allocations: 11.69 kB / 0.844 GB, free: 8.477 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.004873, allocations: 0 / 0.844 GB, free: 8.477 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.32e-05/0.004936, allocations: 41.69 kB / 0.8441 GB, free: 8.43 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.839e-06/0.004946, allocations: 4 kB / 0.8441 GB, free: 8.426 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.004952, allocations: 0 / 0.8441 GB, free: 8.426 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.004962, allocations: 128 / 0.8441 GB, free: 8.426 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.908e-06/0.004966, allocations: 11.94 kB / 0.8441 GB, free: 8.414 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.416e-06/0.004969, allocations: 4 kB / 0.8441 GB, free: 8.41 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.107e-05/0.00501, allocations: 15.81 kB / 0.8441 GB, free: 8.395 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.024e-05/0.005021, allocations: 3.938 kB / 0.8441 GB, free: 8.391 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 5.776e-05/0.005078, allocations: 188 kB / 0.8443 GB, free: 8.195 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.334e-05/0.005112, allocations: 105 kB / 0.8444 GB, free: 8.086 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.281e-05/0.005145, allocations: 116.1 kB / 0.8445 GB, free: 7.965 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-05/0.00518, allocations: 180.2 kB / 0.8447 GB, free: 7.781 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-05/0.005215, allocations: 180.3 kB / 0.8449 GB, free: 7.598 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.595e-05/0.005251, allocations: 184.1 kB / 0.845 GB, free: 7.41 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001136/0.005365, allocations: 321.4 kB / 0.8453 GB, free: 7.07 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.188e-05/0.005387, allocations: 104.9 kB / 0.8454 GB, free: 6.961 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.276e-05/0.005409, allocations: 105 kB / 0.8455 GB, free: 6.852 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.542e-05/0.005445, allocations: 180.3 kB / 0.8457 GB, free: 6.668 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.714e-05/0.005482, allocations: 184.2 kB / 0.8459 GB, free: 6.48 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001828/0.005665, allocations: 176.3 kB / 0.8461 GB, free: 6.301 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.88e-05/0.005703, allocations: 184.2 kB / 0.8462 GB, free: 6.113 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.879e-05/0.005792, allocations: 303.8 kB / 0.8465 GB, free: 5.793 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.627e-05/0.005818, allocations: 104.9 kB / 0.8466 GB, free: 5.684 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.127e-05/0.00586, allocations: 180.5 kB / 0.8468 GB, free: 5.5 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.562e-05/0.005905, allocations: 116.9 kB / 0.8469 GB, free: 5.379 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.506e-05/0.00595, allocations: 188.2 kB / 0.8471 GB, free: 5.188 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-05/0.005972, allocations: 101 kB / 0.8472 GB, free: 5.082 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.345e-05/0.005985, allocations: 8.859 kB / 0.8472 GB, free: 5.07 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.005985, allocations: 3.938 kB / 0.8472 GB, free: 5.066 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001789/0.006164, allocations: 55.8 kB / 0.8472 GB, free: 5.012 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.0006745/0.006839, allocations: 444.6 kB / 0.8477 GB, free: 4.668 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.87e-05/0.006897, allocations: 16.78 kB / 0.8477 GB, free: 4.648 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.006901, allocations: 4 kB / 0.8477 GB, free: 4.645 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 9.82e-07/0.006902, allocations: 0 / 0.8477 GB, free: 4.645 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001741/0.007076, allocations: 459.7 kB / 0.8481 GB, free: 4.191 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001486/0.007224, allocations: 166.9 kB / 0.8483 GB, free: 4 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.647e-05/0.007251, allocations: 63.34 kB / 0.8483 GB, free: 3.918 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.362e-05/0.007284, allocations: 8 kB / 0.8484 GB, free: 3.91 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.864e-05/0.007333, allocations: 55.36 kB / 0.8484 GB, free: 3.855 MB / 0.8073 GB Notification: Performance of SimCode: time 5e-07/0.007333, allocations: 0 / 0.8484 GB, free: 3.855 MB / 0.8073 GB Notification: Performance of Templates: time 0.002869/0.0102, allocations: 1.808 MB / 0.8502 GB, free: 2.09 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 -s gbode -gbm=radauIIA3 -emit_protected -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","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_IO_Python_3_12_Functions_Examples_ExchangeWithPassPythonObject.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.262977910228074]