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.001992/0.001992, allocations: 105.4 kB / 16.45 MB, free: 6.457 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.002235/0.002235, allocations: 199.8 kB / 19.41 MB, free: 3.645 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.419/1.419, allocations: 225.6 MB / 247.8 MB, free: 13.96 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.715/2.715, allocations: 476.7 MB / 0.7611 GB, free: 11.36 MB / 0.6231 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.002365/0.002365, allocations: 67.89 kB / 1.104 GB, free: 8.816 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8621/0.8645, allocations: 168.7 MB / 1.269 GB, free: 5.289 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.001995/0.8665, allocations: 0.53 MB / 1.27 GB, free: 4.762 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001791/0.8683, allocations: 1.145 MB / 1.271 GB, free: 3.609 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.979e-05/0.8683, allocations: 0 / 1.271 GB, free: 3.609 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 9.924e-05/0.8684, allocations: 8 kB / 1.271 GB, free: 3.602 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.047e-05/0.8685, allocations: 7.984 kB / 1.271 GB, free: 3.594 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005213/0.869, allocations: 167.4 kB / 1.271 GB, free: 3.43 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.689e-05/0.8691, allocations: 15.98 kB / 1.271 GB, free: 3.414 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.203e-05/0.8691, allocations: 0 / 1.271 GB, free: 3.414 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.779e-05/0.8691, allocations: 11.98 kB / 1.271 GB, free: 3.402 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.655e-05/0.8692, allocations: 7.938 kB / 1.271 GB, free: 3.395 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.12e-05/0.8692, allocations: 3.938 kB / 1.271 GB, free: 3.391 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003975/0.8696, allocations: 203.7 kB / 1.271 GB, free: 3.191 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.879e-05/0.8696, allocations: 8 kB / 1.271 GB, free: 3.184 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.46e-05/0.8697, allocations: 3.984 kB / 1.271 GB, free: 3.18 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003119/0.87, allocations: 205.8 kB / 1.271 GB, free: 2.984 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.87, allocations: 0 / 1.271 GB, free: 2.984 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.362e-06/0.87, allocations: 0 / 1.271 GB, free: 2.984 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.171e-06/0.87, allocations: 0 / 1.271 GB, free: 2.984 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.0004588/0.8705, allocations: 369.2 kB / 1.272 GB, free: 2.578 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.8705, allocations: 12.03 kB / 1.272 GB, free: 2.566 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.659e-05/0.8706, allocations: 76.22 kB / 1.272 GB, free: 2.492 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001983/0.8708, allocations: 239.7 kB / 1.272 GB, free: 2.219 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.913e-05/0.8708, allocations: 154.9 kB / 1.272 GB, free: 2.066 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.655e-05/0.8709, allocations: 150.9 kB / 1.272 GB, free: 1.918 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.482e-05/0.871, allocations: 117 kB / 1.273 GB, free: 1.797 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.665e-05/0.8711, allocations: 75.28 kB / 1.273 GB, free: 1.723 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.309e-05/0.8712, allocations: 150.6 kB / 1.273 GB, free: 1.574 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-05/0.8713, allocations: 162.6 kB / 1.273 GB, free: 1.414 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.33e-05/0.8713, allocations: 150.6 kB / 1.273 GB, free: 1.266 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000376/0.8717, allocations: 449.9 kB / 1.273 GB, free: 0.7773 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001061/0.8718, allocations: 169.1 kB / 1.274 GB, free: 0.6016 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.162e-05/0.8719, allocations: 84.14 kB / 1.274 GB, free: 0.5156 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.598e-05/0.8719, allocations: 79.22 kB / 1.274 GB, free: 448 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.838e-05/0.872, allocations: 109.8 kB / 1.274 GB, free: 328 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.872, allocations: 0 / 1.274 GB, free: 328 kB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 9.833e-05/0.8721, allocations: 37.7 kB / 1.274 GB, free: 284 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.116e-05/0.8721, allocations: 130.6 kB / 1.274 GB, free: 140 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001701/0.8723, allocations: 105.8 kB / 1.274 GB, free: 24 kB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.719e-05/0.8723, allocations: 29.7 kB / 1.274 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.576e-05/0.8724, allocations: 84.12 kB / 1.274 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.703e-06/0.8724, allocations: 0 / 1.274 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.816e-05/0.8724, allocations: 17.72 kB / 1.274 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002129/0.8727, allocations: 322.8 kB / 1.275 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.806e-05/0.8727, allocations: 8 kB / 1.275 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.038e-05/0.8727, allocations: 15.98 kB / 1.275 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.022e-05/0.8728, allocations: 20.95 kB / 1.275 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.8728, allocations: 0 / 1.275 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001446/0.8729, allocations: 61.55 kB / 1.275 GB, free: 15.44 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.8729, allocations: 4 kB / 1.275 GB, free: 15.44 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.8729, allocations: 4 kB / 1.275 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.8729, allocations: 0 / 1.275 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.21e-07/0.8729, allocations: 0 / 1.275 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.873, allocations: 0 / 1.275 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.155e-05/0.873, allocations: 3.938 kB / 1.275 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.922e-05/0.8731, allocations: 8.031 kB / 1.275 GB, free: 15.42 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.0001509/0.8732, allocations: 189.1 kB / 1.275 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.984e-05/0.8733, allocations: 104.9 kB / 1.275 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.525e-05/0.8733, allocations: 108 kB / 1.275 GB, free: 15 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.479e-05/0.8734, allocations: 180.3 kB / 1.275 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.354e-05/0.8735, allocations: 184.3 kB / 1.275 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.658e-05/0.8736, allocations: 184.2 kB / 1.276 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002836/0.8739, allocations: 397.2 kB / 1.276 GB, free: 14 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-05/0.8739, allocations: 109 kB / 1.276 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.797e-05/0.874, allocations: 112.9 kB / 1.276 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.896e-05/0.8741, allocations: 176.3 kB / 1.276 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001547/0.8742, allocations: 188.2 kB / 1.277 GB, free: 13.4 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.671e-05/0.8743, allocations: 176.3 kB / 1.277 GB, free: 13.22 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.642e-05/0.8744, allocations: 184.2 kB / 1.277 GB, free: 13.03 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001716/0.8745, allocations: 315.6 kB / 1.277 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001293/0.8747, allocations: 190 kB / 1.277 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001013/0.8748, allocations: 180.3 kB / 1.278 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.662e-05/0.8749, allocations: 104.9 kB / 1.278 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.119e-05/0.875, allocations: 184.2 kB / 1.278 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.367e-05/0.875, allocations: 104.9 kB / 1.278 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.752e-05/0.8751, allocations: 79.47 kB / 1.278 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.8751, allocations: 0 / 1.278 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003464/0.8754, allocations: 59.8 kB / 1.278 GB, free: 11.76 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.0009188/0.8763, allocations: 383.2 kB / 1.278 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 9.515e-05/0.8764, allocations: 19.98 kB / 1.278 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.8764, allocations: 0 / 1.278 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.513e-06/0.8764, allocations: 0 / 1.278 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003849/0.8768, allocations: 451.7 kB / 1.279 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002772/0.8771, allocations: 180.1 kB / 1.279 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003401/0.8774, allocations: 0.669 MB / 1.28 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001176/0.8776, allocations: 11.98 kB / 1.28 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.815e-05/0.8776, allocations: 11.44 kB / 1.28 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/0.8776, allocations: 0 / 1.28 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of Templates: time 0.004732/0.8823, allocations: 1.523 MB / 1.281 GB, free: 8.539 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 -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: 8.718750746920705]