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.001373/0.001373, allocations: 81.86 kB / 20.68 MB, free: 3.812 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.001622/0.001622, allocations: 185 kB / 24.09 MB, free: 412 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.9422/0.9422, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.779/1.779, allocations: 359 MB / 0.6055 GB, free: 10.89 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.553e-06/1.553e-06, allocations: 0 / 0.7875 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.305e-05/2.461e-05, allocations: 6.25 kB / 0.7875 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.001253/0.001278, allocations: 0.5547 MB / 0.7881 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001125/0.002403, allocations: 1.24 MB / 0.7893 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.479e-05/0.002428, allocations: 0.5625 kB / 0.7893 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 9.085e-05/0.002518, allocations: 4.516 kB / 0.7893 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.287e-05/0.002561, allocations: 0.7812 kB / 0.7893 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000442/0.003003, allocations: 187.9 kB / 0.7895 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.357e-05/0.003067, allocations: 17.09 kB / 0.7895 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.219e-05/0.003099, allocations: 3.984 kB / 0.7895 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.757e-05/0.003137, allocations: 11.98 kB / 0.7895 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.727e-05/0.003174, allocations: 10.7 kB / 0.7895 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.232e-05/0.003186, allocations: 0 / 0.7895 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002729/0.003459, allocations: 215.5 kB / 0.7897 GB, free: 9.992 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.45e-05/0.003494, allocations: 7.984 kB / 0.7897 GB, free: 9.984 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.693e-05/0.00351, allocations: 4 kB / 0.7897 GB, free: 9.98 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002246/0.003735, allocations: 211.4 kB / 0.7899 GB, free: 9.773 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.003737, allocations: 7.938 kB / 0.7899 GB, free: 9.766 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.12e-07/0.003738, allocations: 1.5 kB / 0.7899 GB, free: 9.766 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.156e-06/0.003741, allocations: 0 / 0.7899 GB, free: 9.766 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.0002669/0.004008, allocations: 399.8 kB / 0.7903 GB, free: 9.34 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.004044, allocations: 12.03 kB / 0.7903 GB, free: 9.328 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.008e-05/0.004094, allocations: 121.1 kB / 0.7905 GB, free: 9.211 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.592e-05/0.00419, allocations: 231.7 kB / 0.7907 GB, free: 8.957 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002386/0.004428, allocations: 243.6 kB / 0.7909 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.054e-05/0.004479, allocations: 238.8 kB / 0.7911 GB, free: 8.484 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.466e-05/0.004534, allocations: 158.3 kB / 0.7913 GB, free: 8.324 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.619e-05/0.00456, allocations: 123.4 kB / 0.7914 GB, free: 8.203 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.652e-05/0.004606, allocations: 244.3 kB / 0.7916 GB, free: 7.965 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.531e-05/0.004652, allocations: 238.4 kB / 0.7919 GB, free: 7.73 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.928e-05/0.004701, allocations: 250.2 kB / 0.7921 GB, free: 7.484 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001948/0.004896, allocations: 0.5491 MB / 0.7926 GB, free: 6.91 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.053e-05/0.004976, allocations: 261.4 kB / 0.7929 GB, free: 6.641 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.13e-05/0.005007, allocations: 132.4 kB / 0.793 GB, free: 6.508 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.563e-05/0.005033, allocations: 119.2 kB / 0.7931 GB, free: 6.391 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.816e-05/0.005071, allocations: 160.6 kB / 0.7933 GB, free: 6.223 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 1.483e-06/0.005073, allocations: 0 / 0.7933 GB, free: 6.223 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 5.215e-05/0.005125, allocations: 30.73 kB / 0.7933 GB, free: 6.188 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.509e-05/0.00517, allocations: 174.6 kB / 0.7935 GB, free: 6.004 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.535e-05/0.005255, allocations: 161.9 kB / 0.7936 GB, free: 5.828 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.107e-05/0.005266, allocations: 30.31 kB / 0.7937 GB, free: 5.793 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.811e-05/0.005305, allocations: 130.9 kB / 0.7938 GB, free: 5.66 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.332e-06/0.005306, allocations: 2.562 kB / 0.7938 GB, free: 5.66 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.041e-05/0.005336, allocations: 27.36 kB / 0.7938 GB, free: 5.625 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.934e-05/0.005436, allocations: 492.1 kB / 0.7943 GB, free: 5.133 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.863e-05/0.005454, allocations: 7.984 kB / 0.7943 GB, free: 5.125 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.972e-05/0.005484, allocations: 55.41 kB / 0.7943 GB, free: 5.059 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.142e-05/0.005515, allocations: 12.22 kB / 0.7944 GB, free: 5.043 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.005517, allocations: 0.7188 kB / 0.7944 GB, free: 5.043 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.394e-05/0.005601, allocations: 45.62 kB / 0.7944 GB, free: 4.992 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.005614, allocations: 8.531 kB / 0.7944 GB, free: 4.984 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.00562, allocations: 1.812 kB / 0.7944 GB, free: 4.984 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.786e-06/0.005629, allocations: 0 / 0.7944 GB, free: 4.984 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.166e-06/0.005632, allocations: 0 / 0.7944 GB, free: 4.984 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.775e-06/0.005635, allocations: 3.938 kB / 0.7944 GB, free: 4.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.357e-05/0.005689, allocations: 15.88 kB / 0.7944 GB, free: 4.965 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.176e-05/0.0057, allocations: 8.562 kB / 0.7944 GB, free: 4.957 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.179e-05/0.005782, allocations: 280.5 kB / 0.7947 GB, free: 4.672 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.326e-05/0.005825, allocations: 149.5 kB / 0.7948 GB, free: 4.52 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.984e-05/0.005875, allocations: 152 kB / 0.795 GB, free: 4.363 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.174e-05/0.005937, allocations: 265.1 kB / 0.7952 GB, free: 4.098 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-05/0.005994, allocations: 272 kB / 0.7955 GB, free: 3.824 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.379e-05/0.006047, allocations: 276 kB / 0.7958 GB, free: 3.547 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001486/0.006196, allocations: 477.8 kB / 0.7962 GB, free: 3.047 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.494e-05/0.006231, allocations: 152.9 kB / 0.7964 GB, free: 2.891 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.268e-05/0.006264, allocations: 145 kB / 0.7965 GB, free: 2.742 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.237e-05/0.006326, allocations: 280 kB / 0.7968 GB, free: 2.461 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.277e-05/0.006389, allocations: 273.2 kB / 0.797 GB, free: 2.188 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.622e-05/0.006445, allocations: 268 kB / 0.7973 GB, free: 1.918 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.946e-05/0.006505, allocations: 264.7 kB / 0.7975 GB, free: 1.652 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001343/0.006639, allocations: 459.9 kB / 0.798 GB, free: 1.176 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003134/0.006952, allocations: 145.9 kB / 0.7981 GB, free: 1.027 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.265e-05/0.007015, allocations: 268 kB / 0.7984 GB, free: 0.7578 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.418e-05/0.007069, allocations: 148.9 kB / 0.7985 GB, free: 0.6055 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.195e-05/0.007131, allocations: 272.8 kB / 0.7988 GB, free: 340 kB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.072e-05/0.007162, allocations: 144.9 kB / 0.7989 GB, free: 188 kB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.084e-05/0.007202, allocations: 124.8 kB / 0.799 GB, free: 64 kB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.007203, allocations: 0 / 0.799 GB, free: 64 kB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002297/0.007432, allocations: 55.8 kB / 0.7991 GB, free: 8 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.0006339/0.008066, allocations: 475.9 kB / 0.7995 GB, free: 15.62 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 6.557e-05/0.008132, allocations: 11.69 kB / 0.7996 GB, free: 15.61 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.008134, allocations: 0 / 0.7996 GB, free: 15.61 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 1.784e-06/0.008135, allocations: 5.031 kB / 0.7996 GB, free: 15.6 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000259/0.008394, allocations: 0.7062 MB / 0.8002 GB, free: 14.89 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000181/0.008575, allocations: 214.3 kB / 0.8005 GB, free: 14.65 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.809e-05/0.008603, allocations: 59.34 kB / 0.8005 GB, free: 14.57 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 3.518e-05/0.008639, allocations: 4.562 kB / 0.8005 GB, free: 14.57 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.556e-05/0.008694, allocations: 78.97 kB / 0.8006 GB, free: 14.49 MB / 0.7605 GB Notification: Performance of SimCode: time 6.21e-07/0.008695, allocations: 0 / 0.8006 GB, free: 14.49 MB / 0.7605 GB Notification: Performance of Templates: time 0.003244/0.01194, allocations: 1.826 MB / 0.8024 GB, free: 12.69 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.780812847893685]