Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.IO.Python_3_8.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.001372/0.001372, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.001521/0.001521, allocations: 210.2 kB / 22.24 MB, free: 5.262 MB / 14.72 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.483/1.483, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 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.339/3.339, allocations: 0.5107 GB / 0.8158 GB, free: 17.85 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.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_8.Functions.Examples.ExchangeWithPassPythonObject,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|yR1.1.|yR2.1.",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject") translateModel(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|yR1.1.|yR2.1.",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002203/0.002203, allocations: 69.12 kB / 1.186 GB, free: 13.56 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3967/0.3989, allocations: 181.9 MB / 1.364 GB, free: 13.65 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.001892/0.4008, allocations: 0.5432 MB / 1.364 GB, free: 13.11 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002624/0.4034, allocations: 1.197 MB / 1.366 GB, free: 11.91 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.835e-05/0.4034, allocations: 7.938 kB / 1.366 GB, free: 11.9 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001354/0.4036, allocations: 7.938 kB / 1.366 GB, free: 11.89 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.909e-05/0.4036, allocations: 0 / 1.366 GB, free: 11.89 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008748/0.4045, allocations: 183.4 kB / 1.366 GB, free: 11.71 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001009/0.4046, allocations: 19.86 kB / 1.366 GB, free: 11.69 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.812e-05/0.4047, allocations: 8 kB / 1.366 GB, free: 11.68 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.223e-05/0.4047, allocations: 8 kB / 1.366 GB, free: 11.68 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.897e-05/0.4048, allocations: 11.97 kB / 1.366 GB, free: 11.66 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.708e-05/0.4048, allocations: 0 / 1.366 GB, free: 11.66 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004951/0.4053, allocations: 207.6 kB / 1.366 GB, free: 11.46 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.866e-05/0.4053, allocations: 8 kB / 1.366 GB, free: 11.45 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.408e-05/0.4053, allocations: 3.938 kB / 1.366 GB, free: 11.45 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004706/0.4058, allocations: 195.5 kB / 1.366 GB, free: 11.26 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.4058, allocations: 0 / 1.366 GB, free: 11.26 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.423e-06/0.4058, allocations: 0 / 1.366 GB, free: 11.26 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.197e-06/0.4058, allocations: 4 kB / 1.366 GB, free: 11.25 MB / 1.061 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.0004111/0.4062, allocations: 297.8 kB / 1.366 GB, free: 10.93 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.4063, allocations: 8.031 kB / 1.366 GB, free: 10.93 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.629e-05/0.4064, allocations: 84.2 kB / 1.367 GB, free: 10.84 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001648/0.4065, allocations: 177.8 kB / 1.367 GB, free: 10.64 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.781e-05/0.4066, allocations: 162.9 kB / 1.367 GB, free: 10.48 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.674e-05/0.4067, allocations: 154.9 kB / 1.367 GB, free: 10.33 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.891e-05/0.4068, allocations: 105.1 kB / 1.367 GB, free: 10.22 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.53e-05/0.4068, allocations: 79.28 kB / 1.367 GB, free: 10.14 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.274e-05/0.4069, allocations: 150.6 kB / 1.367 GB, free: 9.996 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.057e-05/0.4069, allocations: 150.6 kB / 1.367 GB, free: 9.848 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.035e-05/0.407, allocations: 150.6 kB / 1.368 GB, free: 9.699 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003175/0.4073, allocations: 417.5 kB / 1.368 GB, free: 9.262 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 9.927e-05/0.4074, allocations: 169.1 kB / 1.368 GB, free: 9.086 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.946e-05/0.4075, allocations: 80.14 kB / 1.368 GB, free: 9.004 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.36e-05/0.4075, allocations: 75.28 kB / 1.368 GB, free: 8.93 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.692e-05/0.4076, allocations: 113.8 kB / 1.368 GB, free: 8.809 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.4076, allocations: 0 / 1.368 GB, free: 8.809 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 9.222e-05/0.4077, allocations: 33.58 kB / 1.368 GB, free: 8.77 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.141e-05/0.4077, allocations: 126.7 kB / 1.369 GB, free: 8.633 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001414/0.4079, allocations: 105.8 kB / 1.369 GB, free: 8.52 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.4079, allocations: 25.7 kB / 1.369 GB, free: 8.488 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.692e-05/0.4079, allocations: 84.14 kB / 1.369 GB, free: 8.402 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.064e-06/0.4079, allocations: 0 / 1.369 GB, free: 8.402 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.918e-05/0.408, allocations: 21.7 kB / 1.369 GB, free: 8.375 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001485/0.4081, allocations: 314.8 kB / 1.369 GB, free: 8.059 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.012e-05/0.4082, allocations: 8 kB / 1.369 GB, free: 8.051 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.879e-05/0.4082, allocations: 67.33 kB / 1.369 GB, free: 7.973 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.298e-05/0.4083, allocations: 24.84 kB / 1.369 GB, free: 7.945 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.4083, allocations: 4 kB / 1.369 GB, free: 7.941 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001385/0.4084, allocations: 49.62 kB / 1.369 GB, free: 7.887 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.4084, allocations: 12.06 kB / 1.369 GB, free: 7.875 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.4084, allocations: 0 / 1.369 GB, free: 7.875 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.4084, allocations: 0 / 1.369 GB, free: 7.875 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.22e-07/0.4084, allocations: 3.938 kB / 1.369 GB, free: 7.871 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.4085, allocations: 4 kB / 1.369 GB, free: 7.867 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.2e-05/0.4085, allocations: 0 / 1.369 GB, free: 7.867 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.842e-05/0.4085, allocations: 7.984 kB / 1.369 GB, free: 7.859 MB / 1.061 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.0001154/0.4087, allocations: 182.2 kB / 1.369 GB, free: 7.672 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.462e-05/0.4087, allocations: 116.9 kB / 1.37 GB, free: 7.551 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.675e-05/0.4088, allocations: 108.1 kB / 1.37 GB, free: 7.434 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.371e-05/0.4089, allocations: 188.3 kB / 1.37 GB, free: 7.242 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.359e-05/0.409, allocations: 184.2 kB / 1.37 GB, free: 7.055 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.38e-05/0.409, allocations: 176.3 kB / 1.37 GB, free: 6.875 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002414/0.4093, allocations: 356.9 kB / 1.371 GB, free: 6.488 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.408e-05/0.4093, allocations: 108.9 kB / 1.371 GB, free: 6.375 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.486e-05/0.4094, allocations: 105 kB / 1.371 GB, free: 6.266 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.6e-05/0.4095, allocations: 180.2 kB / 1.371 GB, free: 6.082 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.092e-05/0.4095, allocations: 180.2 kB / 1.371 GB, free: 5.898 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.782e-05/0.4096, allocations: 184.3 kB / 1.371 GB, free: 5.711 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.493e-05/0.4097, allocations: 184.2 kB / 1.371 GB, free: 5.523 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001636/0.4099, allocations: 299.8 kB / 1.372 GB, free: 5.207 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.919e-05/0.4099, allocations: 113 kB / 1.372 GB, free: 5.09 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001043/0.41, allocations: 184.2 kB / 1.372 GB, free: 4.902 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.794e-05/0.4101, allocations: 108.9 kB / 1.372 GB, free: 4.789 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.646e-05/0.4102, allocations: 176.3 kB / 1.372 GB, free: 4.609 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.644e-05/0.4103, allocations: 104.9 kB / 1.372 GB, free: 4.5 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.657e-05/0.4103, allocations: 83.47 kB / 1.372 GB, free: 4.418 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.4103, allocations: 0 / 1.372 GB, free: 4.418 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003375/0.4107, allocations: 67.64 kB / 1.373 GB, free: 4.352 MB / 1.061 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.0008656/0.4115, allocations: 394.5 kB / 1.373 GB, free: 4.02 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 8.572e-05/0.4116, allocations: 15.98 kB / 1.373 GB, free: 4.004 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.4116, allocations: 0 / 1.373 GB, free: 4.004 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.963e-06/0.4116, allocations: 0 / 1.373 GB, free: 4.004 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004023/0.412, allocations: 463.6 kB / 1.373 GB, free: 3.547 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002655/0.4123, allocations: 164.3 kB / 1.374 GB, free: 3.359 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.512e-05/0.4123, allocations: 55.36 kB / 1.374 GB, free: 3.285 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 8.323e-05/0.4124, allocations: 11.98 kB / 1.374 GB, free: 3.273 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.991e-05/0.4125, allocations: 15.42 kB / 1.374 GB, free: 3.258 MB / 1.061 GB Notification: Performance of SimCode: time 3.21e-07/0.4125, allocations: 0 / 1.374 GB, free: 3.258 MB / 1.061 GB Notification: Performance of Templates: time 0.004524/0.417, allocations: 1.553 MB / 1.375 GB, free: 1.75 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.sim & ./Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_IO_Python_3_8_Functions_Examples_ExchangeWithPassPythonObject.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.IO.Python_3_8.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.980301968753338]