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.001354/0.001354, 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.001704/0.001704, allocations: 169 kB / 23.02 MB, free: 1.551 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.993/0.993, allocations: 177.1 MB / 203.4 MB, free: 5.625 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.121/2.121, allocations: 429.5 MB / 0.6732 GB, free: 4.02 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.502e-06/1.502e-06, allocations: 0 / 0.8782 GB, free: 6.34 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.193e-05/2.343e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.336 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_12.Functions.Examples.ExchangeWithPassPythonObject): time 0.001283/0.001307, allocations: 0.5636 MB / 0.8787 GB, free: 5.793 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001072/0.002379, allocations: 1.254 MB / 0.8799 GB, free: 4.535 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.164e-05/0.0024, allocations: 0 / 0.8799 GB, free: 4.535 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001027/0.002503, allocations: 3.984 kB / 0.8799 GB, free: 4.531 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.567e-05/0.002549, allocations: 1.078 kB / 0.8799 GB, free: 4.531 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004218/0.002971, allocations: 189.8 kB / 0.8801 GB, free: 4.348 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 5.649e-05/0.003027, allocations: 15.94 kB / 0.8801 GB, free: 4.332 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.394e-05/0.003061, allocations: 9.047 kB / 0.8801 GB, free: 4.324 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 3.128e-05/0.003092, allocations: 7.984 kB / 0.8801 GB, free: 4.316 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.577e-05/0.003128, allocations: 7.984 kB / 0.8802 GB, free: 4.309 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.251e-05/0.003141, allocations: 1.281 kB / 0.8802 GB, free: 4.309 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002551/0.003396, allocations: 223.5 kB / 0.8804 GB, free: 4.09 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.526e-05/0.003431, allocations: 0 / 0.8804 GB, free: 4.09 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.995e-05/0.003451, allocations: 4 kB / 0.8804 GB, free: 4.086 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003558/0.003807, allocations: 220.8 kB / 0.8806 GB, free: 3.871 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.003809, allocations: 0 / 0.8806 GB, free: 3.871 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.41e-07/0.003809, allocations: 0 / 0.8806 GB, free: 3.871 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.497e-06/0.003813, allocations: 0.6562 kB / 0.8806 GB, free: 3.871 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.0002678/0.004081, allocations: 404.8 kB / 0.881 GB, free: 3.441 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/0.004114, allocations: 12.03 kB / 0.881 GB, free: 3.43 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.119e-05/0.004165, allocations: 120.1 kB / 0.8811 GB, free: 3.312 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000101/0.004266, allocations: 232.5 kB / 0.8813 GB, free: 3.059 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.152e-05/0.004318, allocations: 242.7 kB / 0.8815 GB, free: 2.82 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.03e-05/0.004378, allocations: 247.5 kB / 0.8818 GB, free: 2.578 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.464e-05/0.004433, allocations: 145.5 kB / 0.8819 GB, free: 2.43 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.343e-05/0.004456, allocations: 122.8 kB / 0.882 GB, free: 2.312 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.519e-05/0.004501, allocations: 242.5 kB / 0.8823 GB, free: 2.074 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.607e-05/0.004547, allocations: 238.4 kB / 0.8825 GB, free: 1.84 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.768e-05/0.004595, allocations: 242.4 kB / 0.8827 GB, free: 1.602 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002028/0.004798, allocations: 0.5719 MB / 0.8833 GB, free: 0.9961 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.362e-05/0.004872, allocations: 261.4 kB / 0.8835 GB, free: 0.7266 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.064e-05/0.004902, allocations: 134.9 kB / 0.8837 GB, free: 0.5898 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.321e-05/0.004925, allocations: 123.2 kB / 0.8838 GB, free: 480 kB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.699e-05/0.004962, allocations: 152.6 kB / 0.8839 GB, free: 316 kB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 5.51e-07/0.004963, allocations: 0.5938 kB / 0.8839 GB, free: 316 kB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 5.339e-05/0.005016, allocations: 34.77 kB / 0.884 GB, free: 276 kB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.491e-05/0.005061, allocations: 174.5 kB / 0.8841 GB, free: 88 kB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.005161, allocations: 169.9 kB / 0.8843 GB, free: 15.9 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 9.588e-06/0.005171, allocations: 27.23 kB / 0.8843 GB, free: 15.87 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.534e-05/0.005206, allocations: 130.9 kB / 0.8844 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.783e-06/0.005208, allocations: 0 / 0.8844 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.925e-05/0.005237, allocations: 31.3 kB / 0.8845 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 9.803e-05/0.005335, allocations: 0.4884 MB / 0.8849 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.867e-05/0.005354, allocations: 3.984 kB / 0.885 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.957e-05/0.005384, allocations: 55.41 kB / 0.885 GB, free: 15.13 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.565e-05/0.005419, allocations: 19.69 kB / 0.885 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.005422, allocations: 0 / 0.885 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001034/0.005525, allocations: 45.62 kB / 0.8851 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.005538, allocations: 10.19 kB / 0.8851 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.005543, allocations: 4 kB / 0.8851 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.005557, allocations: 0 / 0.8851 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.589e-06/0.005561, allocations: 8.062 kB / 0.8851 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.005566, allocations: 0 / 0.8851 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.71e-05/0.005613, allocations: 7.922 kB / 0.8851 GB, free: 15.03 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.162e-05/0.005625, 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 7.307e-05/0.005698, allocations: 275.8 kB / 0.8854 GB, free: 14.74 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.877e-05/0.005737, allocations: 148.8 kB / 0.8855 GB, free: 14.59 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.069e-05/0.005778, allocations: 152 kB / 0.8857 GB, free: 14.43 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.951e-05/0.005827, allocations: 272.1 kB / 0.8859 GB, free: 14.16 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.883e-05/0.005876, allocations: 272 kB / 0.8862 GB, free: 13.89 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.66e-05/0.005923, allocations: 264.1 kB / 0.8864 GB, free: 13.62 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001352/0.006058, allocations: 499.8 kB / 0.8869 GB, free: 13.09 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.75e-05/0.006085, allocations: 156.9 kB / 0.887 GB, free: 12.93 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.73e-05/0.006113, allocations: 145 kB / 0.8872 GB, free: 12.78 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.525e-05/0.006168, allocations: 272 kB / 0.8874 GB, free: 12.51 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001931/0.006361, allocations: 272.1 kB / 0.8877 GB, free: 12.23 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.965e-05/0.006411, allocations: 268 kB / 0.888 GB, free: 11.96 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.187e-05/0.006462, allocations: 272.1 kB / 0.8882 GB, free: 11.69 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001067/0.006569, allocations: 447.9 kB / 0.8886 GB, free: 11.23 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.271e-05/0.006602, allocations: 148.8 kB / 0.8888 GB, free: 11.07 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.656e-05/0.006658, allocations: 276 kB / 0.8891 GB, free: 10.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.906e-05/0.006707, allocations: 148.9 kB / 0.8892 GB, free: 10.64 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.724e-05/0.006765, allocations: 272 kB / 0.8895 GB, free: 10.37 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.769e-05/0.006792, allocations: 148.8 kB / 0.8896 GB, free: 10.22 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.387e-05/0.006826, allocations: 123.2 kB / 0.8897 GB, free: 10.1 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5.1e-08/0.006826, allocations: 0 / 0.8897 GB, free: 10.1 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002043/0.007031, allocations: 59.73 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.0005989/0.00763, allocations: 457.6 kB / 0.8902 GB, free: 9.652 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 7.344e-05/0.007703, allocations: 19.61 kB / 0.8902 GB, free: 9.629 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/0.007704, allocations: 0 / 0.8902 GB, free: 9.629 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.933e-06/0.007706, allocations: 3.938 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.0002686/0.007975, allocations: 0.7039 MB / 0.8909 GB, free: 8.918 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001874/0.008162, allocations: 217.7 kB / 0.8911 GB, free: 8.676 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.716e-05/0.008189, allocations: 55.36 kB / 0.8912 GB, free: 8.602 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.947e-05/0.008229, allocations: 12.05 kB / 0.8912 GB, free: 8.59 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.685e-05/0.008256, allocations: 12.5 kB / 0.8912 GB, free: 8.578 MB / 0.8542 GB Notification: Performance of SimCode: time 5.71e-07/0.008256, allocations: 0 / 0.8912 GB, free: 8.578 MB / 0.8542 GB Notification: Performance of Templates: time 0.003016/0.01127, allocations: 1.608 MB / 0.8928 GB, free: 7.016 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.493903575930744]