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.0009484/0.0009484, 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.0009491/0.0009491, allocations: 165.3 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.9839/0.9839, allocations: 177.1 MB / 204.2 MB, free: 5.199 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.825/1.825, allocations: 359 MB / 0.6052 GB, free: 10.97 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.723e-06/1.723e-06, allocations: 0 / 0.7871 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.53e-05/2.702e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.001857/0.001884, allocations: 0.5595 MB / 0.7876 GB, free: 11.92 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001592/0.003476, allocations: 1.252 MB / 0.7888 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.853e-05/0.003504, allocations: 1.406 kB / 0.7888 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001157/0.00362, allocations: 0 / 0.7888 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.177e-05/0.003682, allocations: 4 kB / 0.7888 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006585/0.00434, allocations: 184.3 kB / 0.789 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 7.171e-05/0.004412, allocations: 23.91 kB / 0.789 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.02e-05/0.004452, allocations: 9.141 kB / 0.7891 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 4.012e-05/0.004492, allocations: 7.984 kB / 0.7891 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.321e-05/0.004535, allocations: 4 kB / 0.7891 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.696e-05/0.004552, allocations: 5.25 kB / 0.7891 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004296/0.004982, allocations: 219.5 kB / 0.7893 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.424e-05/0.005026, allocations: 0 / 0.7893 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.77e-05/0.005054, allocations: 5.5 kB / 0.7893 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000352/0.005406, allocations: 219.4 kB / 0.7895 GB, free: 10 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.287e-06/0.005409, allocations: 0 / 0.7895 GB, free: 10 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.142e-06/0.00541, allocations: 0 / 0.7895 GB, free: 10 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.005415, allocations: 1.094 kB / 0.7895 GB, free: 10 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.0003772/0.005792, allocations: 403.8 kB / 0.7899 GB, free: 9.57 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.005834, allocations: 8.031 kB / 0.7899 GB, free: 9.562 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.999e-05/0.005904, allocations: 121.5 kB / 0.79 GB, free: 9.445 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001397/0.006044, allocations: 239.8 kB / 0.7902 GB, free: 9.184 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.915e-05/0.006113, allocations: 242.7 kB / 0.7905 GB, free: 8.945 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.219e-05/0.006195, allocations: 244.3 kB / 0.7907 GB, free: 8.707 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.566e-05/0.006281, allocations: 145.5 kB / 0.7908 GB, free: 8.559 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.255e-05/0.006314, allocations: 119.4 kB / 0.791 GB, free: 8.441 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.46e-05/0.006378, allocations: 242.5 kB / 0.7912 GB, free: 8.203 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.974e-05/0.006478, allocations: 243.7 kB / 0.7914 GB, free: 7.965 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.948e-05/0.006547, allocations: 242.4 kB / 0.7916 GB, free: 7.727 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004391/0.006986, allocations: 0.5719 MB / 0.7922 GB, free: 7.121 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001343/0.007121, allocations: 272.3 kB / 0.7925 GB, free: 6.844 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.83e-05/0.007179, allocations: 126.9 kB / 0.7926 GB, free: 6.715 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.074e-05/0.00722, allocations: 119.2 kB / 0.7927 GB, free: 6.598 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.271e-05/0.007293, allocations: 152.6 kB / 0.7928 GB, free: 6.438 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 1.202e-06/0.007294, allocations: 3.938 kB / 0.7928 GB, free: 6.434 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 0.0001001/0.007394, allocations: 33.64 kB / 0.7929 GB, free: 6.395 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.608e-05/0.00747, allocations: 174.5 kB / 0.793 GB, free: 6.211 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001727/0.007643, allocations: 161.9 kB / 0.7932 GB, free: 6.035 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.922e-05/0.007662, allocations: 30.42 kB / 0.7932 GB, free: 6 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.858e-05/0.00772, allocations: 130.9 kB / 0.7934 GB, free: 5.867 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.775e-06/0.007723, allocations: 1.656 kB / 0.7934 GB, free: 5.867 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.822e-05/0.007781, allocations: 31.36 kB / 0.7934 GB, free: 5.828 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001584/0.00794, allocations: 492.1 kB / 0.7939 GB, free: 5.336 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.702e-05/0.007977, allocations: 4 kB / 0.7939 GB, free: 5.332 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.702e-05/0.008024, allocations: 57.16 kB / 0.7939 GB, free: 5.266 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.351e-05/0.008077, allocations: 19.67 kB / 0.7939 GB, free: 5.242 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.00808, allocations: 0 / 0.7939 GB, free: 5.242 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002915/0.008371, allocations: 42.83 kB / 0.794 GB, free: 5.195 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.00839, allocations: 11.98 kB / 0.794 GB, free: 5.184 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.008397, allocations: 0 / 0.794 GB, free: 5.184 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.893e-05/0.008416, allocations: 1.625 kB / 0.794 GB, free: 5.184 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.951e-06/0.008422, allocations: 3.938 kB / 0.794 GB, free: 5.18 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.008428, allocations: 0 / 0.794 GB, free: 5.18 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.959e-05/0.008507, allocations: 11.89 kB / 0.794 GB, free: 5.168 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.58e-05/0.008523, allocations: 0 / 0.794 GB, free: 5.168 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 0.0001079/0.008631, allocations: 281.5 kB / 0.7943 GB, free: 4.883 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.948e-05/0.0087, allocations: 144.9 kB / 0.7944 GB, free: 4.734 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.356e-05/0.008764, allocations: 160 kB / 0.7946 GB, free: 4.57 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.603e-05/0.00883, allocations: 264.1 kB / 0.7948 GB, free: 4.305 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.387e-05/0.008904, allocations: 272.8 kB / 0.7951 GB, free: 4.031 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.786e-05/0.008972, allocations: 268.1 kB / 0.7953 GB, free: 3.762 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002209/0.009193, allocations: 0.4925 MB / 0.7958 GB, free: 3.227 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.908e-05/0.009232, allocations: 145.6 kB / 0.7959 GB, free: 3.078 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.81e-05/0.00927, allocations: 145 kB / 0.7961 GB, free: 2.93 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.362e-05/0.009343, allocations: 276.6 kB / 0.7964 GB, free: 2.652 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.036e-05/0.009424, allocations: 280.1 kB / 0.7966 GB, free: 2.371 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.099e-05/0.009495, allocations: 269.3 kB / 0.7969 GB, free: 2.102 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.158e-05/0.009566, allocations: 268.1 kB / 0.7971 GB, free: 1.832 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001531/0.009719, allocations: 443.9 kB / 0.7976 GB, free: 1.371 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003326/0.01005, allocations: 153.6 kB / 0.7977 GB, free: 1.215 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.633e-05/0.01014, allocations: 277.3 kB / 0.798 GB, free: 0.9375 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.224e-05/0.01022, allocations: 148.9 kB / 0.7981 GB, free: 0.7852 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.525e-05/0.0103, allocations: 268 kB / 0.7984 GB, free: 0.5156 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.478e-05/0.01034, allocations: 152.8 kB / 0.7985 GB, free: 368 kB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.587e-05/0.0104, allocations: 124.3 kB / 0.7986 GB, free: 244 kB / 0.7448 GB Notification: Performance of sort global known variables: time 1e-07/0.0104, allocations: 4 kB / 0.7986 GB, free: 240 kB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003693/0.01077, allocations: 51.8 kB / 0.7987 GB, free: 188 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.0009458/0.01171, allocations: 460.8 kB / 0.7991 GB, free: 15.81 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0001018/0.01181, allocations: 19.12 kB / 0.7991 GB, free: 15.79 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.01182, allocations: 0 / 0.7991 GB, free: 15.79 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 1.603e-06/0.01182, allocations: 0 / 0.7991 GB, free: 15.79 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004047/0.01222, allocations: 0.7071 MB / 0.7998 GB, free: 15.08 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002769/0.0125, allocations: 221.5 kB / 0.8 GB, free: 14.83 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4e-05/0.01254, allocations: 51.36 kB / 0.8001 GB, free: 14.76 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 5.015e-05/0.01259, allocations: 11.98 kB / 0.8001 GB, free: 14.75 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.094e-05/0.01263, allocations: 16.48 kB / 0.8001 GB, free: 14.73 MB / 0.7605 GB Notification: Performance of SimCode: time 9.61e-07/0.01263, allocations: 0.5938 kB / 0.8001 GB, free: 14.73 MB / 0.7605 GB Notification: Performance of Templates: time 0.004451/0.01708, allocations: 1.607 MB / 0.8017 GB, free: 13.16 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: 5.085258440114558]