Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001403/0.001403, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001475/0.001475, allocations: 161 kB / 24.16 MB, free: 332 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.9569/0.9569, allocations: 177.2 MB / 204.6 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.996/1.996, allocations: 377.9 MB / 0.624 GB, free: 8.332 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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_12_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_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 0.76 GB, free: 6.574 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.465e-05/1.617e-05, allocations: 5.266 kB / 0.76 GB, free: 6.57 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.001277/0.001294, allocations: 0.6101 MB / 0.7606 GB, free: 5.98 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001228/0.002522, allocations: 1.26 MB / 0.7619 GB, free: 4.715 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.165e-05/0.002543, allocations: 0.9688 kB / 0.7619 GB, free: 4.715 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 8.444e-05/0.002628, allocations: 3.984 kB / 0.7619 GB, free: 4.711 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 4.708e-05/0.002675, allocations: 0.6562 kB / 0.7619 GB, free: 4.711 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004399/0.003115, allocations: 177 kB / 0.762 GB, free: 4.543 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 6.175e-05/0.003177, allocations: 17.86 kB / 0.7621 GB, free: 4.527 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.211e-05/0.003209, allocations: 0.9844 kB / 0.7621 GB, free: 4.527 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 3.79e-05/0.003247, allocations: 14.05 kB / 0.7621 GB, free: 4.516 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 3.587e-05/0.003282, allocations: 4.875 kB / 0.7621 GB, free: 4.512 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.058e-05/0.003293, allocations: 0 / 0.7621 GB, free: 4.512 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003286/0.003622, allocations: 234.7 kB / 0.7623 GB, free: 4.285 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.419e-05/0.003656, allocations: 0.9844 kB / 0.7623 GB, free: 4.285 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.956e-05/0.003675, allocations: 11.48 kB / 0.7623 GB, free: 4.277 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002482/0.003924, allocations: 214.5 kB / 0.7625 GB, free: 4.07 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.904e-06/0.003926, allocations: 0 / 0.7625 GB, free: 4.07 MB / 0.7136 GB Notification: Performance of FrontEnd: time 6.32e-07/0.003926, allocations: 1.203 kB / 0.7625 GB, free: 4.07 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.146e-06/0.003929, allocations: 0 / 0.7625 GB, free: 4.07 MB / 0.7136 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.0002796/0.004209, allocations: 269.9 kB / 0.7628 GB, free: 3.785 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.828e-05/0.004237, allocations: 13.56 kB / 0.7628 GB, free: 3.773 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.842e-05/0.004276, allocations: 77.31 kB / 0.7629 GB, free: 3.699 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.199e-05/0.004368, allocations: 189 kB / 0.763 GB, free: 3.488 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.744e-05/0.004405, allocations: 150.9 kB / 0.7632 GB, free: 3.34 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.826e-05/0.004443, allocations: 156.2 kB / 0.7633 GB, free: 3.188 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.957e-05/0.004483, allocations: 101.5 kB / 0.7634 GB, free: 3.082 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/0.0045, allocations: 75.47 kB / 0.7635 GB, free: 3.008 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.467e-05/0.004534, allocations: 154.7 kB / 0.7637 GB, free: 2.855 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.736e-05/0.004572, allocations: 155.5 kB / 0.7638 GB, free: 2.703 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.295e-05/0.004605, allocations: 154.5 kB / 0.7639 GB, free: 2.551 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001505/0.004755, allocations: 362.6 kB / 0.7643 GB, free: 2.184 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.768e-05/0.004813, allocations: 165.8 kB / 0.7645 GB, free: 2.012 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.115e-05/0.004834, allocations: 84.12 kB / 0.7645 GB, free: 1.926 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.991e-05/0.004854, allocations: 79.97 kB / 0.7646 GB, free: 1.848 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.095e-05/0.004885, allocations: 105.8 kB / 0.7647 GB, free: 1.734 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 8.32e-07/0.004886, allocations: 1.781 kB / 0.7647 GB, free: 1.734 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 4.947e-05/0.004935, allocations: 33.64 kB / 0.7647 GB, free: 1.695 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.957e-05/0.004975, allocations: 130.6 kB / 0.7649 GB, free: 1.555 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.826e-05/0.005043, allocations: 118.6 kB / 0.765 GB, free: 1.426 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.267e-06/0.005052, allocations: 28.14 kB / 0.765 GB, free: 1.395 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.83e-05/0.005081, allocations: 88.14 kB / 0.7651 GB, free: 1.305 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.322e-06/0.005082, allocations: 0 / 0.7651 GB, free: 1.305 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.628e-05/0.005108, allocations: 17.7 kB / 0.7651 GB, free: 1.281 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.87e-05/0.005177, allocations: 318.9 kB / 0.7654 GB, free: 0.9609 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.77e-05/0.005195, allocations: 6.828 kB / 0.7654 GB, free: 0.9531 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.67e-05/0.005221, allocations: 58.16 kB / 0.7655 GB, free: 0.8867 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.961e-05/0.005251, allocations: 19.67 kB / 0.7655 GB, free: 0.8633 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.005252, allocations: 0 / 0.7655 GB, free: 0.8633 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.912e-05/0.005311, allocations: 37.64 kB / 0.7655 GB, free: 0.8203 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.025e-05/0.005322, allocations: 4 kB / 0.7655 GB, free: 0.8164 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.005326, allocations: 0 / 0.7655 GB, free: 0.8164 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.458e-06/0.005336, allocations: 9.203 kB / 0.7655 GB, free: 0.8086 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.333e-06/0.005337, allocations: 0 / 0.7655 GB, free: 0.8086 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.084e-06/0.005339, allocations: 0 / 0.7655 GB, free: 0.8086 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.006e-05/0.005379, allocations: 7.875 kB / 0.7655 GB, free: 0.8008 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.081e-05/0.00539, allocations: 4.938 kB / 0.7656 GB, free: 0.7969 MB / 0.7136 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 6.758e-05/0.005457, allocations: 184.9 kB / 0.7657 GB, free: 0.6055 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.854e-05/0.005496, allocations: 112.9 kB / 0.7658 GB, free: 500 kB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.863e-05/0.005535, allocations: 108.1 kB / 0.7659 GB, free: 384 kB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.183e-05/0.005576, allocations: 181 kB / 0.7661 GB, free: 196 kB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-05/0.005622, allocations: 188.2 kB / 0.7663 GB, free: 0 / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.745e-05/0.005679, allocations: 181 kB / 0.7665 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001237/0.005803, allocations: 321.4 kB / 0.7668 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.69e-05/0.00583, allocations: 101.5 kB / 0.7669 GB, free: 15.37 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.644e-05/0.005856, allocations: 105.1 kB / 0.767 GB, free: 15.26 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.727e-05/0.005903, allocations: 188.7 kB / 0.7671 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.661e-05/0.00595, allocations: 179.7 kB / 0.7673 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.575e-05/0.005996, allocations: 184.2 kB / 0.7675 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.738e-05/0.006043, allocations: 180.2 kB / 0.7677 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.784e-05/0.006141, allocations: 303.7 kB / 0.768 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.942e-05/0.00617, allocations: 105 kB / 0.7681 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.978e-05/0.00623, allocations: 188.2 kB / 0.7682 GB, free: 13.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.344e-05/0.006304, allocations: 105 kB / 0.7683 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.096e-05/0.006365, allocations: 184.2 kB / 0.7685 GB, free: 13.6 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.325e-05/0.006398, allocations: 104.9 kB / 0.7686 GB, free: 13.49 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.035e-05/0.006418, allocations: 15.44 kB / 0.7686 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of sort global known variables: time 9.1e-08/0.006418, allocations: 0 / 0.7686 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000209/0.006627, allocations: 59.78 kB / 0.7687 GB, free: 13.42 MB / 0.7292 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.0007516/0.007379, allocations: 446 kB / 0.7691 GB, free: 13.09 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 5.676e-05/0.007436, allocations: 21.44 kB / 0.7691 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.634e-06/0.007438, allocations: 1.156 kB / 0.7691 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.894e-06/0.00744, allocations: 3.938 kB / 0.7691 GB, free: 13.06 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001884/0.007628, allocations: 455.7 kB / 0.7696 GB, free: 12.61 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001533/0.007782, allocations: 163.9 kB / 0.7697 GB, free: 12.43 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.808e-05/0.00781, allocations: 59.34 kB / 0.7698 GB, free: 12.35 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.663e-05/0.007847, allocations: 4.594 kB / 0.7698 GB, free: 12.34 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.962e-05/0.007896, allocations: 59.89 kB / 0.7698 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of SimCode: time 3.9e-07/0.007897, allocations: 0.5625 kB / 0.7698 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of Templates: time 0.002952/0.01085, allocations: 1.811 MB / 0.7716 GB, free: 10.62 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe ; mkfifo Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe >> ../files/Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.sim & ./Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.077462692279369]