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.001448/0.001448, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.00157/0.00157, allocations: 169 kB / 24.28 MB, free: 280 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.9509/0.9509, allocations: 177.1 MB / 204.6 MB, free: 5.656 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.765/1.765, allocations: 359 MB / 0.6055 GB, free: 11.04 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.864e-06/1.864e-06, allocations: 0 / 0.7871 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.655e-05/1.842e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.001105/0.001123, allocations: 0.5548 MB / 0.7876 GB, free: 12.29 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001061/0.002184, allocations: 1.243 MB / 0.7888 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.931e-05/0.002214, allocations: 0 / 0.7888 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001019/0.002316, allocations: 12.64 kB / 0.7888 GB, free: 11.03 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.848e-05/0.002364, allocations: 0 / 0.7888 GB, free: 11.03 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004356/0.0028, allocations: 188.7 kB / 0.789 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.235e-05/0.002862, allocations: 19.17 kB / 0.789 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.586e-05/0.002898, allocations: 3.938 kB / 0.789 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.174e-05/0.00293, allocations: 4 kB / 0.7891 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.909e-05/0.002969, allocations: 15.98 kB / 0.7891 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.172e-05/0.00298, allocations: 0 / 0.7891 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002625/0.003243, allocations: 215.5 kB / 0.7893 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.772e-05/0.003281, allocations: 4 kB / 0.7893 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.045e-05/0.003301, allocations: 0 / 0.7893 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002389/0.00354, allocations: 219.4 kB / 0.7895 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.003544, allocations: 5.031 kB / 0.7895 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.62e-07/0.003544, allocations: 0 / 0.7895 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.917e-06/0.003548, allocations: 0 / 0.7895 GB, free: 10.38 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.0003294/0.003878, allocations: 400.4 kB / 0.7899 GB, free: 9.949 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.227e-05/0.00391, allocations: 9.312 kB / 0.7899 GB, free: 9.941 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.876e-05/0.003969, allocations: 124.5 kB / 0.79 GB, free: 9.82 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001213/0.00409, allocations: 235.8 kB / 0.7902 GB, free: 9.562 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.42e-05/0.004144, allocations: 238.8 kB / 0.7905 GB, free: 9.328 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.499e-05/0.004199, allocations: 248.3 kB / 0.7907 GB, free: 9.086 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.731e-05/0.004256, allocations: 149.4 kB / 0.7908 GB, free: 8.934 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.425e-05/0.004281, allocations: 119.4 kB / 0.7909 GB, free: 8.816 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.687e-05/0.004328, allocations: 242.5 kB / 0.7912 GB, free: 8.578 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.776e-05/0.004375, allocations: 247.9 kB / 0.7914 GB, free: 8.336 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.565e-05/0.004421, allocations: 238.4 kB / 0.7916 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002048/0.004626, allocations: 0.5681 MB / 0.7922 GB, free: 7.5 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.345e-05/0.004699, allocations: 273.4 kB / 0.7925 GB, free: 7.219 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.033e-05/0.00473, allocations: 128.5 kB / 0.7926 GB, free: 7.09 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.337e-05/0.004753, allocations: 119.2 kB / 0.7927 GB, free: 6.973 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.2e-05/0.004795, allocations: 152.6 kB / 0.7928 GB, free: 6.812 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 9.01e-07/0.004796, allocations: 0 / 0.7928 GB, free: 6.812 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 5.948e-05/0.004855, allocations: 31.83 kB / 0.7929 GB, free: 6.777 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.788e-05/0.004903, allocations: 174.5 kB / 0.793 GB, free: 6.594 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.465e-05/0.004998, allocations: 161.9 kB / 0.7932 GB, free: 6.418 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.193e-05/0.00501, allocations: 33.64 kB / 0.7932 GB, free: 6.379 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.605e-05/0.005046, allocations: 126.9 kB / 0.7933 GB, free: 6.25 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.854e-06/0.005048, allocations: 0 / 0.7933 GB, free: 6.25 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.022e-05/0.005078, allocations: 27.91 kB / 0.7934 GB, free: 6.215 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.529e-05/0.005173, allocations: 0.489 MB / 0.7938 GB, free: 5.715 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.769e-05/0.005191, allocations: 4 kB / 0.7939 GB, free: 5.711 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.961e-05/0.00522, allocations: 55.91 kB / 0.7939 GB, free: 5.645 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.542e-05/0.005256, allocations: 21.23 kB / 0.7939 GB, free: 5.621 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.005258, allocations: 0 / 0.7939 GB, free: 5.621 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.677e-05/0.005354, allocations: 41.7 kB / 0.794 GB, free: 5.574 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.032e-05/0.005365, allocations: 4.625 kB / 0.794 GB, free: 5.57 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.005369, allocations: 0.9062 kB / 0.794 GB, free: 5.57 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.005382, allocations: 3.984 kB / 0.794 GB, free: 5.566 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.903e-06/0.005384, allocations: 7.875 kB / 0.794 GB, free: 5.559 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.005388, allocations: 0.6875 kB / 0.794 GB, free: 5.559 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.356e-05/0.005442, allocations: 15.88 kB / 0.794 GB, free: 5.543 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.141e-05/0.005453, allocations: 0.5938 kB / 0.794 GB, free: 5.543 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 7.843e-05/0.005532, allocations: 281.1 kB / 0.7943 GB, free: 5.258 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.922e-05/0.005571, allocations: 145.1 kB / 0.7944 GB, free: 5.109 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.271e-05/0.005614, allocations: 164 kB / 0.7946 GB, free: 4.941 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.965e-05/0.005663, allocations: 265.2 kB / 0.7948 GB, free: 4.676 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.954e-05/0.005713, allocations: 268 kB / 0.7951 GB, free: 4.406 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.254e-05/0.005765, allocations: 276 kB / 0.7953 GB, free: 4.129 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001399/0.005905, allocations: 496.7 kB / 0.7958 GB, free: 3.602 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.3e-05/0.005938, allocations: 148.8 kB / 0.7959 GB, free: 3.449 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.788e-05/0.005966, allocations: 145.6 kB / 0.7961 GB, free: 3.301 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.175e-05/0.006018, allocations: 276.1 kB / 0.7964 GB, free: 3.023 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.639e-05/0.006074, allocations: 276.9 kB / 0.7966 GB, free: 2.746 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.058e-05/0.006165, allocations: 268.1 kB / 0.7969 GB, free: 2.477 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.687e-05/0.006212, allocations: 274.1 kB / 0.7971 GB, free: 2.203 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001048/0.006317, allocations: 444 kB / 0.7976 GB, free: 1.742 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.406e-05/0.006351, allocations: 152.8 kB / 0.7977 GB, free: 1.586 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.394e-05/0.006405, allocations: 268.1 kB / 0.798 GB, free: 1.316 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.782e-05/0.006452, allocations: 148.8 kB / 0.7981 GB, free: 1.164 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.405e-05/0.006506, allocations: 268.6 kB / 0.7984 GB, free: 0.8945 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.68e-05/0.006533, allocations: 148.9 kB / 0.7985 GB, free: 0.7422 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.643e-05/0.00657, allocations: 137.6 kB / 0.7986 GB, free: 0.6094 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.00657, allocations: 0 / 0.7986 GB, free: 0.6094 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001963/0.006766, allocations: 51.73 kB / 0.7987 GB, free: 0.5586 MB / 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.0006142/0.00738, allocations: 465.4 kB / 0.7991 GB, free: 188 kB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.422e-05/0.007454, allocations: 15.69 kB / 0.7991 GB, free: 168 kB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.007456, allocations: 7.656 kB / 0.7991 GB, free: 164 kB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.142e-06/0.007457, allocations: 0 / 0.7991 GB, free: 164 kB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000279/0.007736, allocations: 0.7081 MB / 0.7998 GB, free: 15.45 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002083/0.007944, allocations: 221.5 kB / 0.8 GB, free: 15.2 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.606e-05/0.00797, allocations: 55.3 kB / 0.8001 GB, free: 15.13 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 3.548e-05/0.008006, allocations: 11.98 kB / 0.8001 GB, free: 15.12 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.182e-05/0.008038, allocations: 12.5 kB / 0.8001 GB, free: 15.11 MB / 0.7605 GB Notification: Performance of SimCode: time 6.71e-07/0.008038, allocations: 0 / 0.8001 GB, free: 15.11 MB / 0.7605 GB Notification: Performance of Templates: time 0.002957/0.011, allocations: 1.599 MB / 0.8017 GB, free: 13.53 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.899314817041159]