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.001341/0.001341, allocations: 88.72 kB / 19.44 MB, free: 356 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.00152/0.00152, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.467/1.467, allocations: 177.1 MB / 203.1 MB, free: 5.609 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.21/3.21, allocations: 429.6 MB / 0.673 GB, free: 3.898 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.493e-06/1.493e-06, allocations: 0 / 0.8776 GB, free: 6.535 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.528e-05/2.677e-05, allocations: 4.219 kB / 0.8776 GB, free: 6.531 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_12.Functions.Examples.ExchangeWithPassPythonObject): time 0.001783/0.00181, allocations: 0.5445 MB / 0.8781 GB, free: 6.008 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002003/0.003814, allocations: 1.226 MB / 0.8793 GB, free: 4.777 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.108e-05/0.003835, allocations: 1.328 kB / 0.8793 GB, free: 4.777 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001088/0.003944, allocations: 4 kB / 0.8793 GB, free: 4.773 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.696e-05/0.003991, allocations: 4.641 kB / 0.8793 GB, free: 4.77 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006459/0.004636, allocations: 180 kB / 0.8795 GB, free: 4.598 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 6.314e-05/0.0047, allocations: 21.05 kB / 0.8795 GB, free: 4.578 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 2.986e-05/0.004729, allocations: 4 kB / 0.8795 GB, free: 4.574 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 3.634e-05/0.004766, allocations: 4 kB / 0.8795 GB, free: 4.57 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.216e-05/0.004808, allocations: 9.016 kB / 0.8795 GB, free: 4.562 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.655e-05/0.004825, allocations: 4 kB / 0.8795 GB, free: 4.559 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004728/0.005297, allocations: 219.4 kB / 0.8797 GB, free: 4.344 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.178e-05/0.005339, allocations: 5.062 kB / 0.8797 GB, free: 4.34 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.946e-05/0.005369, allocations: 7.938 kB / 0.8798 GB, free: 4.332 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0004112/0.00578, allocations: 219.4 kB / 0.88 GB, free: 4.117 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.424e-06/0.005782, allocations: 1.094 kB / 0.88 GB, free: 4.117 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.002e-06/0.005783, allocations: 0 / 0.88 GB, free: 4.117 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.37e-05/0.005797, allocations: 0 / 0.88 GB, free: 4.117 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.0004431/0.00624, allocations: 294.9 kB / 0.8802 GB, free: 3.801 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.006279, allocations: 12.03 kB / 0.8803 GB, free: 3.789 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.603e-05/0.006365, allocations: 76.22 kB / 0.8803 GB, free: 3.715 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000167/0.006532, allocations: 185.8 kB / 0.8805 GB, free: 3.508 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.735e-05/0.00662, allocations: 150.9 kB / 0.8807 GB, free: 3.359 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.6e-05/0.006716, allocations: 164.4 kB / 0.8808 GB, free: 3.199 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.194e-05/0.006808, allocations: 105.5 kB / 0.8809 GB, free: 3.09 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.293e-05/0.006851, allocations: 79.41 kB / 0.881 GB, free: 3.012 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.527e-05/0.006936, allocations: 154.7 kB / 0.8811 GB, free: 2.859 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.014e-05/0.007016, allocations: 156.1 kB / 0.8813 GB, free: 2.707 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.284e-05/0.007099, allocations: 150.6 kB / 0.8814 GB, free: 2.559 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004327/0.007532, allocations: 405.6 kB / 0.8818 GB, free: 2.133 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001158/0.007647, allocations: 169.1 kB / 0.882 GB, free: 1.957 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.317e-05/0.007701, allocations: 85.05 kB / 0.8821 GB, free: 1.871 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.205e-05/0.007753, allocations: 75.28 kB / 0.8821 GB, free: 1.797 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.742e-05/0.00782, allocations: 106.9 kB / 0.8822 GB, free: 1.684 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/0.007821, allocations: 0 / 0.8822 GB, free: 1.684 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 9.865e-05/0.00792, allocations: 37.64 kB / 0.8823 GB, free: 1.641 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.224e-05/0.008002, allocations: 132.2 kB / 0.8824 GB, free: 1.5 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001292/0.008131, allocations: 97.84 kB / 0.8825 GB, free: 1.395 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.489e-05/0.008156, allocations: 29.7 kB / 0.8825 GB, free: 1.359 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.881e-05/0.008215, allocations: 88.09 kB / 0.8826 GB, free: 1.27 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.335e-06/0.008217, allocations: 3.281 kB / 0.8826 GB, free: 1.27 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.366e-05/0.008261, allocations: 17.72 kB / 0.8826 GB, free: 1.246 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001704/0.008431, allocations: 314.8 kB / 0.8829 GB, free: 0.9297 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.835e-05/0.00846, allocations: 8 kB / 0.8829 GB, free: 0.9219 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.64e-05/0.008526, allocations: 67.39 kB / 0.883 GB, free: 0.8438 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.714e-05/0.008583, allocations: 16.86 kB / 0.883 GB, free: 0.8242 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.008585, allocations: 0 / 0.883 GB, free: 0.8242 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001798/0.008764, allocations: 62.86 kB / 0.8831 GB, free: 0.7578 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.008778, allocations: 4 kB / 0.8831 GB, free: 0.7539 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.008784, allocations: 0 / 0.8831 GB, free: 0.7539 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.008802, allocations: 128 / 0.8831 GB, free: 0.7539 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.396e-06/0.008805, allocations: 7.938 kB / 0.8831 GB, free: 0.7461 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.008809, allocations: 0 / 0.8831 GB, free: 0.7461 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.348e-05/0.008893, allocations: 4 kB / 0.8831 GB, free: 0.7422 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.39e-05/0.008907, allocations: 0 / 0.8831 GB, free: 0.7422 MB / 0.8386 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.0001379/0.009045, allocations: 189.2 kB / 0.8833 GB, free: 0.5469 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.573e-05/0.00913, allocations: 109 kB / 0.8834 GB, free: 444 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.112e-05/0.009201, allocations: 112.1 kB / 0.8835 GB, free: 324 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.309e-05/0.009295, allocations: 176.3 kB / 0.8836 GB, free: 140 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001203/0.009415, allocations: 188.1 kB / 0.8838 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.718e-05/0.009512, allocations: 180.2 kB / 0.884 GB, free: 15.76 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000276/0.009788, allocations: 360.8 kB / 0.8843 GB, free: 15.37 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.787e-05/0.009846, allocations: 104.9 kB / 0.8844 GB, free: 15.26 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.934e-05/0.009905, allocations: 105 kB / 0.8845 GB, free: 15.15 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.662e-05/0.01, allocations: 184.2 kB / 0.8847 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.755e-05/0.0101, allocations: 176.3 kB / 0.8849 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-05/0.01019, allocations: 176.3 kB / 0.885 GB, free: 14.61 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.939e-05/0.01029, allocations: 188.2 kB / 0.8852 GB, free: 14.41 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001973/0.01049, allocations: 307.7 kB / 0.8855 GB, free: 14.09 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 7.155e-05/0.01056, allocations: 105 kB / 0.8856 GB, free: 13.98 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001059/0.01067, allocations: 180.3 kB / 0.8858 GB, free: 13.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.605e-05/0.01076, allocations: 112.9 kB / 0.8859 GB, free: 13.68 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001022/0.01087, allocations: 188.2 kB / 0.8861 GB, free: 13.49 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.591e-05/0.01092, allocations: 104.9 kB / 0.8862 GB, free: 13.38 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.644e-05/0.01098, allocations: 79.47 kB / 0.8863 GB, free: 13.3 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.01098, allocations: 0 / 0.8863 GB, free: 13.3 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003881/0.01137, allocations: 67.67 kB / 0.8863 GB, free: 13.23 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.001034/0.0124, allocations: 408.6 kB / 0.8867 GB, free: 12.9 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 9.99e-05/0.0125, allocations: 11.98 kB / 0.8867 GB, free: 12.89 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.0125, allocations: 0 / 0.8867 GB, free: 12.89 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.034e-06/0.0125, allocations: 0 / 0.8867 GB, free: 12.89 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004564/0.01296, allocations: 459.6 kB / 0.8872 GB, free: 12.43 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002861/0.01325, allocations: 168.2 kB / 0.8873 GB, free: 12.24 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.507e-05/0.01331, allocations: 59.22 kB / 0.8874 GB, free: 12.16 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 9.056e-05/0.0134, allocations: 16.05 kB / 0.8874 GB, free: 12.15 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.197e-05/0.01346, allocations: 12.5 kB / 0.8874 GB, free: 12.14 MB / 0.8542 GB Notification: Performance of SimCode: time 6.41e-07/0.01346, allocations: 0 / 0.8874 GB, free: 12.14 MB / 0.8542 GB Notification: Performance of Templates: time 0.004901/0.01837, allocations: 1.599 MB / 0.889 GB, free: 10.58 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.Python_3_12.Functions.Examples.ExchangeWithPassPythonObject.pipe 2>&1) [Timeout 800] 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.105777374003083]