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.0009972/0.0009972, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.001254/0.001254, allocations: 181 kB / 23.36 MB, free: 1.133 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.029/1.029, 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.276/2.276, 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.563e-06/1.563e-06, allocations: 0 / 0.8386 GB, free: 14.28 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.32e-05/1.476e-05, allocations: 4.844 kB / 0.8386 GB, free: 14.28 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_12.Functions.Examples.ExchangeWithPassPythonObject): time 0.001118/0.001133, allocations: 0.5597 MB / 0.8391 GB, free: 13.72 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001148/0.002281, allocations: 1.255 MB / 0.8403 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.339e-05/0.002305, allocations: 3.938 kB / 0.8403 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 9.345e-05/0.002398, allocations: 0 / 0.8403 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 4.536e-05/0.002443, allocations: 0 / 0.8403 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004757/0.002919, allocations: 191.2 kB / 0.8405 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 5.754e-05/0.002977, allocations: 15.97 kB / 0.8405 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.098e-05/0.003008, allocations: 4 kB / 0.8405 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 3.693e-05/0.003044, allocations: 7.984 kB / 0.8405 GB, free: 12.24 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 3.878e-05/0.003083, allocations: 11.98 kB / 0.8406 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.1e-05/0.003094, allocations: 0 / 0.8406 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002613/0.003356, allocations: 219.5 kB / 0.8408 GB, free: 12.01 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 3.176e-05/0.003387, allocations: 0 / 0.8408 GB, free: 12.01 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.785e-05/0.003405, allocations: 11.92 kB / 0.8408 GB, free: 12 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002307/0.003636, allocations: 223.3 kB / 0.841 GB, free: 11.78 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.923e-06/0.003638, allocations: 0 / 0.841 GB, free: 11.78 MB / 0.8073 GB Notification: Performance of FrontEnd: time 5.11e-07/0.003638, allocations: 0 / 0.841 GB, free: 11.78 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.845e-06/0.003641, allocations: 0 / 0.841 GB, free: 11.78 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.0002341/0.003875, allocations: 264.2 kB / 0.8412 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.339e-05/0.003909, allocations: 12.62 kB / 0.8413 GB, free: 11.49 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.422e-05/0.003953, allocations: 84.16 kB / 0.8413 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.208e-05/0.004045, allocations: 189 kB / 0.8415 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.044e-05/0.004085, allocations: 150.9 kB / 0.8417 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.332e-05/0.004129, allocations: 154.9 kB / 0.8418 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.389e-05/0.004173, allocations: 101.5 kB / 0.8419 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.939e-05/0.004192, allocations: 79.45 kB / 0.842 GB, free: 10.71 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.431e-05/0.004236, allocations: 158.7 kB / 0.8421 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.792e-05/0.004274, allocations: 154.6 kB / 0.8423 GB, free: 10.4 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.591e-05/0.00431, allocations: 154.5 kB / 0.8424 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001584/0.004468, allocations: 353.3 kB / 0.8428 GB, free: 9.891 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 6.573e-05/0.004534, allocations: 169.1 kB / 0.8429 GB, free: 9.715 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.329e-05/0.004558, allocations: 84.14 kB / 0.843 GB, free: 9.629 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.959e-05/0.004577, allocations: 79.28 kB / 0.8431 GB, free: 9.551 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.228e-05/0.004609, allocations: 105.8 kB / 0.8432 GB, free: 9.438 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.00461, allocations: 0 / 0.8432 GB, free: 9.438 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 5.758e-05/0.004668, allocations: 37.64 kB / 0.8432 GB, free: 9.395 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.26e-05/0.004721, allocations: 130.7 kB / 0.8433 GB, free: 9.254 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.522e-05/0.004806, allocations: 102.8 kB / 0.8434 GB, free: 9.141 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.404e-05/0.00482, allocations: 25.7 kB / 0.8435 GB, free: 9.109 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.691e-05/0.004857, allocations: 88.12 kB / 0.8435 GB, free: 9.02 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.653e-06/0.004858, allocations: 0 / 0.8435 GB, free: 9.02 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.17e-05/0.00489, allocations: 25.75 kB / 0.8436 GB, free: 8.988 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.75e-05/0.004978, allocations: 318.8 kB / 0.8439 GB, free: 8.668 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.187e-05/0.005, allocations: 2.828 kB / 0.8439 GB, free: 8.664 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.82e-05/0.005028, allocations: 59.39 kB / 0.8439 GB, free: 8.594 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.065e-05/0.005058, allocations: 19.62 kB / 0.844 GB, free: 8.57 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.005061, allocations: 4 kB / 0.844 GB, free: 8.566 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.45e-05/0.005126, allocations: 37.69 kB / 0.844 GB, free: 8.523 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.658e-06/0.005136, allocations: 4 kB / 0.844 GB, free: 8.52 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.005141, allocations: 48 / 0.844 GB, free: 8.52 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.005156, allocations: 12.11 kB / 0.844 GB, free: 8.508 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.517e-06/0.00516, allocations: 0 / 0.844 GB, free: 8.508 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.005164, allocations: 0 / 0.844 GB, free: 8.508 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.397e-05/0.005218, allocations: 11.83 kB / 0.844 GB, free: 8.496 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.39e-05/0.005232, allocations: 8 kB / 0.844 GB, free: 8.488 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.195e-05/0.005304, allocations: 187.9 kB / 0.8442 GB, free: 8.293 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.491e-05/0.005338, allocations: 113 kB / 0.8443 GB, free: 8.176 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.298e-05/0.005371, allocations: 108.1 kB / 0.8444 GB, free: 8.062 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.249e-05/0.005414, allocations: 176.3 kB / 0.8446 GB, free: 7.883 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.692e-05/0.005451, allocations: 184.2 kB / 0.8448 GB, free: 7.695 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-05/0.005491, allocations: 188.2 kB / 0.8449 GB, free: 7.504 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001201/0.005611, allocations: 325.4 kB / 0.8453 GB, free: 7.16 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.516e-05/0.005636, allocations: 101 kB / 0.8453 GB, free: 7.055 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.215e-05/0.005658, allocations: 105 kB / 0.8454 GB, free: 6.945 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-05/0.005698, allocations: 184.2 kB / 0.8456 GB, free: 6.758 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.74e-05/0.005735, allocations: 176.3 kB / 0.8458 GB, free: 6.578 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.863e-05/0.005774, allocations: 184.2 kB / 0.846 GB, free: 6.391 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-05/0.005814, allocations: 176.3 kB / 0.8461 GB, free: 6.211 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002349/0.006049, allocations: 311.7 kB / 0.8464 GB, free: 5.883 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.687e-05/0.006076, allocations: 105 kB / 0.8465 GB, free: 5.773 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.888e-05/0.006115, allocations: 180.2 kB / 0.8467 GB, free: 5.59 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.286e-05/0.006158, allocations: 113 kB / 0.8468 GB, free: 5.473 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.047e-05/0.006198, allocations: 180.2 kB / 0.847 GB, free: 5.289 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.422e-05/0.006222, allocations: 105 kB / 0.8471 GB, free: 5.18 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.584e-05/0.006238, allocations: 8.859 kB / 0.8471 GB, free: 5.168 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.006238, allocations: 0 / 0.8471 GB, free: 5.168 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001939/0.006432, allocations: 55.8 kB / 0.8471 GB, free: 5.113 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.0007177/0.00715, allocations: 457.7 kB / 0.8476 GB, free: 4.758 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 7.252e-05/0.007222, allocations: 16.8 kB / 0.8476 GB, free: 4.738 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.007226, allocations: 3.938 kB / 0.8476 GB, free: 4.734 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.002e-06/0.007227, allocations: 0 / 0.8476 GB, free: 4.734 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002029/0.007429, allocations: 459.7 kB / 0.848 GB, free: 4.281 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001815/0.007611, allocations: 174.9 kB / 0.8482 GB, free: 4.082 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.255e-05/0.007643, allocations: 55.36 kB / 0.8483 GB, free: 4.008 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.281e-05/0.007676, allocations: 7.984 kB / 0.8483 GB, free: 4 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.949e-05/0.007726, allocations: 59.36 kB / 0.8483 GB, free: 3.941 MB / 0.8073 GB Notification: Performance of SimCode: time 5.31e-07/0.007726, allocations: 0 / 0.8483 GB, free: 3.941 MB / 0.8073 GB Notification: Performance of Templates: time 0.00296/0.01069, allocations: 1.8 MB / 0.8501 GB, free: 2.184 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 -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.143555907998234]