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.001306/0.001306, allocations: 82.05 kB / 19.87 MB, free: 4.617 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.001492/0.001492, allocations: 173.7 kB / 23.28 MB, free: 1.219 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 0.9441/0.9441, allocations: 177.1 MB / 203.7 MB, free: 5.523 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.522/2.522, allocations: 438.1 MB / 0.682 GB, free: 14.19 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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.493e-06/1.493e-06, allocations: 0 / 0.8897 GB, free: 9.805 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.011e-05/2.16e-05, allocations: 10.25 kB / 0.8897 GB, free: 9.793 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_12.Functions.Examples.ExchangeWithPassPythonObject): time 0.00127/0.001291, allocations: 0.5553 MB / 0.8903 GB, free: 9.242 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.00137/0.002661, allocations: 1.239 MB / 0.8915 GB, free: 7.996 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.725e-05/0.002689, allocations: 0 / 0.8915 GB, free: 7.996 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 9.775e-05/0.002786, allocations: 8 kB / 0.8915 GB, free: 7.988 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 4.936e-05/0.002836, allocations: 3.938 kB / 0.8915 GB, free: 7.984 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004866/0.003322, allocations: 183.3 kB / 0.8917 GB, free: 7.805 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 5.501e-05/0.003377, allocations: 15.92 kB / 0.8917 GB, free: 7.789 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 3.106e-05/0.003408, allocations: 4 kB / 0.8917 GB, free: 7.785 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 3.568e-05/0.003444, allocations: 15.97 kB / 0.8917 GB, free: 7.77 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 3.498e-05/0.003479, allocations: 4 kB / 0.8917 GB, free: 7.766 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.135e-05/0.00349, allocations: 3.938 kB / 0.8917 GB, free: 7.762 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002875/0.003778, allocations: 215.6 kB / 0.8919 GB, free: 7.551 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 3.814e-05/0.003816, allocations: 11.94 kB / 0.8919 GB, free: 7.539 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 1.566e-05/0.003832, allocations: 0 / 0.8919 GB, free: 7.539 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0002349/0.004066, allocations: 227.3 kB / 0.8921 GB, free: 7.316 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.004069, allocations: 0 / 0.8921 GB, free: 7.316 MB / 0.8542 GB Notification: Performance of FrontEnd: time 9.12e-07/0.00407, allocations: 3.938 kB / 0.8921 GB, free: 7.312 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.004074, allocations: 4 kB / 0.8922 GB, free: 7.309 MB / 0.8542 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.0002804/0.004355, allocations: 391.8 kB / 0.8925 GB, free: 6.891 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.004392, allocations: 8.625 kB / 0.8925 GB, free: 6.883 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.087e-05/0.004443, allocations: 128.1 kB / 0.8927 GB, free: 6.758 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001017/0.004544, allocations: 227.8 kB / 0.8929 GB, free: 6.508 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.953e-05/0.004604, allocations: 246.8 kB / 0.8931 GB, free: 6.266 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.202e-05/0.004656, allocations: 246.7 kB / 0.8933 GB, free: 6.023 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.727e-05/0.004713, allocations: 153.5 kB / 0.8935 GB, free: 5.867 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.333e-05/0.004736, allocations: 119.4 kB / 0.8936 GB, free: 5.75 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.872e-05/0.004785, allocations: 242.5 kB / 0.8938 GB, free: 5.512 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.482e-05/0.00483, allocations: 238.4 kB / 0.8941 GB, free: 5.277 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.836e-05/0.004878, allocations: 242.3 kB / 0.8943 GB, free: 5.039 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000203/0.005081, allocations: 0.5569 MB / 0.8948 GB, free: 4.457 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 7.321e-05/0.005154, allocations: 265.4 kB / 0.8951 GB, free: 4.184 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.993e-05/0.005184, allocations: 126.9 kB / 0.8952 GB, free: 4.055 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.555e-05/0.00521, allocations: 123.2 kB / 0.8953 GB, free: 3.934 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.087e-05/0.005251, allocations: 160.5 kB / 0.8955 GB, free: 3.766 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=0): time 7.81e-07/0.005252, allocations: 0 / 0.8955 GB, free: 3.766 MB / 0.8542 GB Notification: Performance of matching and sorting (n=0): time 5.296e-05/0.005305, allocations: 29.66 kB / 0.8955 GB, free: 3.73 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.722e-05/0.005352, allocations: 174.6 kB / 0.8957 GB, free: 3.547 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.518e-05/0.005437, allocations: 169.8 kB / 0.8958 GB, free: 3.363 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.083e-05/0.005448, allocations: 25.7 kB / 0.8959 GB, free: 3.332 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.014e-05/0.005488, allocations: 126.9 kB / 0.896 GB, free: 3.203 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.383e-06/0.005489, allocations: 0 / 0.896 GB, free: 3.203 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.223e-05/0.005522, allocations: 27.36 kB / 0.896 GB, free: 3.168 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000105/0.005627, allocations: 496.1 kB / 0.8965 GB, free: 2.672 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.349e-05/0.00565, allocations: 8 kB / 0.8965 GB, free: 2.664 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.514e-05/0.005685, allocations: 55.41 kB / 0.8965 GB, free: 2.598 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.331e-05/0.005718, allocations: 23.61 kB / 0.8966 GB, free: 2.57 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.00572, allocations: 0 / 0.8966 GB, free: 2.57 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.427e-05/0.005805, allocations: 37.7 kB / 0.8966 GB, free: 2.527 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.005817, allocations: 8 kB / 0.8966 GB, free: 2.52 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.005822, allocations: 0 / 0.8966 GB, free: 2.52 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.155e-06/0.00583, allocations: 0 / 0.8966 GB, free: 2.52 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.725e-06/0.005833, allocations: 0 / 0.8966 GB, free: 2.52 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.927e-06/0.005837, allocations: 12.05 kB / 0.8966 GB, free: 2.508 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.07e-05/0.005887, allocations: 7.922 kB / 0.8966 GB, free: 2.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.163e-05/0.005899, allocations: 4 kB / 0.8966 GB, free: 2.496 MB / 0.8542 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.893e-05/0.005978, allocations: 275.8 kB / 0.8969 GB, free: 2.215 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.273e-05/0.006021, allocations: 152.8 kB / 0.897 GB, free: 2.059 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.029e-05/0.006061, allocations: 152.1 kB / 0.8972 GB, free: 1.902 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.304e-05/0.006114, allocations: 280 kB / 0.8975 GB, free: 1.621 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.823e-05/0.006162, allocations: 264.1 kB / 0.8977 GB, free: 1.355 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000264/0.006426, allocations: 268 kB / 0.898 GB, free: 1.086 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001429/0.006569, allocations: 480.5 kB / 0.8984 GB, free: 0.582 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.478e-05/0.006604, allocations: 152.9 kB / 0.8986 GB, free: 436 kB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.35e-05/0.006637, allocations: 152.8 kB / 0.8987 GB, free: 276 kB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.456e-05/0.006692, allocations: 264.1 kB / 0.899 GB, free: 4 kB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-05/0.00676, allocations: 272.1 kB / 0.8992 GB, free: 15.73 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.861e-05/0.006818, allocations: 272 kB / 0.8995 GB, free: 15.46 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.444e-05/0.006873, allocations: 268.1 kB / 0.8997 GB, free: 15.19 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000121/0.006994, allocations: 451.8 kB / 0.9002 GB, free: 14.72 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.044e-05/0.007034, allocations: 156.8 kB / 0.9003 GB, free: 14.56 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.657e-05/0.007091, allocations: 264.1 kB / 0.9006 GB, free: 14.29 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.376e-05/0.007145, allocations: 156.9 kB / 0.9007 GB, free: 14.13 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.67e-05/0.007201, allocations: 272 kB / 0.901 GB, free: 13.86 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.956e-05/0.007231, allocations: 148.9 kB / 0.9011 GB, free: 13.71 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 3.628e-05/0.007267, allocations: 123.4 kB / 0.9012 GB, free: 13.59 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5e-08/0.007267, allocations: 0 / 0.9012 GB, free: 13.59 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002181/0.007485, allocations: 55.8 kB / 0.9013 GB, free: 13.53 MB / 0.8698 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.0005832/0.008068, allocations: 463.9 kB / 0.9017 GB, free: 13.14 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 7.36e-05/0.008142, allocations: 27.61 kB / 0.9018 GB, free: 13.11 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.522e-06/0.008144, allocations: 0 / 0.9018 GB, free: 13.11 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 9.52e-07/0.008145, allocations: 0 / 0.9018 GB, free: 13.11 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002762/0.008421, allocations: 0.7023 MB / 0.9024 GB, free: 12.4 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002019/0.008623, allocations: 209.7 kB / 0.9026 GB, free: 12.16 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.711e-05/0.00865, allocations: 51.36 kB / 0.9027 GB, free: 12.09 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 3.98e-05/0.00869, allocations: 12.05 kB / 0.9027 GB, free: 12.08 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.425e-05/0.008744, allocations: 82.19 kB / 0.9028 GB, free: 12 MB / 0.8698 GB Notification: Performance of SimCode: time 7.22e-07/0.008744, allocations: 0 / 0.9028 GB, free: 12 MB / 0.8698 GB Notification: Performance of Templates: time 0.003128/0.01187, allocations: 1.818 MB / 0.9046 GB, free: 10.22 MB / 0.8698 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 -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.627144283149391]