Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00165/0.00165, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.002019/0.002019, allocations: 209.2 kB / 22.99 MB, free: 4.984 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.491/1.491, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.361/3.361, allocations: 0.49 GB / 0.7959 GB, free: 35.46 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_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.001992/0.001992, allocations: 68.2 kB / 1.155 GB, free: 25.24 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3987/0.4007, allocations: 176.1 MB / 1.327 GB, free: 1.031 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.001995/0.4026, allocations: 0.5435 MB / 1.328 GB, free: 0.4922 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002009/0.4047, allocations: 1.208 MB / 1.329 GB, free: 15.28 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.901e-05/0.4047, allocations: 0 / 1.329 GB, free: 15.28 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001042/0.4048, allocations: 3.984 kB / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.103e-05/0.4048, allocations: 0 / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007421/0.4056, allocations: 195.3 kB / 1.329 GB, free: 15.08 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 8.669e-05/0.4057, allocations: 12 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.855e-05/0.4057, allocations: 7.984 kB / 1.329 GB, free: 15.06 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 3.325e-05/0.4058, allocations: 4 kB / 1.329 GB, free: 15.06 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.2e-05/0.4058, allocations: 11.94 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.836e-05/0.4058, allocations: 4 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004507/0.4063, allocations: 227.6 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.661e-05/0.4063, allocations: 0 / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.451e-05/0.4064, allocations: 11.98 kB / 1.329 GB, free: 14.81 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004115/0.4068, allocations: 195.5 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.704e-06/0.4068, allocations: 4 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.685e-06/0.4068, allocations: 0 / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.177e-06/0.4068, allocations: 0 / 1.329 GB, free: 14.61 MB / 1.029 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.0005352/0.4073, allocations: 297.8 kB / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.31e-05/0.4074, allocations: 12.03 kB / 1.33 GB, free: 14.28 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000105/0.4075, allocations: 76.22 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002128/0.4077, allocations: 185.8 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001054/0.4078, allocations: 150.9 kB / 1.33 GB, free: 13.85 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001104/0.4079, allocations: 158.9 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.99e-05/0.408, allocations: 105.1 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.122e-05/0.4081, allocations: 79.28 kB / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001032/0.4082, allocations: 154.5 kB / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001077/0.4083, allocations: 154.6 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.733e-05/0.4084, allocations: 150.6 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003948/0.4088, allocations: 401.6 kB / 1.331 GB, free: 12.63 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000144/0.4089, allocations: 165.1 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.169e-05/0.409, allocations: 84.14 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 6.687e-05/0.4091, allocations: 83.16 kB / 1.332 GB, free: 12.29 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.601e-05/0.4092, allocations: 109.8 kB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.4092, allocations: 0 / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 0.000106/0.4093, allocations: 33.64 kB / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001042/0.4094, allocations: 130.7 kB / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001687/0.4095, allocations: 101.8 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.814e-05/0.4096, allocations: 29.7 kB / 1.332 GB, free: 11.85 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.898e-05/0.4096, allocations: 84.12 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.655e-06/0.4096, allocations: 3.938 kB / 1.332 GB, free: 11.76 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.753e-05/0.4097, allocations: 17.72 kB / 1.332 GB, free: 11.74 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002151/0.4099, allocations: 318.8 kB / 1.332 GB, free: 11.42 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.072e-05/0.4099, allocations: 4 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.145e-05/0.41, allocations: 67.33 kB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.189e-05/0.4101, allocations: 20.95 kB / 1.332 GB, free: 11.31 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.4101, allocations: 0 / 1.332 GB, free: 11.31 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001708/0.4103, allocations: 57.81 kB / 1.333 GB, free: 11.25 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/0.4103, allocations: 11.94 kB / 1.333 GB, free: 11.24 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/0.4103, allocations: 0 / 1.333 GB, free: 11.24 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.336e-05/0.4103, allocations: 3.984 kB / 1.333 GB, free: 11.23 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.052e-06/0.4103, allocations: 0 / 1.333 GB, free: 11.23 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.4103, allocations: 0 / 1.333 GB, free: 11.23 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001103/0.4104, allocations: 8 kB / 1.333 GB, free: 11.23 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.19e-05/0.4104, allocations: 0 / 1.333 GB, free: 11.23 MB / 1.029 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.0001897/0.4106, allocations: 197.6 kB / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.618e-05/0.4107, allocations: 108.9 kB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.159e-05/0.4108, allocations: 108.1 kB / 1.333 GB, free: 10.79 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001193/0.4109, allocations: 180.3 kB / 1.333 GB, free: 10.61 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001058/0.411, allocations: 180.3 kB / 1.333 GB, free: 10.42 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001108/0.4111, allocations: 184.2 kB / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003067/0.4115, allocations: 360.9 kB / 1.334 GB, free: 9.844 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-05/0.4115, allocations: 101 kB / 1.334 GB, free: 9.738 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.805e-05/0.4116, allocations: 104.9 kB / 1.334 GB, free: 9.629 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001118/0.4117, allocations: 184.2 kB / 1.334 GB, free: 9.441 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001177/0.4118, allocations: 184.1 kB / 1.334 GB, free: 9.254 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001075/0.4119, allocations: 180.3 kB / 1.335 GB, free: 9.07 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001207/0.412, allocations: 184.3 kB / 1.335 GB, free: 8.883 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002243/0.4123, allocations: 307.7 kB / 1.335 GB, free: 8.559 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.854e-05/0.4123, allocations: 108.9 kB / 1.335 GB, free: 8.445 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001246/0.4125, allocations: 184.2 kB / 1.335 GB, free: 8.258 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001127/0.4126, allocations: 101 kB / 1.335 GB, free: 8.152 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001062/0.4127, allocations: 188.2 kB / 1.336 GB, free: 7.961 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.273e-05/0.4127, allocations: 101 kB / 1.336 GB, free: 7.855 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.002e-05/0.4128, allocations: 83.28 kB / 1.336 GB, free: 7.773 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4128, allocations: 0 / 1.336 GB, free: 7.773 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004457/0.4132, allocations: 59.73 kB / 1.336 GB, free: 7.715 MB / 1.029 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.001078/0.4143, allocations: 407.2 kB / 1.336 GB, free: 7.383 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001283/0.4145, allocations: 11.92 kB / 1.336 GB, free: 7.371 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.4145, allocations: 8.062 kB / 1.336 GB, free: 7.363 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.344e-06/0.4145, allocations: 0 / 1.336 GB, free: 7.363 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005147/0.415, allocations: 451.7 kB / 1.337 GB, free: 6.918 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003339/0.4153, allocations: 172.3 kB / 1.337 GB, free: 6.723 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.542e-05/0.4154, allocations: 59.34 kB / 1.337 GB, free: 6.645 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001447/0.4155, allocations: 7.984 kB / 1.337 GB, free: 6.637 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.731e-05/0.4156, allocations: 15.44 kB / 1.337 GB, free: 6.621 MB / 1.029 GB Notification: Performance of SimCode: time 3.31e-07/0.4156, allocations: 0 / 1.337 GB, free: 6.621 MB / 1.029 GB Notification: Performance of Templates: time 0.005157/0.4207, allocations: 1.563 MB / 1.338 GB, free: 5.07 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe ; mkfifo Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe >> ../files/Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.sim & ./Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_IO_Python_3_8_Functions_Examples_ExchangeWithPassPythonObject.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.293487646995345]