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.001315/0.001315, allocations: 114.8 kB / 18.89 MB, free: 2.898 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.001416/0.001416, allocations: 205.1 kB / 22.18 MB, free: 5.211 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.484/1.484, allocations: 225.6 MB / 250.9 MB, free: 13.27 MB / 206.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.922/2.922, allocations: 476.7 MB / 0.7645 GB, free: 10.06 MB / 0.6231 GB " [Timeout remaining time 176] 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.002122/0.002122, allocations: 64.14 kB / 1.109 GB, free: 6.539 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.015/1.017, allocations: 168.7 MB / 1.274 GB, free: 4.559 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.002186/1.019, allocations: 0.5462 MB / 1.275 GB, free: 4.016 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002068/1.021, allocations: 1.229 MB / 1.276 GB, free: 2.781 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.489e-05/1.021, allocations: 0 / 1.276 GB, free: 2.781 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001144/1.021, allocations: 11.92 kB / 1.276 GB, free: 2.77 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.823e-05/1.021, allocations: 0 / 1.276 GB, free: 2.77 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006312/1.022, allocations: 174.8 kB / 1.276 GB, free: 2.602 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.221e-05/1.022, allocations: 8 kB / 1.276 GB, free: 2.594 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.343e-05/1.022, allocations: 7.984 kB / 1.276 GB, free: 2.586 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.331e-05/1.022, allocations: 7.984 kB / 1.276 GB, free: 2.578 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.37e-05/1.022, allocations: 19.92 kB / 1.276 GB, free: 2.559 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.241e-05/1.022, allocations: 0 / 1.276 GB, free: 2.559 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005137/1.023, allocations: 199.6 kB / 1.276 GB, free: 2.363 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.072e-05/1.023, allocations: 7.984 kB / 1.276 GB, free: 2.355 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.158e-05/1.023, allocations: 7.938 kB / 1.276 GB, free: 2.348 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003536/1.023, allocations: 194.2 kB / 1.276 GB, free: 2.16 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/1.023, allocations: 0 / 1.276 GB, free: 2.16 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.773e-06/1.023, allocations: 0 / 1.276 GB, free: 2.16 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.961e-06/1.023, allocations: 0 / 1.276 GB, free: 2.16 MB / 0.9669 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.0005596/1.024, allocations: 370.9 kB / 1.277 GB, free: 1.75 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/1.024, allocations: 16.03 kB / 1.277 GB, free: 1.734 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.472e-05/1.024, allocations: 76.22 kB / 1.277 GB, free: 1.66 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002316/1.024, allocations: 239.7 kB / 1.277 GB, free: 1.387 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.967e-05/1.024, allocations: 154.9 kB / 1.277 GB, free: 1.234 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.379e-05/1.024, allocations: 150.9 kB / 1.277 GB, free: 1.086 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.009e-05/1.025, allocations: 109.1 kB / 1.277 GB, free: 0.9727 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.418e-05/1.025, allocations: 83.28 kB / 1.278 GB, free: 0.8906 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.112e-05/1.025, allocations: 154.6 kB / 1.278 GB, free: 0.7383 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.216e-05/1.025, allocations: 154.5 kB / 1.278 GB, free: 0.5859 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.946e-05/1.025, allocations: 150.6 kB / 1.278 GB, free: 448 kB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004136/1.025, allocations: 453.9 kB / 1.278 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001417/1.025, allocations: 177.1 kB / 1.279 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.139e-05/1.025, allocations: 80.14 kB / 1.279 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 5.846e-05/1.025, allocations: 79.22 kB / 1.279 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.548e-05/1.026, allocations: 109.8 kB / 1.279 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 8.41e-07/1.026, allocations: 0 / 1.279 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 9.678e-05/1.026, allocations: 41.64 kB / 1.279 GB, free: 15.44 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.642e-05/1.026, allocations: 130.7 kB / 1.279 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001272/1.026, allocations: 93.86 kB / 1.279 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.147e-05/1.026, allocations: 29.7 kB / 1.279 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.188e-05/1.026, allocations: 84.14 kB / 1.279 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.365e-06/1.026, allocations: 0 / 1.279 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.368e-05/1.026, allocations: 21.7 kB / 1.279 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001673/1.026, allocations: 314.8 kB / 1.28 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.891e-05/1.026, allocations: 7.984 kB / 1.28 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.242e-05/1.026, allocations: 15.94 kB / 1.28 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.531e-05/1.026, allocations: 20.84 kB / 1.28 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/1.026, allocations: 0 / 1.28 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001422/1.026, allocations: 53.62 kB / 1.28 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/1.026, allocations: 8 kB / 1.28 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/1.026, allocations: 0 / 1.28 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/1.026, allocations: 128 / 1.28 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.192e-06/1.026, allocations: 4 kB / 1.28 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/1.026, allocations: 0 / 1.28 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.378e-05/1.027, allocations: 7.922 kB / 1.28 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.457e-05/1.027, allocations: 4 kB / 1.28 GB, free: 14.6 MB / 0.9825 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.0001402/1.027, allocations: 194.6 kB / 1.28 GB, free: 14.4 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.785e-05/1.027, allocations: 108.9 kB / 1.28 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.529e-05/1.027, allocations: 108.1 kB / 1.28 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001105/1.027, allocations: 192.2 kB / 1.28 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.573e-05/1.027, allocations: 176.3 kB / 1.28 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.102e-05/1.027, allocations: 176.3 kB / 1.281 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003142/1.027, allocations: 409.2 kB / 1.281 GB, free: 13.17 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-05/1.028, allocations: 101.1 kB / 1.281 GB, free: 13.06 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.269e-05/1.028, allocations: 120.9 kB / 1.281 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.479e-05/1.028, allocations: 176.3 kB / 1.281 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.591e-05/1.028, allocations: 180.3 kB / 1.281 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001568/1.028, allocations: 192.1 kB / 1.282 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001139/1.028, allocations: 176.3 kB / 1.282 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002049/1.028, allocations: 311.7 kB / 1.282 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001245/1.028, allocations: 190 kB / 1.282 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001232/1.028, allocations: 184.3 kB / 1.282 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.06e-05/1.029, allocations: 101 kB / 1.283 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.509e-05/1.029, allocations: 180.2 kB / 1.283 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.254e-05/1.029, allocations: 109 kB / 1.283 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.873e-05/1.029, allocations: 79.27 kB / 1.283 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9.1e-08/1.029, allocations: 4 kB / 1.283 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003821/1.029, allocations: 51.8 kB / 1.283 GB, free: 10.94 MB / 0.9825 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.0009682/1.03, allocations: 393.3 kB / 1.283 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001102/1.03, allocations: 15.92 kB / 1.283 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/1.03, allocations: 0 / 1.283 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.633e-06/1.03, allocations: 0 / 1.283 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005066/1.031, allocations: 455.8 kB / 1.284 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003168/1.031, allocations: 176.1 kB / 1.284 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004503/1.032, allocations: 0.6729 MB / 1.285 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001498/1.032, allocations: 11.94 kB / 1.285 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.654e-05/1.032, allocations: 15.42 kB / 1.285 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of SimCode: time 6.01e-07/1.032, allocations: 0 / 1.285 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of Templates: time 0.004959/1.037, allocations: 1.522 MB / 1.286 GB, free: 7.711 MB / 0.9825 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.189270360860974]