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.001192/0.001192, allocations: 87.58 kB / 20.45 MB, free: 4.117 MB / 18.57 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.001332/0.001332, allocations: 161 kB / 23.82 MB, free: 0.75 MB / 18.57 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 0.9593/0.9593, allocations: 177.1 MB / 204.2 MB, free: 5.266 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.93/1.93, allocations: 377.8 MB / 0.6236 GB, free: 8.547 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.[0-9,]+.|yR2.[0-9,]+.",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.[0-9,]+.|yR2.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 0.8115 GB, free: 1.734 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.203e-05/2.334e-05, allocations: 8.297 kB / 0.8115 GB, free: 1.727 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.001256/0.00128, allocations: 0.558 MB / 0.8121 GB, free: 1.188 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001093/0.002372, allocations: 1.252 MB / 0.8133 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.261e-05/0.002395, allocations: 0 / 0.8133 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001004/0.002495, allocations: 1.406 kB / 0.8133 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 5.05e-05/0.002546, allocations: 0 / 0.8133 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004456/0.002991, allocations: 188.1 kB / 0.8135 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 5.963e-05/0.003051, allocations: 23.91 kB / 0.8135 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.405e-05/0.003085, allocations: 5 kB / 0.8135 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 3.666e-05/0.003122, allocations: 11.98 kB / 0.8135 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 3.527e-05/0.003157, allocations: 4.562 kB / 0.8135 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.389e-05/0.003171, allocations: 3.938 kB / 0.8135 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002687/0.00344, allocations: 220.2 kB / 0.8137 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 3.522e-05/0.003475, allocations: 0 / 0.8137 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.229e-05/0.003497, allocations: 5.25 kB / 0.8137 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002484/0.003746, allocations: 219.4 kB / 0.8139 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.713e-06/0.003747, allocations: 0 / 0.8139 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.42e-07/0.003748, allocations: 2.406 kB / 0.8139 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.003752, allocations: 0 / 0.8139 GB, free: 15.27 MB / 0.7761 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.0002898/0.004042, allocations: 395.8 kB / 0.8143 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/0.004076, allocations: 12.03 kB / 0.8143 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.584e-05/0.004131, allocations: 132.3 kB / 0.8145 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000107/0.004238, allocations: 231.8 kB / 0.8147 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.176e-05/0.00429, allocations: 239.3 kB / 0.8149 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.59e-05/0.004346, allocations: 242.8 kB / 0.8151 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.642e-05/0.004403, allocations: 147 kB / 0.8153 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.451e-05/0.004427, allocations: 119.4 kB / 0.8154 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.055e-05/0.004478, allocations: 242.5 kB / 0.8156 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.036e-05/0.004528, allocations: 238.4 kB / 0.8158 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.701e-05/0.004575, allocations: 247.6 kB / 0.8161 GB, free: 13 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002183/0.004793, allocations: 0.572 MB / 0.8166 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.767e-05/0.004871, allocations: 265.4 kB / 0.8169 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.255e-05/0.004904, allocations: 128.2 kB / 0.817 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.512e-05/0.004929, allocations: 123.2 kB / 0.8171 GB, free: 11.87 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.83e-05/0.004967, allocations: 152.6 kB / 0.8173 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 7.42e-07/0.004968, allocations: 3.938 kB / 0.8173 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 5.663e-05/0.005024, allocations: 34.89 kB / 0.8173 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.495e-05/0.005069, allocations: 174.5 kB / 0.8175 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001674/0.005237, allocations: 165.9 kB / 0.8176 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 9.247e-06/0.005246, allocations: 26.23 kB / 0.8177 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 3.92e-05/0.005285, allocations: 135.4 kB / 0.8178 GB, free: 11.13 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.164e-06/0.005287, allocations: 0 / 0.8178 GB, free: 11.13 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.955e-05/0.005317, allocations: 28.23 kB / 0.8178 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001023/0.005419, allocations: 496.1 kB / 0.8183 GB, free: 10.6 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.996e-05/0.005439, allocations: 0.8125 kB / 0.8183 GB, free: 10.6 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.308e-05/0.005472, allocations: 59.39 kB / 0.8184 GB, free: 10.53 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.843e-05/0.005511, allocations: 25.53 kB / 0.8184 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.005513, allocations: 4 kB / 0.8184 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001094/0.005623, allocations: 41.69 kB / 0.8184 GB, free: 10.45 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.005636, allocations: 9.156 kB / 0.8184 GB, free: 10.45 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.005642, allocations: 0 / 0.8184 GB, free: 10.45 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.005656, allocations: 0 / 0.8184 GB, free: 10.45 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.368e-06/0.00566, allocations: 3.938 kB / 0.8184 GB, free: 10.44 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.379e-06/0.005665, allocations: 0.75 kB / 0.8184 GB, free: 10.44 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.26e-05/0.005717, allocations: 7.891 kB / 0.8184 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.286e-05/0.00573, allocations: 4.625 kB / 0.8184 GB, free: 10.43 MB / 0.7761 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 7.525e-05/0.005805, allocations: 280.5 kB / 0.8187 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.487e-05/0.00585, allocations: 154.1 kB / 0.8189 GB, free: 9.988 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.752e-05/0.005888, allocations: 148 kB / 0.819 GB, free: 9.84 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.926e-05/0.005937, allocations: 268.1 kB / 0.8193 GB, free: 9.57 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.962e-05/0.005987, allocations: 272 kB / 0.8195 GB, free: 9.297 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.727e-05/0.006034, allocations: 264.9 kB / 0.8198 GB, free: 9.031 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001482/0.006182, allocations: 0.492 MB / 0.8203 GB, free: 8.496 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.051e-05/0.006213, allocations: 150.2 kB / 0.8204 GB, free: 8.344 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.076e-05/0.006243, allocations: 149 kB / 0.8205 GB, free: 8.191 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-05/0.006296, allocations: 268.1 kB / 0.8208 GB, free: 7.922 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.712e-05/0.006353, allocations: 280.8 kB / 0.8211 GB, free: 7.641 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.427e-05/0.006407, allocations: 268 kB / 0.8213 GB, free: 7.371 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.296e-05/0.00646, allocations: 264.9 kB / 0.8216 GB, free: 7.105 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001265/0.006587, allocations: 451.9 kB / 0.822 GB, free: 6.637 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.403e-05/0.006621, allocations: 150.5 kB / 0.8221 GB, free: 6.484 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.848e-05/0.006679, allocations: 272 kB / 0.8224 GB, free: 6.211 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.137e-05/0.006731, allocations: 148.9 kB / 0.8225 GB, free: 6.059 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.656e-05/0.006787, allocations: 272 kB / 0.8228 GB, free: 5.785 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.909e-05/0.006816, allocations: 148.9 kB / 0.8229 GB, free: 5.633 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.615e-05/0.006853, allocations: 124.2 kB / 0.8231 GB, free: 5.512 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.006853, allocations: 0 / 0.8231 GB, free: 5.512 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002177/0.00707, allocations: 59.17 kB / 0.8231 GB, free: 5.457 MB / 0.7761 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.0006446/0.007715, allocations: 468.8 kB / 0.8236 GB, free: 5.074 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.937e-05/0.007794, allocations: 15.62 kB / 0.8236 GB, free: 5.055 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.007796, allocations: 0 / 0.8236 GB, free: 5.055 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.152e-06/0.007797, allocations: 0 / 0.8236 GB, free: 5.055 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002729/0.00807, allocations: 0.71 MB / 0.8243 GB, free: 4.34 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002103/0.00828, allocations: 220.8 kB / 0.8245 GB, free: 4.098 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.009e-05/0.00831, allocations: 51.36 kB / 0.8245 GB, free: 4.027 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.777e-05/0.008348, allocations: 7.984 kB / 0.8245 GB, free: 4.02 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.459e-05/0.008383, allocations: 20.48 kB / 0.8246 GB, free: 4 MB / 0.7761 GB Notification: Performance of SimCode: time 6.21e-07/0.008383, allocations: 0 / 0.8246 GB, free: 4 MB / 0.7761 GB Notification: Performance of Templates: time 0.003132/0.01151, allocations: 1.596 MB / 0.8261 GB, free: 2.441 MB / 0.7761 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.1469462788663805]