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.001332/0.001332, allocations: 114.5 kB / 18.88 MB, free: 3.062 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.00148/0.00148, allocations: 194.2 kB / 22.17 MB, free: 5.656 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.451/1.451, allocations: 225.6 MB / 250.9 MB, free: 13.28 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.784/2.784, allocations: 476.7 MB / 0.7645 GB, free: 10.07 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.002064/0.002064, allocations: 67.89 kB / 1.109 GB, free: 6.535 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8435/0.8456, allocations: 168.7 MB / 1.274 GB, free: 4.363 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.002119/0.8477, allocations: 0.5385 MB / 1.275 GB, free: 3.828 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001853/0.8496, allocations: 1.228 MB / 1.276 GB, free: 2.594 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.443e-05/0.8496, allocations: 0 / 1.276 GB, free: 2.594 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001074/0.8497, allocations: 7.938 kB / 1.276 GB, free: 2.586 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.285e-05/0.8497, allocations: 3.938 kB / 1.276 GB, free: 2.582 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005722/0.8503, allocations: 168.6 kB / 1.276 GB, free: 2.418 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.413e-05/0.8504, allocations: 19.92 kB / 1.276 GB, free: 2.398 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.338e-05/0.8504, allocations: 3.984 kB / 1.276 GB, free: 2.395 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.11e-05/0.8505, allocations: 11.98 kB / 1.276 GB, free: 2.383 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.452e-05/0.8505, allocations: 8 kB / 1.276 GB, free: 2.375 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.255e-05/0.8505, allocations: 0 / 1.276 GB, free: 2.375 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004109/0.8509, allocations: 199.7 kB / 1.276 GB, free: 2.18 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.876e-05/0.851, allocations: 3.938 kB / 1.276 GB, free: 2.176 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.521e-05/0.851, allocations: 8 kB / 1.276 GB, free: 2.168 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003307/0.8513, allocations: 198.2 kB / 1.276 GB, free: 1.977 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.8513, allocations: 0 / 1.276 GB, free: 1.977 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.944e-06/0.8513, allocations: 0 / 1.276 GB, free: 1.977 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.73e-06/0.8513, allocations: 4 kB / 1.276 GB, free: 1.973 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.0004764/0.8518, allocations: 370.9 kB / 1.277 GB, free: 1.562 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.8519, allocations: 8.031 kB / 1.277 GB, free: 1.555 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.309e-05/0.8519, allocations: 80.22 kB / 1.277 GB, free: 1.477 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002077/0.8521, allocations: 239.7 kB / 1.277 GB, free: 1.203 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.737e-05/0.8522, allocations: 154.9 kB / 1.277 GB, free: 1.051 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.148e-05/0.8523, allocations: 162.9 kB / 1.277 GB, free: 0.8906 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001046/0.8524, allocations: 117.1 kB / 1.277 GB, free: 0.7695 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.749e-05/0.8525, allocations: 75.28 kB / 1.278 GB, free: 0.6953 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.278e-05/0.8525, allocations: 150.6 kB / 1.278 GB, free: 0.5469 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.916e-05/0.8526, allocations: 150.6 kB / 1.278 GB, free: 408 kB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.051e-05/0.8527, allocations: 154.6 kB / 1.278 GB, free: 252 kB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000382/0.8531, allocations: 453.9 kB / 1.278 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001161/0.8532, allocations: 169.1 kB / 1.279 GB, free: 15.58 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.655e-05/0.8532, allocations: 84.14 kB / 1.279 GB, free: 15.49 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.865e-05/0.8533, allocations: 75.28 kB / 1.279 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.265e-05/0.8533, allocations: 117.8 kB / 1.279 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.8533, allocations: 0 / 1.279 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 8.872e-05/0.8534, allocations: 37.59 kB / 1.279 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.029e-05/0.8535, allocations: 126.7 kB / 1.279 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001391/0.8537, allocations: 101.8 kB / 1.279 GB, free: 15 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.068e-05/0.8537, allocations: 29.64 kB / 1.279 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.045e-05/0.8537, allocations: 84.14 kB / 1.279 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.275e-06/0.8537, allocations: 0 / 1.279 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.977e-05/0.8538, allocations: 21.7 kB / 1.279 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001581/0.8539, allocations: 310.8 kB / 1.28 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.836e-05/0.854, allocations: 15.94 kB / 1.28 GB, free: 14.53 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.138e-05/0.854, allocations: 11.98 kB / 1.28 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.075e-05/0.854, allocations: 16.86 kB / 1.28 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.8541, allocations: 3.984 kB / 1.28 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001584/0.8542, allocations: 61.55 kB / 1.28 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.8542, allocations: 8.125 kB / 1.28 GB, free: 14.42 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/0.8542, allocations: 0 / 1.28 GB, free: 14.42 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.8542, allocations: 0 / 1.28 GB, free: 14.42 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.042e-06/0.8542, allocations: 4 kB / 1.28 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.8542, allocations: 0 / 1.28 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.319e-05/0.8543, allocations: 3.938 kB / 1.28 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.782e-05/0.8544, allocations: 4 kB / 1.28 GB, free: 14.41 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.0001148/0.8545, allocations: 185.1 kB / 1.28 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.638e-05/0.8546, allocations: 112.9 kB / 1.28 GB, free: 14.1 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.83e-05/0.8546, allocations: 112 kB / 1.28 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.18e-05/0.8547, allocations: 176.3 kB / 1.28 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.74e-05/0.8548, allocations: 184.2 kB / 1.28 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.463e-05/0.8549, allocations: 180.2 kB / 1.281 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000267/0.8551, allocations: 397.2 kB / 1.281 GB, free: 12.99 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.343e-05/0.8552, allocations: 113 kB / 1.281 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.685e-05/0.8552, allocations: 112.9 kB / 1.281 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.471e-05/0.8553, allocations: 180.2 kB / 1.281 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.704e-05/0.8554, allocations: 176.3 kB / 1.281 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.345e-05/0.8555, allocations: 188.2 kB / 1.282 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.834e-05/0.8556, allocations: 184.3 kB / 1.282 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001829/0.8557, allocations: 307.7 kB / 1.282 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.935e-05/0.8558, allocations: 182 kB / 1.282 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.796e-05/0.8559, allocations: 188.2 kB / 1.282 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.652e-05/0.856, allocations: 105 kB / 1.283 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.682e-05/0.8561, allocations: 180.3 kB / 1.283 GB, free: 11 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.877e-05/0.8562, allocations: 104.9 kB / 1.283 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.37e-05/0.8562, allocations: 83.41 kB / 1.283 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.8562, allocations: 0 / 1.283 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000329/0.8565, allocations: 55.8 kB / 1.283 GB, free: 10.75 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.0008444/0.8574, allocations: 396.6 kB / 1.283 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 9.944e-05/0.8575, allocations: 11.98 kB / 1.283 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.8575, allocations: 0 / 1.283 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 6.573e-06/0.8575, allocations: 4 kB / 1.283 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004153/0.8579, allocations: 462.2 kB / 1.284 GB, free: 9.961 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002964/0.8582, allocations: 176.1 kB / 1.284 GB, free: 9.762 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000336/0.8585, allocations: 0.669 MB / 1.285 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001126/0.8587, allocations: 11.98 kB / 1.285 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.757e-05/0.8587, allocations: 11.44 kB / 1.285 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/0.8587, allocations: 4 kB / 1.285 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of Templates: time 0.004491/0.8632, allocations: 1.523 MB / 1.286 GB, free: 7.523 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 cvode -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: 8.801286736968905]