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.002343/0.002343, allocations: 85.48 kB / 19.44 MB, free: 344 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.002148/0.002148, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.569/1.569, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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 3.35/3.35, allocations: 429.5 MB / 0.6729 GB, free: 3.98 MB / 0.6355 GB " [Timeout remaining time 176] 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.1.|yR2.1.",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.1.|yR2.1.",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Python_3_12.Functions.Examples.ExchangeWithPassPythonObject") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 0.8774 GB, free: 6.652 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.527e-05/2.706e-05, allocations: 2.312 kB / 0.8774 GB, free: 6.648 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_12.Functions.Examples.ExchangeWithPassPythonObject): time 0.001973/0.002, allocations: 0.5492 MB / 0.878 GB, free: 6.121 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001999/0.003999, allocations: 1.235 MB / 0.8792 GB, free: 4.883 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.736e-05/0.004026, allocations: 0 / 0.8792 GB, free: 4.883 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001155/0.004142, allocations: 4.547 kB / 0.8792 GB, free: 4.879 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.535e-05/0.004187, allocations: 0.875 kB / 0.8792 GB, free: 4.879 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006751/0.004862, allocations: 192.7 kB / 0.8794 GB, free: 4.695 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 8.27e-05/0.004945, allocations: 15.98 kB / 0.8794 GB, free: 4.68 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.1e-05/0.004986, allocations: 0 / 0.8794 GB, free: 4.68 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 4.613e-05/0.005032, allocations: 11.94 kB / 0.8794 GB, free: 4.668 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.496e-05/0.005087, allocations: 19.91 kB / 0.8794 GB, free: 4.648 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.641e-05/0.005103, allocations: 0 / 0.8794 GB, free: 4.648 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000494/0.005598, allocations: 203.6 kB / 0.8796 GB, free: 4.449 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 5.411e-05/0.005652, allocations: 11.94 kB / 0.8796 GB, free: 4.438 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.624e-05/0.005678, allocations: 4.859 kB / 0.8796 GB, free: 4.434 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0004317/0.00611, allocations: 215.4 kB / 0.8798 GB, free: 4.223 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.006113, allocations: 1.094 kB / 0.8798 GB, free: 4.223 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.32e-07/0.006114, allocations: 0 / 0.8798 GB, free: 4.223 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.068e-06/0.006118, allocations: 0 / 0.8798 GB, free: 4.223 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.0005228/0.006641, allocations: 412.8 kB / 0.8802 GB, free: 3.785 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.006679, allocations: 8.031 kB / 0.8802 GB, free: 3.777 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001037/0.006782, allocations: 120.1 kB / 0.8803 GB, free: 3.66 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001979/0.00698, allocations: 236.8 kB / 0.8806 GB, free: 3.402 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000128/0.007108, allocations: 238.8 kB / 0.8808 GB, free: 3.168 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001303/0.007238, allocations: 242.8 kB / 0.881 GB, free: 2.93 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001115/0.00735, allocations: 150.5 kB / 0.8812 GB, free: 2.777 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.389e-05/0.007414, allocations: 119.4 kB / 0.8813 GB, free: 2.66 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000124/0.007538, allocations: 242.5 kB / 0.8815 GB, free: 2.422 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001191/0.007657, allocations: 243 kB / 0.8817 GB, free: 2.184 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001269/0.007784, allocations: 243.1 kB / 0.882 GB, free: 1.945 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004308/0.008215, allocations: 0.5681 MB / 0.8825 GB, free: 1.344 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001919/0.008406, allocations: 270.6 kB / 0.8828 GB, free: 1.066 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.222e-05/0.008479, allocations: 126.9 kB / 0.8829 GB, free: 0.9375 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 6.563e-05/0.008544, allocations: 119.2 kB / 0.883 GB, free: 0.8203 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.482e-05/0.008639, allocations: 157.4 kB / 0.8832 GB, free: 0.6562 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 7.01e-07/0.00864, allocations: 0 / 0.8832 GB, free: 0.6562 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 9.231e-05/0.008732, allocations: 34.8 kB / 0.8832 GB, free: 0.6172 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001045/0.008837, allocations: 174.5 kB / 0.8834 GB, free: 444 kB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001656/0.009002, allocations: 157.9 kB / 0.8835 GB, free: 268 kB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.452e-05/0.009027, allocations: 34.36 kB / 0.8836 GB, free: 228 kB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.358e-05/0.00911, allocations: 130.8 kB / 0.8837 GB, free: 92 kB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.973e-06/0.009112, allocations: 0.875 kB / 0.8837 GB, free: 92 kB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.868e-05/0.009161, allocations: 23.38 kB / 0.8837 GB, free: 60 kB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002893/0.00945, allocations: 0.4892 MB / 0.8842 GB, free: 15.56 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.756e-05/0.009478, allocations: 4 kB / 0.8842 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.217e-05/0.00954, allocations: 59.03 kB / 0.8842 GB, free: 15.49 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.341e-05/0.009593, allocations: 15.62 kB / 0.8843 GB, free: 15.47 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.009595, allocations: 0 / 0.8843 GB, free: 15.47 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001535/0.009749, allocations: 53.67 kB / 0.8843 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.009764, allocations: 4 kB / 0.8843 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.009769, allocations: 0 / 0.8843 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.009784, allocations: 0 / 0.8843 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.567e-06/0.009788, allocations: 3.938 kB / 0.8843 GB, free: 15.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.009793, allocations: 3.938 kB / 0.8843 GB, free: 15.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.462e-05/0.009867, allocations: 8.609 kB / 0.8843 GB, free: 15.39 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.652e-05/0.009884, allocations: 0.5938 kB / 0.8843 GB, free: 15.39 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.000186/0.01007, allocations: 276.5 kB / 0.8846 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001222/0.01019, allocations: 152.8 kB / 0.8847 GB, free: 14.95 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.725e-05/0.01029, allocations: 153 kB / 0.8849 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001467/0.01044, allocations: 276 kB / 0.8852 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001427/0.01058, allocations: 268 kB / 0.8854 GB, free: 14.25 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001449/0.01072, allocations: 269.6 kB / 0.8857 GB, free: 13.98 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003695/0.01109, allocations: 0.492 MB / 0.8861 GB, free: 13.45 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.925e-05/0.01117, allocations: 144.9 kB / 0.8863 GB, free: 13.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.998e-05/0.01125, allocations: 149 kB / 0.8864 GB, free: 13.14 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001474/0.0114, allocations: 276.2 kB / 0.8867 GB, free: 12.87 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000141/0.01154, allocations: 268.1 kB / 0.8869 GB, free: 12.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001335/0.01167, allocations: 268 kB / 0.8872 GB, free: 12.33 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000138/0.01181, allocations: 272.1 kB / 0.8875 GB, free: 12.05 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002696/0.01208, allocations: 448.1 kB / 0.8879 GB, free: 11.59 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 8.278e-05/0.01216, allocations: 148.8 kB / 0.888 GB, free: 11.44 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001609/0.01233, allocations: 280 kB / 0.8883 GB, free: 11.16 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001117/0.01244, allocations: 144.9 kB / 0.8884 GB, free: 11.01 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001483/0.01259, allocations: 280 kB / 0.8887 GB, free: 10.73 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-05/0.01266, allocations: 144.9 kB / 0.8888 GB, free: 10.58 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 7.884e-05/0.01274, allocations: 123.2 kB / 0.889 GB, free: 10.46 MB / 0.8542 GB Notification: Performance of sort global known variables: time 9e-08/0.01274, allocations: 4 kB / 0.889 GB, free: 10.45 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003579/0.0131, allocations: 67.66 kB / 0.889 GB, free: 10.39 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.001352/0.01445, allocations: 441.7 kB / 0.8894 GB, free: 10.02 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001028/0.01455, allocations: 19.62 kB / 0.8895 GB, free: 9.992 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.103e-06/0.01455, allocations: 0 / 0.8895 GB, free: 9.992 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.354e-06/0.01456, allocations: 0 / 0.8895 GB, free: 9.992 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005746/0.01513, allocations: 0.7034 MB / 0.8902 GB, free: 9.285 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003266/0.01546, allocations: 217.7 kB / 0.8904 GB, free: 9.043 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.296e-05/0.01553, allocations: 59.22 kB / 0.8904 GB, free: 8.965 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 6.413e-05/0.01559, allocations: 11.98 kB / 0.8904 GB, free: 8.953 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.687e-05/0.01565, allocations: 16.48 kB / 0.8904 GB, free: 8.938 MB / 0.8542 GB Notification: Performance of SimCode: time 8.71e-07/0.01565, allocations: 4.062 kB / 0.8904 GB, free: 8.934 MB / 0.8542 GB Notification: Performance of Templates: time 0.005386/0.02104, allocations: 1.599 MB / 0.892 GB, free: 7.383 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.IO.Python_3_12.Functions.Examples.ExchangeWithPassPythonObject.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.468813295010477]