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.001266/0.001266, allocations: 80.39 kB / 21.47 MB, free: 3.031 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.001509/0.001509, allocations: 167.8 kB / 24.87 MB, free: 9.281 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.9084/0.9084, allocations: 177.1 MB / 205.3 MB, free: 5.066 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.819/1.819, allocations: 359 MB / 0.6063 GB, free: 10.88 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.443e-06/1.443e-06, allocations: 0 / 0.7883 GB, free: 12.25 MB / 0.7449 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.153e-05/1.298e-05, allocations: 8.422 kB / 0.7883 GB, free: 12.25 MB / 0.7449 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.001077/0.00109, allocations: 0.5546 MB / 0.7888 GB, free: 11.71 MB / 0.7449 GB Notification: Performance of NFInst.instExpressions: time 0.001014/0.002104, allocations: 1.237 MB / 0.79 GB, free: 10.46 MB / 0.7449 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.129e-05/0.002125, allocations: 0 / 0.79 GB, free: 10.46 MB / 0.7449 GB Notification: Performance of NFTyping.typeComponents: time 8.348e-05/0.002208, allocations: 5.5 kB / 0.79 GB, free: 10.46 MB / 0.7449 GB Notification: Performance of NFTyping.typeBindings: time 4.258e-05/0.002251, allocations: 0 / 0.79 GB, free: 10.46 MB / 0.7449 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003871/0.002638, allocations: 190.4 kB / 0.7902 GB, free: 10.28 MB / 0.7449 GB Notification: Performance of NFFlatten.flatten: time 5.255e-05/0.002691, allocations: 19.92 kB / 0.7902 GB, free: 10.26 MB / 0.7449 GB Notification: Performance of NFFlatten.resolveConnections: time 2.698e-05/0.002718, allocations: 3.984 kB / 0.7903 GB, free: 10.25 MB / 0.7449 GB Notification: Performance of NFEvalConstants.evaluate: time 3.034e-05/0.002748, allocations: 7.984 kB / 0.7903 GB, free: 10.25 MB / 0.7449 GB Notification: Performance of NFSimplifyModel.simplify: time 3.235e-05/0.00278, allocations: 8 kB / 0.7903 GB, free: 10.24 MB / 0.7449 GB Notification: Performance of NFPackage.collectConstants: time 1.033e-05/0.002791, allocations: 0 / 0.7903 GB, free: 10.24 MB / 0.7449 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002409/0.003031, allocations: 219.5 kB / 0.7905 GB, free: 10.02 MB / 0.7449 GB Notification: Performance of NFScalarize.scalarize: time 3.072e-05/0.003062, allocations: 4 kB / 0.7905 GB, free: 10.02 MB / 0.7449 GB Notification: Performance of NFVerifyModel.verify: time 1.528e-05/0.003077, allocations: 5.047 kB / 0.7905 GB, free: 10.02 MB / 0.7449 GB Notification: Performance of NFConvertDAE.convert: time 0.0002158/0.003293, allocations: 215.4 kB / 0.7907 GB, free: 9.805 MB / 0.7449 GB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.003295, allocations: 3.984 kB / 0.7907 GB, free: 9.801 MB / 0.7449 GB Notification: Performance of FrontEnd: time 5.21e-07/0.003296, allocations: 0.5938 kB / 0.7907 GB, free: 9.801 MB / 0.7449 GB Notification: Performance of Transformations before backend: time 3.206e-06/0.003299, allocations: 0 / 0.7907 GB, free: 9.801 MB / 0.7449 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.0002373/0.003536, allocations: 405 kB / 0.7911 GB, free: 9.371 MB / 0.7449 GB Notification: Performance of prepare preOptimizeDAE: time 2.674e-05/0.003563, allocations: 8.031 kB / 0.7911 GB, free: 9.363 MB / 0.7449 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001202/0.003683, allocations: 128.5 kB / 0.7912 GB, free: 9.238 MB / 0.7449 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.947e-05/0.003773, allocations: 229.4 kB / 0.7914 GB, free: 8.988 MB / 0.7449 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.923e-05/0.003822, allocations: 250.7 kB / 0.7917 GB, free: 8.742 MB / 0.7449 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.755e-05/0.00387, allocations: 238.8 kB / 0.7919 GB, free: 8.508 MB / 0.7449 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.686e-05/0.003917, allocations: 149.5 kB / 0.792 GB, free: 8.355 MB / 0.7449 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.894e-05/0.003945, allocations: 124.9 kB / 0.7922 GB, free: 8.234 MB / 0.7449 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.765e-05/0.003993, allocations: 242.5 kB / 0.7924 GB, free: 7.996 MB / 0.7449 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.395e-05/0.004037, allocations: 238.4 kB / 0.7926 GB, free: 7.762 MB / 0.7449 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.324e-05/0.00408, allocations: 242.4 kB / 0.7928 GB, free: 7.523 MB / 0.7449 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001884/0.004269, allocations: 0.553 MB / 0.7934 GB, free: 6.945 MB / 0.7449 GB Notification: Performance of preOpt comSubExp (simulation): time 6.969e-05/0.004338, allocations: 275 kB / 0.7936 GB, free: 6.664 MB / 0.7449 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.603e-05/0.004364, allocations: 126.9 kB / 0.7938 GB, free: 6.535 MB / 0.7449 GB Notification: Performance of preOpt evalFunc (simulation): time 2.187e-05/0.004386, allocations: 119.2 kB / 0.7939 GB, free: 6.418 MB / 0.7449 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.458e-05/0.004421, allocations: 152.6 kB / 0.794 GB, free: 6.258 MB / 0.7449 GB Notification: Performance of pre-optimization done (n=0): time 6.91e-07/0.004422, allocations: 6.156 kB / 0.794 GB, free: 6.254 MB / 0.7449 GB Notification: Performance of matching and sorting (n=0): time 4.61e-05/0.004468, allocations: 29.64 kB / 0.7941 GB, free: 6.219 MB / 0.7449 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.6e-05/0.004514, allocations: 170.6 kB / 0.7942 GB, free: 6.039 MB / 0.7449 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.386e-05/0.004588, allocations: 169.8 kB / 0.7944 GB, free: 5.855 MB / 0.7449 GB Notification: Performance of collectPreVariables (initialization): time 9.478e-06/0.004597, allocations: 25.7 kB / 0.7944 GB, free: 5.824 MB / 0.7449 GB Notification: Performance of collectInitialEqns (initialization): time 3.384e-05/0.004631, allocations: 135.3 kB / 0.7945 GB, free: 5.688 MB / 0.7449 GB Notification: Performance of collectInitialBindings (initialization): time 1.132e-06/0.004632, allocations: 0 / 0.7945 GB, free: 5.688 MB / 0.7449 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.923e-05/0.004661, allocations: 32.08 kB / 0.7946 GB, free: 5.648 MB / 0.7449 GB Notification: Performance of setup shared object (initialization): time 9.158e-05/0.004753, allocations: 492.1 kB / 0.795 GB, free: 5.156 MB / 0.7449 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.355e-05/0.004766, allocations: 4.5 kB / 0.795 GB, free: 5.152 MB / 0.7449 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.327e-05/0.00479, allocations: 53 kB / 0.7951 GB, free: 5.09 MB / 0.7449 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.708e-05/0.004817, allocations: 19.67 kB / 0.7951 GB, free: 5.066 MB / 0.7449 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.004818, allocations: 0 / 0.7951 GB, free: 5.066 MB / 0.7449 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.708e-05/0.004895, allocations: 50.23 kB / 0.7952 GB, free: 5.012 MB / 0.7449 GB Notification: Performance of prepare postOptimizeDAE: time 1.029e-05/0.004905, allocations: 7.062 kB / 0.7952 GB, free: 5.008 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.00491, allocations: 0 / 0.7952 GB, free: 5.008 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.076e-06/0.004918, allocations: 4.5 kB / 0.7952 GB, free: 5.004 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.82e-07/0.004919, allocations: 0 / 0.7952 GB, free: 5.004 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.058e-06/0.004923, allocations: 4.594 kB / 0.7952 GB, free: 5 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.086e-05/0.004964, allocations: 7.891 kB / 0.7952 GB, free: 4.992 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.044e-05/0.004974, allocations: 4.625 kB / 0.7952 GB, free: 4.988 MB / 0.7449 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.24e-05/0.005047, allocations: 277.1 kB / 0.7955 GB, free: 4.707 MB / 0.7449 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.114e-05/0.005088, allocations: 148.9 kB / 0.7956 GB, free: 4.555 MB / 0.7449 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.759e-05/0.005126, allocations: 156 kB / 0.7957 GB, free: 4.395 MB / 0.7449 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.125e-05/0.005177, allocations: 265.2 kB / 0.796 GB, free: 4.129 MB / 0.7449 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.044e-05/0.005227, allocations: 272 kB / 0.7963 GB, free: 3.855 MB / 0.7449 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.968e-05/0.005277, allocations: 268 kB / 0.7965 GB, free: 3.586 MB / 0.7449 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001436/0.005421, allocations: 485.3 kB / 0.797 GB, free: 3.078 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.014e-05/0.005451, allocations: 148.8 kB / 0.7971 GB, free: 2.926 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.693e-05/0.005478, allocations: 145.6 kB / 0.7973 GB, free: 2.777 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.915e-05/0.005527, allocations: 276 kB / 0.7975 GB, free: 2.5 MB / 0.7449 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.227e-05/0.005579, allocations: 273 kB / 0.7978 GB, free: 2.227 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.805e-05/0.005627, allocations: 272.1 kB / 0.798 GB, free: 1.953 MB / 0.7449 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.618e-05/0.005673, allocations: 270 kB / 0.7983 GB, free: 1.684 MB / 0.7449 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001627/0.005836, allocations: 447.9 kB / 0.7987 GB, free: 1.219 MB / 0.7449 GB Notification: Performance of postOpt removeConstants (simulation): time 3.153e-05/0.005868, allocations: 149.1 kB / 0.7989 GB, free: 1.066 MB / 0.7449 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.272e-05/0.00592, allocations: 272 kB / 0.7991 GB, free: 0.793 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.65e-05/0.005967, allocations: 144.9 kB / 0.7993 GB, free: 0.6445 MB / 0.7449 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.146e-05/0.006018, allocations: 272.7 kB / 0.7995 GB, free: 380 kB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.902e-05/0.006047, allocations: 152.8 kB / 0.7997 GB, free: 220 kB / 0.7449 GB Notification: Performance of sorting global known variables: time 2.971e-05/0.006077, allocations: 129.7 kB / 0.7998 GB, free: 92 kB / 0.7449 GB Notification: Performance of sort global known variables: time 6e-08/0.006077, allocations: 3.938 kB / 0.7998 GB, free: 88 kB / 0.7449 GB Notification: Performance of remove unused functions: time 0.0001969/0.006274, allocations: 55.8 kB / 0.7999 GB, free: 32 kB / 0.7449 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.0005563/0.00683, allocations: 461.9 kB / 0.8003 GB, free: 15.66 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 5.615e-05/0.006886, allocations: 15.69 kB / 0.8003 GB, free: 15.64 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.006888, allocations: 3.719 kB / 0.8003 GB, free: 15.64 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 1.062e-06/0.006889, allocations: 0 / 0.8003 GB, free: 15.64 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002573/0.007146, allocations: 0.7071 MB / 0.801 GB, free: 14.93 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001549/0.007301, allocations: 217.6 kB / 0.8012 GB, free: 14.68 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.326e-05/0.007324, allocations: 51.36 kB / 0.8013 GB, free: 14.61 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 3.11e-05/0.007355, allocations: 11.98 kB / 0.8013 GB, free: 14.6 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.817e-05/0.007403, allocations: 78.19 kB / 0.8013 GB, free: 14.52 MB / 0.7605 GB Notification: Performance of SimCode: time 5.11e-07/0.007404, allocations: 0 / 0.8013 GB, free: 14.52 MB / 0.7605 GB Notification: Performance of Templates: time 0.002812/0.01022, allocations: 1.823 MB / 0.8031 GB, free: 12.73 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.770675409119576]