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.0009227/0.0009227, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.00116/0.00116, allocations: 165.6 kB / 24.87 MB, free: 8.891 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.9515/0.9515, allocations: 177.1 MB / 205.3 MB, free: 5.48 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.973/1.973, allocations: 377.9 MB / 0.6247 GB, free: 8.418 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.953e-06/1.953e-06, allocations: 0 / 0.8128 GB, free: 1.453 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.412e-05/2.607e-05, allocations: 3.406 kB / 0.8128 GB, free: 1.449 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.001456/0.001483, allocations: 0.5535 MB / 0.8133 GB, free: 0.9141 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001263/0.002746, allocations: 1.237 MB / 0.8145 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.949e-05/0.002775, allocations: 0 / 0.8145 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001042/0.002879, allocations: 11.94 kB / 0.8145 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 5.13e-05/0.002931, allocations: 5.453 kB / 0.8145 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005243/0.003455, allocations: 179.2 kB / 0.8147 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 6.166e-05/0.003517, allocations: 21.42 kB / 0.8147 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.418e-05/0.003551, allocations: 4 kB / 0.8147 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 3.676e-05/0.003587, allocations: 15.97 kB / 0.8147 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 3.731e-05/0.003625, allocations: 11.98 kB / 0.8148 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.619e-05/0.003641, allocations: 0.5312 kB / 0.8148 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003105/0.003951, allocations: 212 kB / 0.815 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 3.63e-05/0.003988, allocations: 5.031 kB / 0.815 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.75e-05/0.004005, allocations: 7.984 kB / 0.815 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002536/0.004259, allocations: 219.4 kB / 0.8152 GB, free: 15 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.405e-06/0.004261, allocations: 4.594 kB / 0.8152 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.192e-06/0.004262, allocations: 0 / 0.8152 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.058e-06/0.004267, allocations: 0.5312 kB / 0.8152 GB, free: 14.99 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.0002884/0.004555, allocations: 393.2 kB / 0.8156 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.082e-05/0.004586, allocations: 8.031 kB / 0.8156 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.337e-05/0.004649, allocations: 124.4 kB / 0.8157 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001271/0.004776, allocations: 231.8 kB / 0.8159 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.202e-05/0.004838, allocations: 239.9 kB / 0.8161 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.216e-05/0.0049, allocations: 246.7 kB / 0.8164 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.953e-05/0.00496, allocations: 149.4 kB / 0.8165 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.996e-05/0.00499, allocations: 120.3 kB / 0.8166 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.844e-05/0.005048, allocations: 246.5 kB / 0.8169 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.475e-05/0.005103, allocations: 238.4 kB / 0.8171 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.604e-05/0.005159, allocations: 251.2 kB / 0.8173 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002276/0.005387, allocations: 0.5531 MB / 0.8179 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 9.085e-05/0.005478, allocations: 274.4 kB / 0.8181 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003236/0.005801, allocations: 126.9 kB / 0.8183 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.779e-05/0.005829, allocations: 120.1 kB / 0.8184 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.417e-05/0.005873, allocations: 152.6 kB / 0.8185 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.005874, allocations: 0 / 0.8185 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 5.749e-05/0.005932, allocations: 31.23 kB / 0.8185 GB, free: 11.42 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.712e-05/0.005989, allocations: 178.5 kB / 0.8187 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.028e-05/0.006079, allocations: 161.9 kB / 0.8189 GB, free: 11.06 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.213e-05/0.006091, allocations: 29.7 kB / 0.8189 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.055e-05/0.006132, allocations: 132.1 kB / 0.819 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.243e-06/0.006133, allocations: 0 / 0.819 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.955e-05/0.006163, allocations: 27.34 kB / 0.819 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.006271, allocations: 499.2 kB / 0.8195 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.702e-05/0.006288, allocations: 0 / 0.8195 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.295e-05/0.006321, allocations: 59.39 kB / 0.8196 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.495e-05/0.006356, allocations: 15.69 kB / 0.8196 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.006358, allocations: 0 / 0.8196 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.593e-05/0.006454, allocations: 49.62 kB / 0.8196 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/0.006465, allocations: 4 kB / 0.8196 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.006471, allocations: 0.5 kB / 0.8196 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.466e-06/0.006479, allocations: 1.938 kB / 0.8196 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.92e-07/0.00648, allocations: 0 / 0.8196 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.397e-06/0.006483, allocations: 7.938 kB / 0.8197 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.554e-05/0.006549, allocations: 11.88 kB / 0.8197 GB, free: 10.19 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.299e-05/0.006562, allocations: 4 kB / 0.8197 GB, free: 10.19 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 8.669e-05/0.006649, allocations: 273.4 kB / 0.8199 GB, free: 9.91 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.85e-05/0.006697, allocations: 152.9 kB / 0.8201 GB, free: 9.754 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.571e-05/0.006743, allocations: 152 kB / 0.8202 GB, free: 9.602 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.715e-05/0.0068, allocations: 264.1 kB / 0.8205 GB, free: 9.336 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.926e-05/0.006859, allocations: 269.1 kB / 0.8207 GB, free: 9.066 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.165e-05/0.006921, allocations: 276 kB / 0.821 GB, free: 8.789 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001676/0.007088, allocations: 480.5 kB / 0.8215 GB, free: 8.285 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-05/0.007123, allocations: 149.7 kB / 0.8216 GB, free: 8.133 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.406e-05/0.007157, allocations: 145 kB / 0.8217 GB, free: 7.984 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.884e-05/0.007216, allocations: 276.9 kB / 0.822 GB, free: 7.707 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.139e-05/0.007277, allocations: 276 kB / 0.8223 GB, free: 7.43 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.206e-05/0.007339, allocations: 265.4 kB / 0.8225 GB, free: 7.164 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.202e-05/0.007401, allocations: 272 kB / 0.8228 GB, free: 6.891 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001408/0.007542, allocations: 451.9 kB / 0.8232 GB, free: 6.422 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.334e-05/0.007585, allocations: 149.7 kB / 0.8233 GB, free: 6.27 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.023e-05/0.007656, allocations: 268.1 kB / 0.8236 GB, free: 6 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.648e-05/0.007712, allocations: 148.8 kB / 0.8237 GB, free: 5.848 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.283e-05/0.007775, allocations: 266.6 kB / 0.824 GB, free: 5.582 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.615e-05/0.007811, allocations: 156.8 kB / 0.8241 GB, free: 5.422 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.319e-05/0.007854, allocations: 131.2 kB / 0.8243 GB, free: 5.293 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.007854, allocations: 0 / 0.8243 GB, free: 5.293 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002386/0.008093, allocations: 47.8 kB / 0.8243 GB, free: 5.246 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.0006863/0.008779, allocations: 477.6 kB / 0.8248 GB, free: 4.859 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.264e-05/0.008852, allocations: 12.84 kB / 0.8248 GB, free: 4.844 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.008854, allocations: 4 kB / 0.8248 GB, free: 4.84 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.533e-06/0.008855, allocations: 0 / 0.8248 GB, free: 4.84 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002988/0.009154, allocations: 0.7028 MB / 0.8255 GB, free: 4.133 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004835/0.009637, allocations: 218.8 kB / 0.8257 GB, free: 3.891 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.762e-05/0.009665, allocations: 51.36 kB / 0.8257 GB, free: 3.82 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.055e-05/0.009706, allocations: 17 kB / 0.8258 GB, free: 3.805 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.923e-05/0.009765, allocations: 74.19 kB / 0.8258 GB, free: 3.73 MB / 0.7761 GB Notification: Performance of SimCode: time 7.11e-07/0.009766, allocations: 5.344 kB / 0.8258 GB, free: 3.727 MB / 0.7761 GB Notification: Performance of Templates: time 0.003252/0.01302, allocations: 1.804 MB / 0.8276 GB, free: 1.949 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.178380134049803]