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.001774/0.001774, allocations: 78.09 kB / 19.76 MB, free: 2.031 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.002094/0.002094, allocations: 162.6 kB / 23.01 MB, free: 4.945 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.49/1.49, allocations: 177.2 MB / 203.4 MB, free: 8.949 MB / 190.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 2.724/2.724, allocations: 377.9 MB / 0.6228 GB, free: 12.56 MB / 0.5919 GB " [Timeout remaining time 177] 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.002073/0.002073, allocations: 71.89 kB / 0.9819 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7685/0.7705, allocations: 176.1 MB / 1.154 GB, free: 33.33 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.001577/0.7721, allocations: 0.5463 MB / 1.154 GB, free: 33.01 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.00118/0.7733, allocations: 1.204 MB / 1.156 GB, free: 32.18 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.824e-05/0.7733, allocations: 2.656 kB / 1.156 GB, free: 32.18 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 7.895e-05/0.7734, allocations: 7.281 kB / 1.156 GB, free: 32.18 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 4.022e-05/0.7734, allocations: 11.86 kB / 1.156 GB, free: 32.17 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.000463/0.7739, allocations: 172.9 kB / 1.156 GB, free: 32.09 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 6.244e-05/0.774, allocations: 19.81 kB / 1.156 GB, free: 32.08 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 3.047e-05/0.774, allocations: 2.781 kB / 1.156 GB, free: 32.08 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 1.873e-05/0.774, allocations: 11 kB / 1.156 GB, free: 32.07 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 3.974e-05/0.7741, allocations: 9.281 kB / 1.156 GB, free: 32.07 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.24e-05/0.7741, allocations: 0 / 1.156 GB, free: 32.07 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002951/0.7744, allocations: 216.1 kB / 1.156 GB, free: 32 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 3.355e-05/0.7744, allocations: 10.53 kB / 1.156 GB, free: 32 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 2.085e-05/0.7744, allocations: 2.844 kB / 1.156 GB, free: 32 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0002378/0.7747, allocations: 196.3 kB / 1.156 GB, free: 31.94 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.7747, allocations: 0 / 1.156 GB, free: 31.94 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.402e-06/0.7747, allocations: 0 / 1.156 GB, free: 31.94 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.137e-06/0.7747, allocations: 0 / 1.156 GB, free: 31.94 MB / 1.076 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.0002548/0.7749, allocations: 298.1 kB / 1.157 GB, free: 31.64 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 2.806e-05/0.775, allocations: 11.94 kB / 1.157 GB, free: 31.64 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.942e-05/0.775, allocations: 78.69 kB / 1.157 GB, free: 31.57 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.98e-05/0.7751, allocations: 183.4 kB / 1.157 GB, free: 31.37 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.26e-05/0.7751, allocations: 153.8 kB / 1.157 GB, free: 31.22 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.641e-05/0.7751, allocations: 154.9 kB / 1.157 GB, free: 31.07 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.991e-05/0.7751, allocations: 115.6 kB / 1.157 GB, free: 30.95 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.604e-05/0.7752, allocations: 75.28 kB / 1.157 GB, free: 30.88 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.768e-05/0.7752, allocations: 150.6 kB / 1.157 GB, free: 30.73 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.726e-05/0.7752, allocations: 153.2 kB / 1.158 GB, free: 30.58 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.823e-05/0.7752, allocations: 150.6 kB / 1.158 GB, free: 30.43 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001497/0.7754, allocations: 406.1 kB / 1.158 GB, free: 30.01 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 4.045e-05/0.7754, allocations: 174.1 kB / 1.158 GB, free: 29.83 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.241e-05/0.7754, allocations: 82.73 kB / 1.158 GB, free: 29.75 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.202e-05/0.7754, allocations: 75.28 kB / 1.158 GB, free: 29.68 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.814e-05/0.7755, allocations: 108.5 kB / 1.159 GB, free: 29.56 MB / 1.076 GB Notification: Performance of pre-optimization done (n=0): time 8.41e-07/0.7755, allocations: 0 / 1.159 GB, free: 29.56 MB / 1.076 GB Notification: Performance of matching and sorting (n=0): time 5.922e-05/0.7755, allocations: 33.64 kB / 1.159 GB, free: 29.52 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.151e-05/0.7755, allocations: 129.8 kB / 1.159 GB, free: 29.39 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.37e-05/0.7756, allocations: 102.5 kB / 1.159 GB, free: 29.29 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 7.575e-06/0.7756, allocations: 25.7 kB / 1.159 GB, free: 29.25 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 2.205e-05/0.7756, allocations: 90.97 kB / 1.159 GB, free: 29.17 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.853e-06/0.7756, allocations: 4 kB / 1.159 GB, free: 29.16 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.993e-05/0.7757, allocations: 18.77 kB / 1.159 GB, free: 29.14 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 3.206e-05/0.7757, allocations: 310.8 kB / 1.159 GB, free: 28.83 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.197e-05/0.7757, allocations: 12.38 kB / 1.159 GB, free: 28.83 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.088e-05/0.7758, allocations: 62.36 kB / 1.159 GB, free: 28.77 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.937e-05/0.7758, allocations: 20.48 kB / 1.159 GB, free: 28.75 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.7758, allocations: 6.75 kB / 1.159 GB, free: 28.75 MB / 1.076 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001145/0.7759, allocations: 57.33 kB / 1.159 GB, free: 28.71 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 9.938e-06/0.7759, allocations: 9.5 kB / 1.159 GB, free: 28.71 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.7759, allocations: 4.125 kB / 1.159 GB, free: 28.7 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.7759, allocations: 4.125 kB / 1.159 GB, free: 28.7 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.21e-07/0.7759, allocations: 0 / 1.159 GB, free: 28.7 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-06/0.7759, allocations: 0 / 1.159 GB, free: 28.7 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.134e-05/0.776, allocations: 6.75 kB / 1.159 GB, free: 28.7 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.517e-05/0.776, allocations: 10.12 kB / 1.159 GB, free: 28.69 MB / 1.076 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 4.615e-05/0.7761, allocations: 183.9 kB / 1.16 GB, free: 28.5 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.477e-05/0.7761, allocations: 104.9 kB / 1.16 GB, free: 28.39 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.999e-05/0.7761, allocations: 114.8 kB / 1.16 GB, free: 28.27 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.775e-05/0.7761, allocations: 179.4 kB / 1.16 GB, free: 28.09 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.829e-05/0.7762, allocations: 183 kB / 1.16 GB, free: 27.91 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.824e-05/0.7762, allocations: 180.2 kB / 1.16 GB, free: 27.72 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.38e-05/0.7763, allocations: 357.9 kB / 1.161 GB, free: 27.34 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.131e-05/0.7763, allocations: 105 kB / 1.161 GB, free: 27.23 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.091e-05/0.7763, allocations: 105 kB / 1.161 GB, free: 27.12 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-05/0.7763, allocations: 183.1 kB / 1.161 GB, free: 26.94 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.255e-05/0.7763, allocations: 187.4 kB / 1.161 GB, free: 26.75 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.749e-05/0.7764, allocations: 179.2 kB / 1.161 GB, free: 26.57 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.818e-05/0.7764, allocations: 184.2 kB / 1.162 GB, free: 26.39 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.032e-05/0.7764, allocations: 300.6 kB / 1.162 GB, free: 26.08 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.519e-05/0.7764, allocations: 107.6 kB / 1.162 GB, free: 25.97 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.513e-05/0.7765, allocations: 190.9 kB / 1.162 GB, free: 25.78 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.097e-05/0.7765, allocations: 112.1 kB / 1.162 GB, free: 25.66 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.194e-05/0.7765, allocations: 179 kB / 1.162 GB, free: 25.48 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-05/0.7765, allocations: 101 kB / 1.162 GB, free: 25.38 MB / 1.076 GB Notification: Performance of sorting global known variables: time 2.147e-05/0.7766, allocations: 80.62 kB / 1.163 GB, free: 25.3 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.7766, allocations: 3.938 kB / 1.163 GB, free: 25.3 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002841/0.7769, allocations: 61.72 kB / 1.163 GB, free: 25.28 MB / 1.076 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.0006937/0.7775, allocations: 397.8 kB / 1.163 GB, free: 25.04 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 6.996e-05/0.7776, allocations: 11.2 kB / 1.163 GB, free: 25.04 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.7776, allocations: 0 / 1.163 GB, free: 25.04 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 1.933e-06/0.7776, allocations: 2.531 kB / 1.163 GB, free: 25.04 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002387/0.7779, allocations: 458.8 kB / 1.163 GB, free: 24.59 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001538/0.778, allocations: 173.2 kB / 1.164 GB, free: 24.41 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.043e-05/0.778, allocations: 67.81 kB / 1.164 GB, free: 24.33 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 5.09e-05/0.7781, allocations: 5.906 kB / 1.164 GB, free: 24.33 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.029e-05/0.7781, allocations: 14.42 kB / 1.164 GB, free: 24.32 MB / 1.076 GB Notification: Performance of SimCode: time 3.11e-07/0.7781, allocations: 0 / 1.164 GB, free: 24.32 MB / 1.076 GB Notification: Performance of Templates: time 0.003527/0.7817, allocations: 1.549 MB / 1.165 GB, free: 24.13 MB / 1.076 GB " [Timeout remaining time 299] 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 ida -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: 8.322583721019328]