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.001372/0.001372, 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.001445/0.001445, 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.9062/0.9062, allocations: 177.1 MB / 204.2 MB, free: 5.605 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.856/1.856, allocations: 377.9 MB / 0.6236 GB, free: 8.539 MB / 0.5886 GB " [Timeout remaining time 178] 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.463e-06/1.463e-06, allocations: 0 / 0.8115 GB, free: 1.738 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.652e-05/1.799e-05, allocations: 5.484 kB / 0.8115 GB, free: 1.734 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.001144/0.001162, allocations: 0.5631 MB / 0.8121 GB, free: 1.191 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001096/0.002259, allocations: 1.247 MB / 0.8133 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.675e-05/0.002286, allocations: 0 / 0.8133 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.000102/0.002388, allocations: 10.33 kB / 0.8133 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 4.842e-05/0.002436, allocations: 0 / 0.8133 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004575/0.002894, allocations: 187.2 kB / 0.8135 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 6.113e-05/0.002955, allocations: 19.92 kB / 0.8135 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.58e-05/0.00299, allocations: 9.328 kB / 0.8135 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 3.658e-05/0.003027, allocations: 8 kB / 0.8135 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 3.946e-05/0.003066, allocations: 7.984 kB / 0.8135 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.237e-05/0.003079, allocations: 0 / 0.8135 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002673/0.003346, allocations: 217.1 kB / 0.8137 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 3.425e-05/0.00338, allocations: 7.984 kB / 0.8137 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.984e-05/0.0034, allocations: 4 kB / 0.8137 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002449/0.003645, allocations: 219.4 kB / 0.814 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.00365, allocations: 1.688 kB / 0.814 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of FrontEnd: time 5.31e-07/0.00365, allocations: 0 / 0.814 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.082e-06/0.003656, allocations: 3.938 kB / 0.814 GB, free: 15.26 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.0003448/0.004001, allocations: 391.8 kB / 0.8143 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.004037, allocations: 12.03 kB / 0.8143 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.784e-05/0.004095, allocations: 125.3 kB / 0.8145 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001119/0.004207, allocations: 231.8 kB / 0.8147 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.529e-05/0.004262, allocations: 239.3 kB / 0.8149 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.837e-05/0.00432, allocations: 239.3 kB / 0.8151 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.647e-05/0.004387, allocations: 153.4 kB / 0.8153 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.117e-05/0.004418, allocations: 123.8 kB / 0.8154 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.781e-05/0.004476, allocations: 247.7 kB / 0.8156 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.316e-05/0.004529, allocations: 238.4 kB / 0.8159 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.653e-05/0.004585, allocations: 242.4 kB / 0.8161 GB, free: 13 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002474/0.004833, allocations: 0.5686 MB / 0.8167 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 8.605e-05/0.004919, allocations: 265.4 kB / 0.8169 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.503e-05/0.004954, allocations: 136.2 kB / 0.817 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.168e-05/0.004986, allocations: 127.2 kB / 0.8172 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.553e-05/0.005031, allocations: 152.6 kB / 0.8173 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 8.32e-07/0.005032, allocations: 1.156 kB / 0.8173 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 5.26e-05/0.005085, allocations: 29.7 kB / 0.8173 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.483e-05/0.005139, allocations: 174.5 kB / 0.8175 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001044/0.005244, allocations: 162.9 kB / 0.8177 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.135e-05/0.005255, allocations: 25.7 kB / 0.8177 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.528e-05/0.0053, allocations: 134.9 kB / 0.8178 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.354e-06/0.005303, allocations: 0.9062 kB / 0.8178 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.672e-05/0.00533, allocations: 23.38 kB / 0.8178 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001169/0.005446, allocations: 0.4893 MB / 0.8183 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.651e-05/0.005463, allocations: 3.984 kB / 0.8183 GB, free: 10.6 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.452e-05/0.005498, allocations: 56.69 kB / 0.8184 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.674e-05/0.005534, allocations: 19.69 kB / 0.8184 GB, free: 10.51 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.005537, allocations: 0 / 0.8184 GB, free: 10.51 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001053/0.005642, allocations: 42.53 kB / 0.8184 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.024e-05/0.005652, allocations: 4 kB / 0.8184 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.005658, allocations: 5.094 kB / 0.8184 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.005669, allocations: 0 / 0.8184 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.931e-06/0.005675, allocations: 3.938 kB / 0.8184 GB, free: 10.45 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/0.005681, allocations: 1.375 kB / 0.8184 GB, free: 10.45 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.385e-05/0.005735, allocations: 11.83 kB / 0.8184 GB, free: 10.44 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.529e-05/0.00575, allocations: 7.984 kB / 0.8185 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 8.478e-05/0.005835, allocations: 277.2 kB / 0.8187 GB, free: 10.15 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.566e-05/0.005881, allocations: 148.9 kB / 0.8189 GB, free: 10 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.085e-05/0.005922, allocations: 148 kB / 0.819 GB, free: 9.852 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.976e-05/0.005981, allocations: 275 kB / 0.8193 GB, free: 9.578 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.622e-05/0.006037, allocations: 272 kB / 0.8195 GB, free: 9.305 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.13e-05/0.006099, allocations: 268 kB / 0.8198 GB, free: 9.035 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000164/0.006263, allocations: 495.9 kB / 0.8203 GB, free: 8.508 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.124e-05/0.006304, allocations: 152.9 kB / 0.8204 GB, free: 8.352 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.495e-05/0.006339, allocations: 149 kB / 0.8205 GB, free: 8.199 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.209e-05/0.006401, allocations: 272.1 kB / 0.8208 GB, free: 7.926 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.378e-05/0.006475, allocations: 276.1 kB / 0.8211 GB, free: 7.648 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.619e-05/0.006551, allocations: 272.5 kB / 0.8213 GB, free: 7.375 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.956e-05/0.006621, allocations: 270 kB / 0.8216 GB, free: 7.105 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001367/0.006757, allocations: 448 kB / 0.822 GB, free: 6.641 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.465e-05/0.006802, allocations: 148.8 kB / 0.8222 GB, free: 6.488 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.969e-05/0.006872, allocations: 268.1 kB / 0.8224 GB, free: 6.219 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.365e-05/0.006925, allocations: 156.8 kB / 0.8226 GB, free: 6.059 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.36e-05/0.006989, allocations: 268 kB / 0.8228 GB, free: 5.789 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.252e-05/0.007021, allocations: 145.7 kB / 0.823 GB, free: 5.641 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.426e-05/0.007056, allocations: 123.2 kB / 0.8231 GB, free: 5.52 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.007056, allocations: 0.8438 kB / 0.8231 GB, free: 5.52 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002244/0.00728, allocations: 55.8 kB / 0.8231 GB, free: 5.465 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.0006172/0.007897, allocations: 471.8 kB / 0.8236 GB, free: 5.082 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 6.869e-05/0.007966, allocations: 16.8 kB / 0.8236 GB, free: 5.062 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.132e-06/0.007967, allocations: 0 / 0.8236 GB, free: 5.062 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.623e-06/0.007969, allocations: 1.031 kB / 0.8236 GB, free: 5.062 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002765/0.008245, allocations: 0.7023 MB / 0.8243 GB, free: 4.355 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001863/0.008431, allocations: 218.8 kB / 0.8245 GB, free: 4.113 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.243e-05/0.008464, allocations: 55.36 kB / 0.8245 GB, free: 4.039 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.144e-05/0.008495, allocations: 11.92 kB / 0.8245 GB, free: 4.027 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.675e-05/0.008522, allocations: 18.16 kB / 0.8246 GB, free: 4.012 MB / 0.7761 GB Notification: Performance of SimCode: time 3.81e-07/0.008522, allocations: 0 / 0.8246 GB, free: 4.012 MB / 0.7761 GB Notification: Performance of Templates: time 0.003177/0.0117, allocations: 1.816 MB / 0.8263 GB, free: 2.227 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.014112287666649]