Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001951/0.001951, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001993/0.001993, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.446/1.446, allocations: 225.6 MB / 249.4 MB, free: 3.152 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.779/2.779, allocations: 476.7 MB / 0.7629 GB, free: 15.12 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_11_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_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001964/0.001964, allocations: 63.84 kB / 1.107 GB, free: 4.551 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.098/1.1, allocations: 168.7 MB / 1.272 GB, free: 7.887 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.001833/1.102, allocations: 0.5538 MB / 1.272 GB, free: 7.566 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001449/1.104, allocations: 1.202 MB / 1.274 GB, free: 6.727 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.245e-05/1.104, allocations: 0 / 1.274 GB, free: 6.727 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 8.933e-05/1.104, allocations: 5.719 kB / 1.274 GB, free: 6.723 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.52e-05/1.104, allocations: 2.031 kB / 1.274 GB, free: 6.723 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004827/1.104, allocations: 171.8 kB / 1.274 GB, free: 6.637 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 6.86e-05/1.104, allocations: 17.11 kB / 1.274 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.841e-05/1.104, allocations: 2.781 kB / 1.274 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.414e-05/1.104, allocations: 7.875 kB / 1.274 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.743e-05/1.105, allocations: 13.62 kB / 1.274 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.065e-05/1.105, allocations: 0 / 1.274 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003371/1.105, allocations: 201.8 kB / 1.274 GB, free: 6.555 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.322e-05/1.105, allocations: 5.766 kB / 1.274 GB, free: 6.555 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.201e-05/1.105, allocations: 6.125 kB / 1.274 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000292/1.105, allocations: 200.6 kB / 1.274 GB, free: 6.488 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/1.105, allocations: 4.953 kB / 1.274 GB, free: 6.488 MB / 0.9981 GB Notification: Performance of FrontEnd: time 9.92e-07/1.105, allocations: 0 / 1.274 GB, free: 6.488 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.04e-06/1.105, allocations: 0 / 1.274 GB, free: 6.488 MB / 0.9981 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.0003154/1.106, allocations: 368.9 kB / 1.275 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/1.106, allocations: 8.844 kB / 1.275 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.216e-05/1.106, allocations: 82.77 kB / 1.275 GB, free: 6.023 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001229/1.106, allocations: 240.1 kB / 1.275 GB, free: 5.754 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.699e-05/1.106, allocations: 155.8 kB / 1.275 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.332e-05/1.106, allocations: 152.9 kB / 1.275 GB, free: 5.453 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.986e-05/1.106, allocations: 110.1 kB / 1.275 GB, free: 5.34 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/1.106, allocations: 79.28 kB / 1.275 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.837e-05/1.106, allocations: 150.6 kB / 1.276 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.725e-05/1.106, allocations: 155.4 kB / 1.276 GB, free: 4.961 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.852e-05/1.106, allocations: 155.4 kB / 1.276 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001791/1.106, allocations: 451.5 kB / 1.276 GB, free: 4.328 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.374e-05/1.106, allocations: 166.2 kB / 1.276 GB, free: 4.156 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.528e-05/1.106, allocations: 80.95 kB / 1.277 GB, free: 4.074 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.768e-06/1.106, allocations: 79.28 kB / 1.277 GB, free: 3.996 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.966e-05/1.106, allocations: 114.6 kB / 1.277 GB, free: 3.875 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 7.81e-07/1.106, allocations: 4.781 kB / 1.277 GB, free: 3.871 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 7.069e-05/1.106, allocations: 31.31 kB / 1.277 GB, free: 3.836 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.822e-05/1.106, allocations: 130.7 kB / 1.277 GB, free: 3.695 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.404e-05/1.106, allocations: 99.16 kB / 1.277 GB, free: 3.598 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.396e-06/1.106, allocations: 29.7 kB / 1.277 GB, free: 3.562 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.315e-05/1.106, allocations: 86.17 kB / 1.277 GB, free: 3.477 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.753e-06/1.106, allocations: 0 / 1.277 GB, free: 3.477 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.435e-05/1.106, allocations: 18.03 kB / 1.277 GB, free: 3.461 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.626e-05/1.106, allocations: 315.8 kB / 1.277 GB, free: 3.145 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.621e-05/1.107, allocations: 7.031 kB / 1.277 GB, free: 3.145 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.237e-05/1.107, allocations: 14.23 kB / 1.277 GB, free: 3.141 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.82e-05/1.107, allocations: 27.52 kB / 1.277 GB, free: 3.125 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/1.107, allocations: 0 / 1.277 GB, free: 3.125 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001278/1.107, allocations: 60.17 kB / 1.277 GB, free: 3.082 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/1.107, allocations: 5.219 kB / 1.277 GB, free: 3.082 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/1.107, allocations: 0 / 1.277 GB, free: 3.082 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/1.107, allocations: 0.7812 kB / 1.277 GB, free: 3.082 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.182e-06/1.107, allocations: 0.8125 kB / 1.277 GB, free: 3.082 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.668e-06/1.107, allocations: 0 / 1.277 GB, free: 3.082 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.655e-05/1.107, allocations: 9.328 kB / 1.278 GB, free: 3.078 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.789e-05/1.107, allocations: 2.094 kB / 1.278 GB, free: 3.078 MB / 0.9981 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 5.344e-05/1.107, allocations: 188.1 kB / 1.278 GB, free: 2.887 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.798e-05/1.107, allocations: 114.2 kB / 1.278 GB, free: 2.77 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.501e-05/1.107, allocations: 110.5 kB / 1.278 GB, free: 2.656 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.143e-05/1.107, allocations: 181.8 kB / 1.278 GB, free: 2.473 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.146e-05/1.107, allocations: 178.1 kB / 1.278 GB, free: 2.293 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.339e-05/1.107, allocations: 186.3 kB / 1.278 GB, free: 2.105 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000294/1.107, allocations: 406.1 kB / 1.279 GB, free: 17.66 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.138e-05/1.107, allocations: 102.7 kB / 1.279 GB, free: 17.55 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.044e-05/1.107, allocations: 115 kB / 1.279 GB, free: 17.43 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.367e-05/1.108, allocations: 177.6 kB / 1.279 GB, free: 17.25 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.701e-05/1.108, allocations: 179.5 kB / 1.279 GB, free: 17.07 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.064e-05/1.108, allocations: 189.6 kB / 1.28 GB, free: 16.88 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.918e-05/1.108, allocations: 180.9 kB / 1.28 GB, free: 16.7 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001733/1.108, allocations: 305.7 kB / 1.28 GB, free: 16.38 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 9.699e-05/1.108, allocations: 186.9 kB / 1.28 GB, free: 16.18 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.466e-05/1.108, allocations: 189.4 kB / 1.28 GB, free: 15.99 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.712e-05/1.108, allocations: 105.7 kB / 1.28 GB, free: 15.88 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.481e-05/1.108, allocations: 181.5 kB / 1.281 GB, free: 15.7 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.456e-05/1.108, allocations: 103.1 kB / 1.281 GB, free: 15.59 MB / 1.014 GB Notification: Performance of sorting global known variables: time 5.298e-05/1.108, allocations: 80.92 kB / 1.281 GB, free: 15.52 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/1.108, allocations: 0 / 1.281 GB, free: 15.52 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003583/1.109, allocations: 54.17 kB / 1.281 GB, free: 15.5 MB / 1.014 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.0008155/1.11, allocations: 393.6 kB / 1.281 GB, free: 15.26 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 9.421e-05/1.11, allocations: 12.22 kB / 1.281 GB, free: 15.25 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/1.11, allocations: 4.062 kB / 1.281 GB, free: 15.25 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.974e-06/1.11, allocations: 0.8125 kB / 1.281 GB, free: 15.25 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004016/1.11, allocations: 454.3 kB / 1.282 GB, free: 14.8 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002305/1.11, allocations: 173.8 kB / 1.282 GB, free: 14.62 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003137/1.111, allocations: 0.6734 MB / 1.283 GB, free: 13.93 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 9.999e-05/1.111, allocations: 12.42 kB / 1.283 GB, free: 13.93 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.752e-05/1.111, allocations: 14.8 kB / 1.283 GB, free: 13.92 MB / 1.014 GB Notification: Performance of SimCode: time 5.51e-07/1.111, allocations: 0 / 1.283 GB, free: 13.92 MB / 1.014 GB Notification: Performance of Templates: time 0.004327/1.115, allocations: 1.523 MB / 1.284 GB, free: 13.73 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe ; mkfifo Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe >> ../files/Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.sim & ./Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_IO_Python_3_8_Functions_Examples_ExchangeWithPassPythonObject.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.03092282358557]