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.0009474/0.0009474, allocations: 81.86 kB / 20.68 MB, free: 3.816 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.0009254/0.0009254, allocations: 185 kB / 24.09 MB, free: 416 kB / 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.9567/0.9567, allocations: 177.2 MB / 204.5 MB, free: 5.516 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.841/1.841, allocations: 377.9 MB / 0.624 GB, free: 8.402 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.223e-06/1.223e-06, allocations: 0 / 0.812 GB, free: 1.453 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.073e-05/1.195e-05, allocations: 4.031 kB / 0.812 GB, free: 1.449 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.001044/0.001056, allocations: 0.5518 MB / 0.8125 GB, free: 0.918 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001057/0.002113, allocations: 1.243 MB / 0.8137 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.559e-05/0.002139, allocations: 0 / 0.8137 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 9.327e-05/0.002232, allocations: 13.23 kB / 0.8138 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 4.562e-05/0.002278, allocations: 0 / 0.8138 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004262/0.002704, allocations: 187.9 kB / 0.8139 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 5.265e-05/0.002757, allocations: 12.89 kB / 0.814 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.715e-05/0.002794, allocations: 7.984 kB / 0.814 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 3.9e-05/0.002833, allocations: 15.94 kB / 0.814 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 3.693e-05/0.00287, allocations: 8.641 kB / 0.814 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.094e-05/0.002881, allocations: 1.25 kB / 0.814 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000236/0.003117, allocations: 207.6 kB / 0.8142 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 3.201e-05/0.003149, allocations: 11.92 kB / 0.8142 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.549e-05/0.003164, allocations: 8 kB / 0.8142 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002097/0.003374, allocations: 220.4 kB / 0.8144 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.522e-06/0.003375, allocations: 0 / 0.8144 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of FrontEnd: time 4.91e-07/0.003376, allocations: 0.7188 kB / 0.8144 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.256e-06/0.003379, allocations: 0 / 0.8144 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.0002513/0.00363, allocations: 392.5 kB / 0.8148 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.268e-05/0.003663, allocations: 12.03 kB / 0.8148 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.585e-05/0.003709, allocations: 125.7 kB / 0.8149 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.765e-05/0.003807, allocations: 239.8 kB / 0.8151 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.952e-05/0.003856, allocations: 238.8 kB / 0.8154 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.123e-05/0.003907, allocations: 244.9 kB / 0.8156 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.521e-05/0.003963, allocations: 153.4 kB / 0.8158 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.445e-05/0.003987, allocations: 119.4 kB / 0.8159 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.028e-05/0.004037, allocations: 242.5 kB / 0.8161 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.654e-05/0.004084, allocations: 238.4 kB / 0.8163 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.855e-05/0.004132, allocations: 242.4 kB / 0.8166 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002026/0.004335, allocations: 0.5539 MB / 0.8171 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.667e-05/0.004412, allocations: 265.4 kB / 0.8173 GB, free: 11.87 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.11e-05/0.004443, allocations: 127.5 kB / 0.8175 GB, free: 11.74 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.803e-05/0.004471, allocations: 127.2 kB / 0.8176 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.623e-05/0.004517, allocations: 157.3 kB / 0.8177 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 8.41e-07/0.004518, allocations: 0 / 0.8177 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 4.966e-05/0.004567, allocations: 31.23 kB / 0.8178 GB, free: 11.42 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.734e-05/0.004615, allocations: 170.6 kB / 0.8179 GB, free: 11.24 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.312e-05/0.004698, allocations: 157.9 kB / 0.8181 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.123e-05/0.004709, allocations: 29.7 kB / 0.8181 GB, free: 11.03 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.599e-05/0.004755, allocations: 140.4 kB / 0.8182 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.615e-06/0.004758, allocations: 3.938 kB / 0.8183 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.885e-05/0.004787, allocations: 19.38 kB / 0.8183 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001071/0.004894, allocations: 496.1 kB / 0.8187 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.451e-05/0.004908, allocations: 1.75 kB / 0.8187 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.204e-05/0.00494, allocations: 59.39 kB / 0.8188 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.188e-05/0.004972, allocations: 19.67 kB / 0.8188 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.004974, allocations: 1.062 kB / 0.8188 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.785e-05/0.005062, allocations: 45.69 kB / 0.8189 GB, free: 10.22 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/0.005072, allocations: 5.531 kB / 0.8189 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.005078, allocations: 3.938 kB / 0.8189 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.005089, allocations: 0 / 0.8189 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.027e-06/0.005093, allocations: 0 / 0.8189 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.647e-06/0.005097, allocations: 7.875 kB / 0.8189 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.801e-05/0.005145, allocations: 12.42 kB / 0.8189 GB, free: 10.19 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/0.005155, allocations: 0.625 kB / 0.8189 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 0.0003526/0.005507, allocations: 280.3 kB / 0.8192 GB, free: 9.906 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.913e-05/0.005546, allocations: 145.7 kB / 0.8193 GB, free: 9.758 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.73e-05/0.005584, allocations: 152 kB / 0.8194 GB, free: 9.605 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-05/0.005632, allocations: 268.9 kB / 0.8197 GB, free: 9.336 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.971e-05/0.005682, allocations: 264.1 kB / 0.82 GB, free: 9.07 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.577e-05/0.005738, allocations: 284.1 kB / 0.8202 GB, free: 8.785 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001408/0.005878, allocations: 477 kB / 0.8207 GB, free: 8.285 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.128e-05/0.00591, allocations: 154.2 kB / 0.8208 GB, free: 8.129 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.908e-05/0.005939, allocations: 145 kB / 0.821 GB, free: 7.98 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.187e-05/0.005991, allocations: 276.1 kB / 0.8212 GB, free: 7.703 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.291e-05/0.006044, allocations: 276.1 kB / 0.8215 GB, free: 7.426 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.049e-05/0.006094, allocations: 265.4 kB / 0.8217 GB, free: 7.16 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.079e-05/0.006145, allocations: 272 kB / 0.822 GB, free: 6.887 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001065/0.006251, allocations: 448 kB / 0.8224 GB, free: 6.422 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.685e-05/0.006288, allocations: 153.7 kB / 0.8226 GB, free: 6.266 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.689e-05/0.006345, allocations: 268.1 kB / 0.8228 GB, free: 5.996 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.799e-05/0.006393, allocations: 148.8 kB / 0.823 GB, free: 5.844 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.27e-05/0.006456, allocations: 264.9 kB / 0.8232 GB, free: 5.578 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.012e-05/0.006486, allocations: 152.9 kB / 0.8234 GB, free: 5.422 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.662e-05/0.006522, allocations: 124.5 kB / 0.8235 GB, free: 5.301 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1e-07/0.006523, allocations: 0 / 0.8235 GB, free: 5.301 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002625/0.006785, allocations: 63.67 kB / 0.8236 GB, free: 5.238 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.0005527/0.007338, allocations: 459.6 kB / 0.824 GB, free: 4.867 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 6.483e-05/0.007403, allocations: 12.31 kB / 0.824 GB, free: 4.852 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.007404, allocations: 0.875 kB / 0.824 GB, free: 4.852 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.292e-06/0.007405, allocations: 0 / 0.824 GB, free: 4.852 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002564/0.007662, allocations: 0.7111 MB / 0.8247 GB, free: 4.137 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001605/0.007822, allocations: 209.7 kB / 0.8249 GB, free: 3.902 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.67e-05/0.007849, allocations: 59.34 kB / 0.825 GB, free: 3.824 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.868e-05/0.007877, allocations: 8.875 kB / 0.825 GB, free: 3.816 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.707e-05/0.007935, allocations: 83.22 kB / 0.825 GB, free: 3.734 MB / 0.7761 GB Notification: Performance of SimCode: time 5.61e-07/0.007935, allocations: 0 / 0.825 GB, free: 3.734 MB / 0.7761 GB Notification: Performance of Templates: time 0.003203/0.01114, allocations: 1.815 MB / 0.8268 GB, free: 1.953 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: 4.946430129930377]