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.00124/0.00124, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001159/0.001159, allocations: 169 kB / 24.05 MB, free: 460 kB / 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.9716/0.9716, allocations: 177.1 MB / 204.5 MB, free: 5.512 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.108/2.108, allocations: 429.5 MB / 0.6743 GB, free: 3.934 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.212e-06/1.212e-06, allocations: 0 / 0.8794 GB, free: 6.023 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.028e-05/3.149e-05, allocations: 8.156 kB / 0.8794 GB, free: 6.016 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_12.Functions.Examples.ExchangeWithPassPythonObject): time 0.001552/0.001583, allocations: 0.5629 MB / 0.8799 GB, free: 5.477 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.004455/0.006038, allocations: 1.237 MB / 0.8811 GB, free: 4.234 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.366e-05/0.006072, allocations: 5.516 kB / 0.8811 GB, free: 4.23 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001216/0.006193, allocations: 7.922 kB / 0.8812 GB, free: 4.223 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.248e-05/0.006246, allocations: 0.6562 kB / 0.8812 GB, free: 4.223 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006167/0.006863, allocations: 191 kB / 0.8813 GB, free: 4.039 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 7.099e-05/0.006934, allocations: 13.09 kB / 0.8814 GB, free: 4.027 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.473e-05/0.006978, allocations: 7.984 kB / 0.8814 GB, free: 4.02 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 4.162e-05/0.00702, allocations: 11.98 kB / 0.8814 GB, free: 4.008 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.14e-05/0.007071, allocations: 12.95 kB / 0.8814 GB, free: 3.996 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.37e-05/0.007085, allocations: 0 / 0.8814 GB, free: 3.996 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004091/0.007494, allocations: 207.6 kB / 0.8816 GB, free: 3.793 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.665e-05/0.007541, allocations: 17 kB / 0.8816 GB, free: 3.777 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.103e-05/0.007562, allocations: 4 kB / 0.8816 GB, free: 3.773 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003276/0.007889, allocations: 211.7 kB / 0.8818 GB, free: 3.566 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.007897, allocations: 1.062 kB / 0.8818 GB, free: 3.566 MB / 0.8386 GB Notification: Performance of FrontEnd: time 3.236e-06/0.0079, allocations: 4 kB / 0.8818 GB, free: 3.562 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.717e-06/0.007904, allocations: 0 / 0.8818 GB, free: 3.562 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.0003453/0.008249, allocations: 408.8 kB / 0.8822 GB, free: 3.129 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.008285, allocations: 8.031 kB / 0.8822 GB, free: 3.121 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.592e-05/0.008351, allocations: 124.1 kB / 0.8823 GB, free: 3 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001329/0.008484, allocations: 224.5 kB / 0.8825 GB, free: 2.754 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.922e-05/0.008553, allocations: 244.3 kB / 0.8828 GB, free: 2.516 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.571e-05/0.008619, allocations: 238.8 kB / 0.883 GB, free: 2.281 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.997e-05/0.008689, allocations: 157.4 kB / 0.8831 GB, free: 2.121 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.386e-05/0.008723, allocations: 119.4 kB / 0.8833 GB, free: 2.004 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.214e-05/0.008785, allocations: 242.5 kB / 0.8835 GB, free: 1.766 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.626e-05/0.008861, allocations: 247.9 kB / 0.8837 GB, free: 1.523 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.54e-05/0.008927, allocations: 238.4 kB / 0.884 GB, free: 1.289 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002811/0.009208, allocations: 0.5491 MB / 0.8845 GB, free: 0.7148 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001055/0.009313, allocations: 269.4 kB / 0.8848 GB, free: 448 kB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.908e-05/0.009352, allocations: 127.8 kB / 0.8849 GB, free: 316 kB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.57e-05/0.009388, allocations: 119.2 kB / 0.885 GB, free: 196 kB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.813e-05/0.009446, allocations: 161.7 kB / 0.8851 GB, free: 24 kB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.009447, allocations: 0 / 0.8851 GB, free: 24 kB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 8.935e-05/0.009536, allocations: 29.69 kB / 0.8852 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.705e-05/0.009603, allocations: 172.1 kB / 0.8853 GB, free: 15.81 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001183/0.009722, allocations: 173.8 kB / 0.8855 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.565e-05/0.009737, allocations: 25.7 kB / 0.8855 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.998e-05/0.009797, allocations: 126.9 kB / 0.8856 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.513e-06/0.009799, allocations: 3.312 kB / 0.8856 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.711e-05/0.009846, allocations: 31.34 kB / 0.8857 GB, free: 15.42 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001478/0.009994, allocations: 496.1 kB / 0.8862 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.584e-05/0.01002, allocations: 4 kB / 0.8862 GB, free: 14.92 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.54e-05/0.01006, allocations: 59.39 kB / 0.8862 GB, free: 14.85 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.616e-05/0.01011, allocations: 11.69 kB / 0.8862 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.01011, allocations: 0 / 0.8862 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001335/0.01025, allocations: 42.91 kB / 0.8863 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.01026, allocations: 4 kB / 0.8863 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.01027, allocations: 7.938 kB / 0.8863 GB, free: 14.78 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.858e-06/0.01028, allocations: 4.125 kB / 0.8863 GB, free: 14.77 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.563e-06/0.01028, allocations: 0 / 0.8863 GB, free: 14.77 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.987e-06/0.01028, allocations: 3.938 kB / 0.8863 GB, free: 14.77 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.907e-05/0.01035, allocations: 7.922 kB / 0.8863 GB, free: 14.76 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.573e-05/0.01037, allocations: 7.938 kB / 0.8863 GB, free: 14.75 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.0001168/0.01049, allocations: 275.8 kB / 0.8866 GB, free: 14.47 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.278e-05/0.01056, allocations: 152.9 kB / 0.8867 GB, free: 14.32 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.122e-05/0.01062, allocations: 152 kB / 0.8869 GB, free: 14.16 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.454e-05/0.0107, allocations: 268.1 kB / 0.8871 GB, free: 13.89 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.926e-05/0.01078, allocations: 264.1 kB / 0.8874 GB, free: 13.62 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.011e-05/0.01087, allocations: 276.1 kB / 0.8876 GB, free: 13.35 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004303/0.0113, allocations: 484.5 kB / 0.8881 GB, free: 12.84 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.971e-05/0.01135, allocations: 148.8 kB / 0.8882 GB, free: 12.69 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.778e-05/0.0114, allocations: 157 kB / 0.8884 GB, free: 12.53 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.339e-05/0.01149, allocations: 268.1 kB / 0.8886 GB, free: 12.26 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.423e-05/0.01158, allocations: 276 kB / 0.8889 GB, free: 11.98 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.738e-05/0.01167, allocations: 268.1 kB / 0.8892 GB, free: 11.71 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.859e-05/0.01174, allocations: 268 kB / 0.8894 GB, free: 11.44 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000162/0.01191, allocations: 447.9 kB / 0.8898 GB, free: 10.98 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.73e-05/0.01196, allocations: 160.8 kB / 0.89 GB, free: 10.81 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.83e-05/0.01204, allocations: 264.1 kB / 0.8902 GB, free: 10.55 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.511e-05/0.01213, allocations: 152.8 kB / 0.8904 GB, free: 10.39 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.751e-05/0.01221, allocations: 268.1 kB / 0.8906 GB, free: 10.12 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.219e-05/0.01225, allocations: 148.8 kB / 0.8908 GB, free: 9.969 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.647e-05/0.0123, allocations: 127.2 kB / 0.8909 GB, free: 9.844 MB / 0.8542 GB Notification: Performance of sort global known variables: time 9e-08/0.0123, allocations: 0 / 0.8909 GB, free: 9.844 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003596/0.01266, allocations: 55.8 kB / 0.891 GB, free: 9.789 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.0009398/0.0136, allocations: 459.2 kB / 0.8914 GB, free: 9.402 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 9.885e-05/0.0137, allocations: 15.69 kB / 0.8914 GB, free: 9.383 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.0137, allocations: 0 / 0.8914 GB, free: 9.383 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.774e-06/0.01371, allocations: 0 / 0.8914 GB, free: 9.383 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004031/0.01411, allocations: 0.6984 MB / 0.8921 GB, free: 8.68 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002685/0.01438, allocations: 220.5 kB / 0.8923 GB, free: 8.438 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.557e-05/0.01441, allocations: 55.42 kB / 0.8924 GB, free: 8.363 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.393e-05/0.01447, allocations: 11.98 kB / 0.8924 GB, free: 8.352 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.33e-05/0.01455, allocations: 82.19 kB / 0.8924 GB, free: 8.27 MB / 0.8542 GB Notification: Performance of SimCode: time 7.51e-07/0.01455, allocations: 0 / 0.8924 GB, free: 8.27 MB / 0.8542 GB Notification: Performance of Templates: time 0.00448/0.01903, allocations: 1.822 MB / 0.8942 GB, free: 6.484 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.363929756917059]