Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00131/0.00131, allocations: 83.59 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.0009053/0.0009053, allocations: 161 kB / 23.82 MB, free: 0.7461 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.8818/0.8818, allocations: 177.1 MB / 204.2 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.77/1.77, allocations: 359 MB / 0.6052 GB, free: 11.03 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 3.938 kB / 0.7871 GB, free: 12.51 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.278e-05/2.459e-05, allocations: 4.703 kB / 0.7871 GB, free: 12.51 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.001186/0.001211, allocations: 0.5553 MB / 0.7876 GB, free: 11.97 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001157/0.002368, allocations: 1.251 MB / 0.7888 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.397e-05/0.002392, allocations: 4 kB / 0.7888 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 9.495e-05/0.002487, allocations: 0.9375 kB / 0.7888 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.767e-05/0.002535, allocations: 3.938 kB / 0.7889 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004693/0.003004, allocations: 189.1 kB / 0.789 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.206e-05/0.003066, allocations: 19.97 kB / 0.7891 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.918e-05/0.003105, allocations: 0 / 0.7891 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.884e-05/0.003144, allocations: 12.91 kB / 0.7891 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.815e-05/0.003182, allocations: 7.984 kB / 0.7891 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.334e-05/0.003196, allocations: 0 / 0.7891 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002691/0.003465, allocations: 212.4 kB / 0.7893 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.839e-05/0.003503, allocations: 11.88 kB / 0.7893 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.257e-05/0.003526, allocations: 6.562 kB / 0.7893 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002757/0.003801, allocations: 215.4 kB / 0.7895 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.003804, allocations: 0 / 0.7895 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.375e-06/0.003806, allocations: 4 kB / 0.7895 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.92e-06/0.003811, allocations: 0 / 0.7895 GB, free: 10.04 MB / 0.7448 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.0003273/0.004138, allocations: 399.8 kB / 0.7899 GB, free: 9.617 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.004177, allocations: 8.031 kB / 0.7899 GB, free: 9.609 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.939e-05/0.004246, allocations: 126.1 kB / 0.79 GB, free: 9.488 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001189/0.004365, allocations: 231.8 kB / 0.7902 GB, free: 9.234 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.929e-05/0.004425, allocations: 242.8 kB / 0.7905 GB, free: 8.996 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.713e-05/0.004482, allocations: 242.7 kB / 0.7907 GB, free: 8.758 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.124e-05/0.004553, allocations: 150 kB / 0.7908 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.881e-05/0.004582, allocations: 119.4 kB / 0.791 GB, free: 8.488 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.593e-05/0.004638, allocations: 243.2 kB / 0.7912 GB, free: 8.25 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.463e-05/0.004692, allocations: 243.3 kB / 0.7914 GB, free: 8.012 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.877e-05/0.004741, allocations: 238.4 kB / 0.7916 GB, free: 7.777 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002149/0.004956, allocations: 0.572 MB / 0.7922 GB, free: 7.172 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.484e-05/0.005041, allocations: 266.2 kB / 0.7925 GB, free: 6.898 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.542e-05/0.005076, allocations: 126.9 kB / 0.7926 GB, free: 6.77 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.699e-05/0.005103, allocations: 128.3 kB / 0.7927 GB, free: 6.645 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.346e-05/0.005147, allocations: 156.6 kB / 0.7928 GB, free: 6.48 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 8.22e-07/0.005148, allocations: 0 / 0.7928 GB, free: 6.48 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 5.467e-05/0.005202, allocations: 27.08 kB / 0.7929 GB, free: 6.449 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.274e-05/0.005255, allocations: 178.5 kB / 0.793 GB, free: 6.262 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.547e-05/0.005351, allocations: 161.9 kB / 0.7932 GB, free: 6.086 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.044e-05/0.005361, allocations: 25.7 kB / 0.7932 GB, free: 6.055 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.221e-05/0.005403, allocations: 132.7 kB / 0.7933 GB, free: 5.922 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.176e-06/0.005406, allocations: 4 kB / 0.7934 GB, free: 5.918 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.072e-05/0.005437, allocations: 23.38 kB / 0.7934 GB, free: 5.887 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.005545, allocations: 492.1 kB / 0.7938 GB, free: 5.395 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.911e-05/0.005564, allocations: 7.984 kB / 0.7939 GB, free: 5.387 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.173e-05/0.005596, allocations: 60.84 kB / 0.7939 GB, free: 5.316 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.431e-05/0.00563, allocations: 19.69 kB / 0.7939 GB, free: 5.293 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.005632, allocations: 0.5312 kB / 0.7939 GB, free: 5.293 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001011/0.005734, allocations: 43.62 kB / 0.794 GB, free: 5.246 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/0.005745, allocations: 4 kB / 0.794 GB, free: 5.242 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.00575, allocations: 3.938 kB / 0.794 GB, free: 5.238 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.053e-05/0.005761, allocations: 0 / 0.794 GB, free: 5.238 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.777e-06/0.005764, allocations: 7.938 kB / 0.794 GB, free: 5.23 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.005769, allocations: 2.562 kB / 0.794 GB, free: 5.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.809e-05/0.005827, allocations: 11.88 kB / 0.794 GB, free: 5.219 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.357e-05/0.005841, allocations: 4 kB / 0.794 GB, free: 5.215 MB / 0.7448 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.111e-05/0.005922, allocations: 275.7 kB / 0.7943 GB, free: 4.934 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.518e-05/0.005967, allocations: 148.9 kB / 0.7944 GB, free: 4.781 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.899e-05/0.006006, allocations: 152 kB / 0.7946 GB, free: 4.625 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.411e-05/0.00606, allocations: 272.5 kB / 0.7948 GB, free: 4.352 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001332/0.006193, allocations: 276.2 kB / 0.7951 GB, free: 4.074 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.137e-05/0.006245, allocations: 268.7 kB / 0.7953 GB, free: 3.805 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001432/0.006388, allocations: 499.9 kB / 0.7958 GB, free: 3.273 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-05/0.006427, allocations: 149.4 kB / 0.796 GB, free: 3.121 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.157e-05/0.006458, allocations: 154.6 kB / 0.7961 GB, free: 2.965 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.247e-05/0.006511, allocations: 268.1 kB / 0.7964 GB, free: 2.695 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.801e-05/0.006569, allocations: 272.1 kB / 0.7966 GB, free: 2.422 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.152e-05/0.00662, allocations: 268.1 kB / 0.7969 GB, free: 2.152 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-05/0.006675, allocations: 272.6 kB / 0.7971 GB, free: 1.879 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001111/0.006786, allocations: 443.9 kB / 0.7976 GB, free: 1.418 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.659e-05/0.006823, allocations: 153.4 kB / 0.7977 GB, free: 1.262 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.462e-05/0.006887, allocations: 268.1 kB / 0.798 GB, free: 0.9922 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.115e-05/0.006938, allocations: 149.8 kB / 0.7981 GB, free: 0.8398 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.349e-05/0.007002, allocations: 276 kB / 0.7984 GB, free: 0.5625 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.191e-05/0.007034, allocations: 145.7 kB / 0.7985 GB, free: 424 kB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.74e-05/0.007071, allocations: 123.2 kB / 0.7986 GB, free: 300 kB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.007071, allocations: 1.125 kB / 0.7986 GB, free: 300 kB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002302/0.007301, allocations: 63.72 kB / 0.7987 GB, free: 236 kB / 0.7448 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.0006397/0.007941, allocations: 461.8 kB / 0.7991 GB, free: 15.86 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 7.233e-05/0.008013, allocations: 15.62 kB / 0.7991 GB, free: 15.84 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.008015, allocations: 1.875 kB / 0.7991 GB, free: 15.84 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 1.072e-06/0.008016, allocations: 0 / 0.7991 GB, free: 15.84 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002699/0.008286, allocations: 0.7023 MB / 0.7998 GB, free: 15.13 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002132/0.008499, allocations: 221.5 kB / 0.8 GB, free: 14.89 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.903e-05/0.008528, allocations: 56.55 kB / 0.8001 GB, free: 14.81 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 3.385e-05/0.008562, allocations: 7.984 kB / 0.8001 GB, free: 14.8 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.954e-05/0.008591, allocations: 17.53 kB / 0.8001 GB, free: 14.79 MB / 0.7605 GB Notification: Performance of SimCode: time 4.2e-07/0.008592, allocations: 0 / 0.8001 GB, free: 14.79 MB / 0.7605 GB Notification: Performance of Templates: time 0.003294/0.01189, allocations: 1.815 MB / 0.8019 GB, free: 13 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe ; mkfifo Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe >> ../files/Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.sim & ./Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.692933493759483]