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.002182/0.002182, allocations: 79.2 kB / 19.18 MB, free: 2.516 MB / 14.72 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.002608/0.002608, allocations: 163.7 kB / 22.45 MB, free: 5.379 MB / 14.72 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.502/1.502, allocations: 177.1 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] 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.907/2.907, allocations: 389 MB / 0.633 GB, free: 0.9883 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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.1.|yR2.1.",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.1.|yR2.1.",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Python_3_12.Functions.Examples.ExchangeWithPassPythonObject") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.572e-06/1.572e-06, allocations: 0 / 1 GB, free: 7.301 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.583e-05/2.74e-05, allocations: 2.281 kB / 1 GB, free: 7.297 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_12.Functions.Examples.ExchangeWithPassPythonObject): time 0.002023/0.002051, allocations: 0.5416 MB / 1.001 GB, free: 6.762 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001931/0.003981, allocations: 1.215 MB / 1.002 GB, free: 5.539 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.353e-05/0.004005, allocations: 0 / 1.002 GB, free: 5.539 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001262/0.004131, allocations: 4 kB / 1.002 GB, free: 5.535 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 4.819e-05/0.004179, allocations: 0 / 1.002 GB, free: 5.535 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007196/0.004899, allocations: 187.2 kB / 1.002 GB, free: 5.352 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 7.961e-05/0.004979, allocations: 19.97 kB / 1.002 GB, free: 5.332 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 3.855e-05/0.005017, allocations: 0 / 1.002 GB, free: 5.332 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 4.537e-05/0.005062, allocations: 11.94 kB / 1.002 GB, free: 5.32 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 4.854e-05/0.005111, allocations: 11.98 kB / 1.002 GB, free: 5.309 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.673e-05/0.005128, allocations: 0 / 1.002 GB, free: 5.309 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004723/0.0056, allocations: 219.5 kB / 1.002 GB, free: 5.094 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 4.752e-05/0.005648, allocations: 4 kB / 1.002 GB, free: 5.09 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 2.763e-05/0.005675, allocations: 0 / 1.002 GB, free: 5.09 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0004579/0.006133, allocations: 219.4 kB / 1.002 GB, free: 4.875 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.006137, allocations: 0 / 1.002 GB, free: 4.875 MB / 0.9512 GB Notification: Performance of FrontEnd: time 9.12e-07/0.006138, allocations: 0 / 1.002 GB, free: 4.875 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.006142, allocations: 0 / 1.002 GB, free: 4.875 MB / 0.9512 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.0004727/0.006615, allocations: 297.8 kB / 1.003 GB, free: 4.555 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/0.006663, allocations: 8.031 kB / 1.003 GB, free: 4.547 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.599e-05/0.006759, allocations: 84.17 kB / 1.003 GB, free: 4.465 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001614/0.00692, allocations: 185.1 kB / 1.003 GB, free: 4.258 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.926e-05/0.007009, allocations: 154.9 kB / 1.003 GB, free: 4.105 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.697e-05/0.007106, allocations: 158.9 kB / 1.003 GB, free: 3.949 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.484e-05/0.007201, allocations: 109.5 kB / 1.003 GB, free: 3.836 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.757e-05/0.007249, allocations: 75.47 kB / 1.004 GB, free: 3.762 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.2e-05/0.007321, allocations: 158.7 kB / 1.004 GB, free: 3.605 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-05/0.007398, allocations: 150.6 kB / 1.004 GB, free: 3.457 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.05e-05/0.007469, allocations: 154.5 kB / 1.004 GB, free: 3.305 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00034/0.007809, allocations: 401.6 kB / 1.004 GB, free: 2.883 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001351/0.007944, allocations: 169.1 kB / 1.004 GB, free: 2.707 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.552e-05/0.00799, allocations: 84.14 kB / 1.005 GB, free: 2.621 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 5.001e-05/0.00804, allocations: 75.28 kB / 1.005 GB, free: 2.547 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.041e-05/0.00811, allocations: 113.8 kB / 1.005 GB, free: 2.426 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.008111, allocations: 0 / 1.005 GB, free: 2.426 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0): time 9.843e-05/0.008209, allocations: 33.64 kB / 1.005 GB, free: 2.387 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.465e-05/0.008294, allocations: 130.6 kB / 1.005 GB, free: 2.246 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001331/0.008427, allocations: 105.8 kB / 1.005 GB, free: 2.133 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.928e-05/0.008446, allocations: 25.7 kB / 1.005 GB, free: 2.102 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.044e-05/0.008507, allocations: 80.19 kB / 1.005 GB, free: 2.02 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.943e-06/0.008509, allocations: 0 / 1.005 GB, free: 2.02 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.359e-05/0.008552, allocations: 25.72 kB / 1.005 GB, free: 1.988 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000156/0.008708, allocations: 318.8 kB / 1.005 GB, free: 1.668 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.79e-05/0.008736, allocations: 4 kB / 1.005 GB, free: 1.664 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.425e-05/0.00881, allocations: 67.33 kB / 1.006 GB, free: 1.586 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.59e-05/0.008876, allocations: 24.8 kB / 1.006 GB, free: 1.559 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.008879, allocations: 0 / 1.006 GB, free: 1.559 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001515/0.00903, allocations: 53.67 kB / 1.006 GB, free: 1.5 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.009045, allocations: 4 kB / 1.006 GB, free: 1.496 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.009051, allocations: 0 / 1.006 GB, free: 1.496 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.009066, allocations: 128 / 1.006 GB, free: 1.496 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.835e-06/0.009068, allocations: 7.938 kB / 1.006 GB, free: 1.488 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.009074, allocations: 0 / 1.006 GB, free: 1.488 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.576e-05/0.009159, allocations: 7.953 kB / 1.006 GB, free: 1.48 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.942e-05/0.009179, allocations: 4 kB / 1.006 GB, free: 1.477 MB / 0.9512 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 0.000133/0.009312, allocations: 189.6 kB / 1.006 GB, free: 1.281 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.815e-05/0.00939, allocations: 112.9 kB / 1.006 GB, free: 1.164 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.168e-05/0.009462, allocations: 104.1 kB / 1.006 GB, free: 1.051 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.922e-05/0.009551, allocations: 180.2 kB / 1.006 GB, free: 0.8672 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.079e-05/0.009632, allocations: 184.2 kB / 1.006 GB, free: 0.6797 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.497e-05/0.009727, allocations: 180.2 kB / 1.007 GB, free: 0.4961 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002661/0.009993, allocations: 360.8 kB / 1.007 GB, free: 108 kB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.654e-05/0.01004, allocations: 101 kB / 1.007 GB, free: 0 / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.119e-05/0.01012, allocations: 108.9 kB / 1.007 GB, free: 15.89 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.581e-05/0.01021, allocations: 180.4 kB / 1.007 GB, free: 15.7 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001021/0.01031, allocations: 176.3 kB / 1.007 GB, free: 15.52 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.661e-05/0.0104, allocations: 184.2 kB / 1.008 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.667e-05/0.0105, allocations: 180.3 kB / 1.008 GB, free: 15.15 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001906/0.01069, allocations: 311.7 kB / 1.008 GB, free: 14.82 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.82e-05/0.01075, allocations: 109 kB / 1.008 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.628e-05/0.01085, allocations: 180.2 kB / 1.008 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.499e-05/0.01094, allocations: 113 kB / 1.008 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.966e-05/0.01103, allocations: 192.1 kB / 1.009 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.23e-05/0.01108, allocations: 101 kB / 1.009 GB, free: 14.11 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.129e-05/0.01113, allocations: 79.28 kB / 1.009 GB, free: 14.03 MB / 0.9669 GB Notification: Performance of sort global known variables: time 6e-08/0.01114, allocations: 0 / 1.009 GB, free: 14.03 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000359/0.01149, allocations: 63.67 kB / 1.009 GB, free: 13.97 MB / 0.9669 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.0009806/0.01247, allocations: 400.5 kB / 1.009 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001032/0.01258, allocations: 20.23 kB / 1.009 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.01258, allocations: 0 / 1.009 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.984e-06/0.01258, allocations: 0 / 1.009 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004099/0.01299, allocations: 459.6 kB / 1.01 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003066/0.0133, allocations: 172.1 kB / 1.01 GB, free: 12.97 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.779e-05/0.01336, allocations: 51.36 kB / 1.01 GB, free: 12.9 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001158/0.01347, allocations: 16.05 kB / 1.01 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.635e-05/0.01352, allocations: 12.5 kB / 1.01 GB, free: 12.87 MB / 0.9669 GB Notification: Performance of SimCode: time 8.12e-07/0.01352, allocations: 0 / 1.01 GB, free: 12.87 MB / 0.9669 GB Notification: Performance of Templates: time 0.004991/0.01851, allocations: 1.571 MB / 1.011 GB, free: 11.34 MB / 0.9669 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.Python_3_12.Functions.Examples.ExchangeWithPassPythonObject.pipe 2>&1) [Timeout 800] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.IO.Python_3_12.Functions.Examples.ExchangeWithPassPythonObject.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.131956093013287]