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.001001/0.001001, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001067/0.002068, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0007029/0.0007029, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009389/0.001642, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 0.915/0.915, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0859/1.001, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.821/1.821, allocations: 378.4 MB / 0.6079 GB, free: 7.703 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5018/2.323, allocations: 123.3 MB / 0.7283 GB, free: 5.734 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.[0-9,]+.|yR2.[0-9,]+.",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.[0-9,]+.|yR2.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 0.7296 GB, free: 4.438 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.728e-05/1.847e-05, allocations: 5.484 kB / 0.7296 GB, free: 4.434 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.001247/0.001265, allocations: 0.6029 MB / 0.7302 GB, free: 3.855 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001181/0.002446, allocations: 1.28 MB / 0.7315 GB, free: 2.574 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.986e-05/0.002466, allocations: 1.406 kB / 0.7315 GB, free: 2.574 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 4.301e-05/0.002509, allocations: 11.88 kB / 0.7315 GB, free: 2.562 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 1.216e-05/0.002521, allocations: 0 / 0.7315 GB, free: 2.562 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005086/0.00303, allocations: 176 kB / 0.7316 GB, free: 2.395 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 6.862e-05/0.003099, allocations: 22.97 kB / 0.7317 GB, free: 2.375 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.251e-05/0.003131, allocations: 4 kB / 0.7317 GB, free: 2.371 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 5.567e-05/0.003187, allocations: 14.17 kB / 0.7317 GB, free: 2.359 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.051e-05/0.003227, allocations: 9.078 kB / 0.7317 GB, free: 2.352 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.203e-05/0.003239, allocations: 0.6875 kB / 0.7317 GB, free: 2.352 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002807/0.00352, allocations: 220.1 kB / 0.7319 GB, free: 2.141 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 3.796e-05/0.003558, allocations: 8.75 kB / 0.7319 GB, free: 2.133 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.755e-05/0.003576, allocations: 4.656 kB / 0.7319 GB, free: 2.129 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002076/0.003783, allocations: 187.3 kB / 0.7321 GB, free: 1.949 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.121e-05/0.003794, allocations: 0 / 0.7321 GB, free: 1.949 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.022e-06/0.003795, allocations: 2.625 kB / 0.7321 GB, free: 1.949 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.889e-06/0.003805, allocations: 0.9844 kB / 0.7321 GB, free: 1.949 MB / 0.698 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.0002982/0.004104, allocations: 290.3 kB / 0.7324 GB, free: 1.645 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.26e-05/0.004136, allocations: 8.031 kB / 0.7324 GB, free: 1.637 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.356e-05/0.00418, allocations: 80.22 kB / 0.7325 GB, free: 1.559 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.737e-05/0.004277, allocations: 177.1 kB / 0.7326 GB, free: 1.359 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.631e-05/0.004313, allocations: 155.7 kB / 0.7328 GB, free: 1.207 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.678e-05/0.00435, allocations: 151.4 kB / 0.7329 GB, free: 1.059 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.214e-05/0.004392, allocations: 110.5 kB / 0.733 GB, free: 0.9453 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.797e-05/0.00441, allocations: 79.47 kB / 0.7331 GB, free: 0.8672 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.266e-05/0.004443, allocations: 154.7 kB / 0.7333 GB, free: 0.7148 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.445e-05/0.004497, allocations: 159.6 kB / 0.7334 GB, free: 0.5586 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.092e-05/0.004528, allocations: 150.6 kB / 0.7336 GB, free: 420 kB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00014/0.004668, allocations: 362.1 kB / 0.7339 GB, free: 44 kB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.695e-05/0.004735, allocations: 170.8 kB / 0.7341 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.964e-05/0.004755, allocations: 84.14 kB / 0.7341 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.746e-05/0.004772, allocations: 75.28 kB / 0.7342 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.953e-05/0.004802, allocations: 105.8 kB / 0.7343 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.004803, allocations: 0.8125 kB / 0.7343 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 5.318e-05/0.004856, allocations: 37.69 kB / 0.7343 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.085e-05/0.004897, allocations: 131.8 kB / 0.7345 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.434e-05/0.004971, allocations: 116.2 kB / 0.7346 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.798e-06/0.004981, allocations: 25.7 kB / 0.7346 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.746e-05/0.005008, allocations: 84.14 kB / 0.7347 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.122e-06/0.00501, allocations: 0 / 0.7347 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.922e-05/0.005039, allocations: 21.69 kB / 0.7347 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.564e-05/0.005104, allocations: 316.5 kB / 0.735 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.229e-05/0.005127, allocations: 2.828 kB / 0.735 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.727e-05/0.005154, allocations: 60.52 kB / 0.7351 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002962/0.00545, allocations: 11.69 kB / 0.7351 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.005452, allocations: 1.75 kB / 0.7351 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.224e-05/0.005524, allocations: 41.69 kB / 0.7351 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/0.005535, allocations: 7.938 kB / 0.7351 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.005542, allocations: 0.9844 kB / 0.7351 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.005554, allocations: 1.219 kB / 0.7351 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.332e-06/0.005555, allocations: 0 / 0.7351 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.277e-06/0.005559, allocations: 3.984 kB / 0.7351 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.768e-05/0.005616, allocations: 8.594 kB / 0.7351 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.238e-05/0.005629, allocations: 4 kB / 0.7352 GB, free: 14.66 MB / 0.7136 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 6.152e-05/0.00569, allocations: 189.1 kB / 0.7353 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.422e-05/0.005724, allocations: 109 kB / 0.7354 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.508e-05/0.00576, allocations: 112.6 kB / 0.7355 GB, free: 14.24 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-05/0.005799, allocations: 177.2 kB / 0.7357 GB, free: 14.06 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-05/0.005834, allocations: 176.8 kB / 0.7359 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-05/0.00588, allocations: 197 kB / 0.7361 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001175/0.005997, allocations: 321.4 kB / 0.7364 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.186e-05/0.006019, allocations: 105.5 kB / 0.7365 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.1e-05/0.00604, allocations: 101 kB / 0.7366 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.806e-05/0.006068, allocations: 109.6 kB / 0.7367 GB, free: 13.01 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.465e-05/0.006103, allocations: 180.2 kB / 0.7368 GB, free: 12.83 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.042e-05/0.006143, allocations: 177 kB / 0.737 GB, free: 12.65 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.765e-05/0.006181, allocations: 186.2 kB / 0.7372 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.565e-05/0.006216, allocations: 176.5 kB / 0.7374 GB, free: 12.28 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.642e-05/0.006303, allocations: 311.7 kB / 0.7377 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.062e-05/0.006343, allocations: 185.2 kB / 0.7378 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.351e-05/0.006387, allocations: 104.9 kB / 0.7379 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.724e-05/0.006424, allocations: 176.3 kB / 0.7381 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.489e-05/0.006449, allocations: 113.7 kB / 0.7382 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.904e-05/0.006468, allocations: 12.83 kB / 0.7382 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.006468, allocations: 5.438 kB / 0.7382 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002027/0.006671, allocations: 53.55 kB / 0.7383 GB, free: 11.29 MB / 0.7136 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.0008021/0.007473, allocations: 488.8 kB / 0.7387 GB, free: 10.94 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.203e-05/0.007545, allocations: 12.8 kB / 0.7388 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.007549, allocations: 3.031 kB / 0.7388 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.526e-06/0.007552, allocations: 4 kB / 0.7388 GB, free: 10.92 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001931/0.007745, allocations: 459.7 kB / 0.7392 GB, free: 10.47 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002052/0.00795, allocations: 174.7 kB / 0.7394 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.564e-05/0.007976, allocations: 59.34 kB / 0.7394 GB, free: 10.19 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.443e-05/0.00802, allocations: 15.86 kB / 0.7394 GB, free: 10.18 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.946e-05/0.00807, allocations: 63.3 kB / 0.7395 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of SimCode: time 6.51e-07/0.008071, allocations: 0.5 kB / 0.7395 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of Templates: time 0.003287/0.01136, allocations: 1.83 MB / 0.7413 GB, free: 8.43 MB / 0.7136 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject/Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.729224432259798]