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.0009644/0.0009644, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.0009495/0.0009495, allocations: 173 kB / 23.03 MB, free: 1.543 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.9231/0.9231, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.104/2.104, allocations: 429.5 MB / 0.6733 GB, free: 4.055 MB / 0.6355 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.873e-06/1.873e-06, allocations: 0 / 0.8782 GB, free: 6.336 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.392e-05/2.579e-05, allocations: 9.719 kB / 0.8782 GB, free: 6.328 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_12.Functions.Examples.ExchangeWithPassPythonObject): time 0.001777/0.001802, allocations: 0.5731 MB / 0.8787 GB, free: 5.777 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001656/0.003459, allocations: 1.253 MB / 0.8799 GB, free: 4.52 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.841e-05/0.003487, allocations: 0 / 0.8799 GB, free: 4.52 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001157/0.003603, allocations: 3.938 kB / 0.8799 GB, free: 4.516 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.806e-05/0.003661, allocations: 0.875 kB / 0.8799 GB, free: 4.516 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006428/0.004304, allocations: 187.6 kB / 0.8801 GB, free: 4.336 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 7.564e-05/0.004379, allocations: 15.92 kB / 0.8801 GB, free: 4.32 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.761e-05/0.004417, allocations: 0 / 0.8801 GB, free: 4.32 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 4.598e-05/0.004463, allocations: 15.98 kB / 0.8802 GB, free: 4.305 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.542e-05/0.004508, allocations: 9.016 kB / 0.8802 GB, free: 4.297 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.491e-05/0.004523, allocations: 0 / 0.8802 GB, free: 4.297 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004007/0.004924, allocations: 211.5 kB / 0.8804 GB, free: 4.09 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.659e-05/0.004971, allocations: 9.109 kB / 0.8804 GB, free: 4.082 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.025e-05/0.005001, allocations: 11.94 kB / 0.8804 GB, free: 4.07 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003463/0.005347, allocations: 211.7 kB / 0.8806 GB, free: 3.863 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.005351, allocations: 5.094 kB / 0.8806 GB, free: 3.859 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.92e-07/0.005352, allocations: 0 / 0.8806 GB, free: 3.859 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.005356, allocations: 0 / 0.8806 GB, free: 3.859 MB / 0.8386 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.0003811/0.005737, allocations: 404.8 kB / 0.881 GB, free: 3.43 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.00578, allocations: 8.031 kB / 0.881 GB, free: 3.422 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.872e-05/0.005859, allocations: 124.1 kB / 0.8811 GB, free: 3.301 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000146/0.006005, allocations: 228.7 kB / 0.8813 GB, free: 3.051 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.233e-05/0.006077, allocations: 242.8 kB / 0.8816 GB, free: 2.812 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.259e-05/0.006149, allocations: 240.4 kB / 0.8818 GB, free: 2.578 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.715e-05/0.006227, allocations: 157.4 kB / 0.8819 GB, free: 2.418 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.458e-05/0.006261, allocations: 123.3 kB / 0.8821 GB, free: 2.297 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.568e-05/0.006327, allocations: 242.5 kB / 0.8823 GB, free: 2.059 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.824e-05/0.006395, allocations: 238.4 kB / 0.8825 GB, free: 1.824 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.679e-05/0.006462, allocations: 238.9 kB / 0.8827 GB, free: 1.59 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003917/0.006854, allocations: 0.5776 MB / 0.8833 GB, free: 0.9805 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001016/0.006955, allocations: 265.4 kB / 0.8836 GB, free: 0.707 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.107e-05/0.006996, allocations: 126.9 kB / 0.8837 GB, free: 0.5781 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.081e-05/0.007027, allocations: 119.2 kB / 0.8838 GB, free: 472 kB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.397e-05/0.007081, allocations: 156.6 kB / 0.8839 GB, free: 304 kB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.263e-06/0.007082, allocations: 1.188 kB / 0.8839 GB, free: 304 kB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 7.736e-05/0.00716, allocations: 25.7 kB / 0.884 GB, free: 272 kB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.933e-05/0.007239, allocations: 182.5 kB / 0.8841 GB, free: 76 kB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001678/0.007407, allocations: 162.7 kB / 0.8843 GB, free: 15.9 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.667e-05/0.007423, allocations: 25.7 kB / 0.8843 GB, free: 15.87 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.762e-05/0.007481, allocations: 136.5 kB / 0.8844 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.996e-06/0.007484, allocations: 0 / 0.8844 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.383e-05/0.007528, allocations: 27.3 kB / 0.8845 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001592/0.007687, allocations: 492.1 kB / 0.8849 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.295e-05/0.00772, allocations: 10.75 kB / 0.885 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.824e-05/0.007768, allocations: 55.41 kB / 0.885 GB, free: 15.13 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.446e-05/0.007823, allocations: 19.67 kB / 0.885 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.007825, allocations: 0 / 0.885 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001598/0.007985, allocations: 45.69 kB / 0.8851 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.008003, allocations: 4 kB / 0.8851 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.008013, allocations: 5.766 kB / 0.8851 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/0.008032, allocations: 4 kB / 0.8851 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.044e-05/0.008043, allocations: 7.938 kB / 0.8851 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.008051, allocations: 3.938 kB / 0.8851 GB, free: 15.03 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.042e-05/0.008131, allocations: 4.594 kB / 0.8851 GB, free: 15.03 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.004e-05/0.008151, allocations: 4 kB / 0.8851 GB, free: 15.02 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 0.0001248/0.008276, allocations: 272.5 kB / 0.8854 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.572e-05/0.008352, allocations: 149 kB / 0.8855 GB, free: 14.59 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.035e-05/0.008422, allocations: 156 kB / 0.8857 GB, free: 14.43 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001003/0.008523, allocations: 272 kB / 0.8859 GB, free: 14.16 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.006e-05/0.008613, allocations: 272.2 kB / 0.8862 GB, free: 13.89 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.096e-05/0.008704, allocations: 268 kB / 0.8864 GB, free: 13.62 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002233/0.008927, allocations: 0.492 MB / 0.8869 GB, free: 13.08 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.361e-05/0.00897, allocations: 148.9 kB / 0.8871 GB, free: 12.93 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.3e-05/0.009013, allocations: 153 kB / 0.8872 GB, free: 12.77 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.924e-05/0.009083, allocations: 268.1 kB / 0.8875 GB, free: 12.5 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.214e-05/0.009165, allocations: 272.1 kB / 0.8877 GB, free: 12.23 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.801e-05/0.009233, allocations: 272.1 kB / 0.888 GB, free: 11.96 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.417e-05/0.009307, allocations: 272 kB / 0.8882 GB, free: 11.68 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001668/0.009474, allocations: 444 kB / 0.8887 GB, free: 11.22 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.768e-05/0.009522, allocations: 160.8 kB / 0.8888 GB, free: 11.06 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.786e-05/0.009599, allocations: 264.1 kB / 0.8891 GB, free: 10.79 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.23e-05/0.009682, allocations: 152.8 kB / 0.8892 GB, free: 10.64 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.176e-05/0.009763, allocations: 268 kB / 0.8895 GB, free: 10.37 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.472e-05/0.009808, allocations: 148.9 kB / 0.8896 GB, free: 10.21 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.154e-05/0.00986, allocations: 127.2 kB / 0.8897 GB, free: 10.09 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.00986, allocations: 0 / 0.8897 GB, free: 10.09 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003629/0.01022, allocations: 55.8 kB / 0.8898 GB, free: 10.04 MB / 0.8542 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.0008431/0.01107, allocations: 453.1 kB / 0.8902 GB, free: 9.652 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 9.887e-05/0.01116, allocations: 19.69 kB / 0.8902 GB, free: 9.629 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.01117, allocations: 0 / 0.8902 GB, free: 9.629 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.563e-06/0.01117, allocations: 4.062 kB / 0.8902 GB, free: 9.625 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005355/0.0117, allocations: 0.7085 MB / 0.8909 GB, free: 8.914 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002608/0.01196, allocations: 217.7 kB / 0.8911 GB, free: 8.672 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.834e-05/0.012, allocations: 51.36 kB / 0.8912 GB, free: 8.602 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.804e-05/0.01205, allocations: 15.92 kB / 0.8912 GB, free: 8.586 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.931e-05/0.01209, allocations: 16.48 kB / 0.8912 GB, free: 8.57 MB / 0.8542 GB Notification: Performance of SimCode: time 6.71e-07/0.01209, allocations: 0 / 0.8912 GB, free: 8.57 MB / 0.8542 GB Notification: Performance of Templates: time 0.004939/0.01703, allocations: 1.809 MB / 0.893 GB, free: 6.805 MB / 0.8542 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.263012730050832]