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.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.00144/0.00144, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.001511/0.001511, allocations: 189.1 kB / 22.23 MB, free: 5.094 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.412/1.412, allocations: 225.6 MB / 251 MB, free: 13.22 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.205/3.205, allocations: 496 MB / 0.7835 GB, free: 33.55 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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_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: Performance of FrontEnd - loaded program: time 0.003487/0.003487, allocations: 69.55 kB / 1.138 GB, free: 33.86 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3482/0.3517, allocations: 173.6 MB / 1.307 GB, free: 1.855 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.001723/0.3534, allocations: 0.5589 MB / 1.308 GB, free: 1.297 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001673/0.3551, allocations: 1.215 MB / 1.309 GB, free: 76 kB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.884e-05/0.3551, allocations: 7.938 kB / 1.309 GB, free: 68 kB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 8.734e-05/0.3552, allocations: 7.938 kB / 1.309 GB, free: 60 kB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.181e-05/0.3552, allocations: 3.984 kB / 1.309 GB, free: 56 kB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005792/0.3558, allocations: 183.4 kB / 1.309 GB, free: 15.88 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 5.909e-05/0.3558, allocations: 15.97 kB / 1.309 GB, free: 15.86 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 3.145e-05/0.3559, allocations: 0 / 1.309 GB, free: 15.86 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.286e-05/0.3559, allocations: 8 kB / 1.309 GB, free: 15.85 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 4.502e-05/0.3559, allocations: 11.98 kB / 1.309 GB, free: 15.84 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.373e-05/0.356, allocations: 0 / 1.309 GB, free: 15.84 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004244/0.3564, allocations: 243.5 kB / 1.309 GB, free: 15.6 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.735e-05/0.3564, allocations: 8 kB / 1.309 GB, free: 15.59 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.174e-05/0.3565, allocations: 7.984 kB / 1.309 GB, free: 15.59 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0003332/0.3568, allocations: 199.5 kB / 1.31 GB, free: 15.39 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.3568, allocations: 3.938 kB / 1.31 GB, free: 15.39 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.021e-06/0.3568, allocations: 3.938 kB / 1.31 GB, free: 15.38 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.3568, allocations: 0 / 1.31 GB, free: 15.38 MB / 1.014 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.0003889/0.3572, allocations: 293.8 kB / 1.31 GB, free: 15.07 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.3572, allocations: 8.922 kB / 1.31 GB, free: 15.06 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.742e-05/0.3573, allocations: 84.2 kB / 1.31 GB, free: 14.98 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001439/0.3574, allocations: 181.8 kB / 1.31 GB, free: 14.77 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.176e-05/0.3575, allocations: 154.9 kB / 1.31 GB, free: 14.62 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.436e-05/0.3576, allocations: 154.9 kB / 1.311 GB, free: 14.47 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.834e-05/0.3577, allocations: 105.1 kB / 1.311 GB, free: 14.36 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.359e-05/0.3577, allocations: 75.28 kB / 1.311 GB, free: 14.29 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.537e-05/0.3578, allocations: 154.6 kB / 1.311 GB, free: 14.13 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.863e-05/0.3578, allocations: 154.6 kB / 1.311 GB, free: 13.98 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.459e-05/0.3579, allocations: 154.5 kB / 1.311 GB, free: 13.83 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003423/0.3582, allocations: 425 kB / 1.312 GB, free: 13.37 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 9.952e-05/0.3583, allocations: 169.1 kB / 1.312 GB, free: 13.2 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.927e-05/0.3584, allocations: 80.14 kB / 1.312 GB, free: 13.11 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.82e-05/0.3584, allocations: 75.28 kB / 1.312 GB, free: 13.04 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.458e-05/0.3585, allocations: 121.7 kB / 1.312 GB, free: 12.91 MB / 1.014 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.3585, allocations: 0 / 1.312 GB, free: 12.91 MB / 1.014 GB Notification: Performance of matching and sorting (n=0): time 9.078e-05/0.3586, allocations: 37.64 kB / 1.312 GB, free: 12.87 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.48e-05/0.3586, allocations: 130.7 kB / 1.312 GB, free: 12.73 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001393/0.3588, allocations: 101.8 kB / 1.312 GB, free: 12.62 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.567e-05/0.3588, allocations: 29.7 kB / 1.312 GB, free: 12.58 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 5.184e-05/0.3589, allocations: 84.12 kB / 1.312 GB, free: 12.5 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.236e-06/0.3589, allocations: 0 / 1.312 GB, free: 12.5 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.98e-05/0.3589, allocations: 13.72 kB / 1.312 GB, free: 12.48 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.359, allocations: 318.8 kB / 1.313 GB, free: 12.16 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.968e-05/0.3591, allocations: 7.984 kB / 1.313 GB, free: 12.15 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.239e-05/0.3591, allocations: 12 kB / 1.313 GB, free: 12.14 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.838e-05/0.3592, allocations: 24.78 kB / 1.313 GB, free: 12.11 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.3592, allocations: 0 / 1.313 GB, free: 12.11 MB / 1.014 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001413/0.3593, allocations: 53.62 kB / 1.313 GB, free: 12.05 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.3593, allocations: 8 kB / 1.313 GB, free: 12.04 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.3593, allocations: 0 / 1.313 GB, free: 12.04 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.3593, allocations: 0 / 1.313 GB, free: 12.04 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.042e-06/0.3593, allocations: 0 / 1.313 GB, free: 12.04 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.3594, allocations: 3.984 kB / 1.313 GB, free: 12.04 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.342e-05/0.3594, allocations: 4.125 kB / 1.313 GB, free: 12.04 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.989e-05/0.3595, allocations: 4 kB / 1.313 GB, free: 12.03 MB / 1.014 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.0001181/0.3596, allocations: 193 kB / 1.313 GB, free: 11.83 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.559e-05/0.3596, allocations: 116.8 kB / 1.313 GB, free: 11.71 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.724e-05/0.3597, allocations: 112.1 kB / 1.313 GB, free: 11.59 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.472e-05/0.3598, allocations: 184.5 kB / 1.313 GB, free: 11.41 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.417e-05/0.3599, allocations: 184.3 kB / 1.314 GB, free: 11.22 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.72e-05/0.3599, allocations: 180.2 kB / 1.314 GB, free: 11.04 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002668/0.3602, allocations: 384.3 kB / 1.314 GB, free: 10.61 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.432e-05/0.3603, allocations: 101 kB / 1.314 GB, free: 10.5 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.946e-05/0.3603, allocations: 108.9 kB / 1.314 GB, free: 10.39 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.543e-05/0.3604, allocations: 180.3 kB / 1.314 GB, free: 10.21 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.012e-05/0.3605, allocations: 180.3 kB / 1.315 GB, free: 10.02 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.45e-05/0.3605, allocations: 188.2 kB / 1.315 GB, free: 9.832 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.269e-05/0.3606, allocations: 176.3 kB / 1.315 GB, free: 9.652 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001602/0.3608, allocations: 299.8 kB / 1.315 GB, free: 9.336 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 6.014e-05/0.3609, allocations: 120.9 kB / 1.315 GB, free: 9.211 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.091e-05/0.3609, allocations: 180.2 kB / 1.316 GB, free: 9.027 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.339e-05/0.361, allocations: 101 kB / 1.316 GB, free: 8.922 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.962e-05/0.3611, allocations: 180.2 kB / 1.316 GB, free: 8.738 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.21e-05/0.3612, allocations: 108.9 kB / 1.316 GB, free: 8.625 MB / 1.014 GB Notification: Performance of sorting global known variables: time 4.956e-05/0.3612, allocations: 87.27 kB / 1.316 GB, free: 8.539 MB / 1.014 GB Notification: Performance of sort global known variables: time 1e-07/0.3612, allocations: 4 kB / 1.316 GB, free: 8.535 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003358/0.3615, allocations: 55.73 kB / 1.316 GB, free: 8.48 MB / 1.014 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.0008454/0.3624, allocations: 383.8 kB / 1.316 GB, free: 8.16 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 9.184e-05/0.3625, allocations: 15.92 kB / 1.316 GB, free: 8.145 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.3625, allocations: 0 / 1.316 GB, free: 8.145 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 2.004e-06/0.3625, allocations: 0 / 1.316 GB, free: 8.145 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004154/0.3629, allocations: 463.6 kB / 1.317 GB, free: 7.688 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002781/0.3632, allocations: 172.2 kB / 1.317 GB, free: 7.492 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003266/0.3635, allocations: 0.6768 MB / 1.318 GB, free: 6.789 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001048/0.3636, allocations: 4 kB / 1.318 GB, free: 6.785 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.304e-05/0.3636, allocations: 15.42 kB / 1.318 GB, free: 6.77 MB / 1.014 GB Notification: Performance of SimCode: time 3.01e-07/0.3636, allocations: 0 / 1.318 GB, free: 6.77 MB / 1.014 GB Notification: Performance of Templates: time 0.004655/0.3683, allocations: 1.52 MB / 1.319 GB, free: 5.262 MB / 1.014 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=400 -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/jenkins/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.879583626054227]