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.001552/0.001552, allocations: 79.73 kB / 19.76 MB, free: 1.871 MB / 14.72 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.001651/0.001651, allocations: 157.7 kB / 23.01 MB, free: 4.602 MB / 14.72 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 1.517/1.517, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.678/2.678, allocations: 359.1 MB / 0.6044 GB, free: 14.87 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.1.|yR2.1.",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.1.|yR2.1.",fileNamePrefix="Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002142/0.002142, allocations: 67.91 kB / 0.9515 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2749/0.277, allocations: 169.9 MB / 1.117 GB, free: 2.586 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.001834/0.2788, allocations: 0.5506 MB / 1.118 GB, free: 2.039 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001758/0.2806, allocations: 1.196 MB / 1.119 GB, free: 0.8359 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.922e-05/0.2806, allocations: 3.938 kB / 1.119 GB, free: 0.832 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 9.449e-05/0.2807, allocations: 7.938 kB / 1.119 GB, free: 0.8242 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.108e-05/0.2808, allocations: 0 / 1.119 GB, free: 0.8242 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005752/0.2813, allocations: 183.4 kB / 1.119 GB, free: 0.6445 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 5.915e-05/0.2814, allocations: 19.92 kB / 1.119 GB, free: 0.625 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.216e-05/0.2814, allocations: 4 kB / 1.119 GB, free: 0.6211 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 2.236e-05/0.2814, allocations: 7.984 kB / 1.119 GB, free: 0.6133 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.572e-05/0.2815, allocations: 15.92 kB / 1.119 GB, free: 0.5977 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.256e-05/0.2815, allocations: 0 / 1.119 GB, free: 0.5977 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004008/0.2819, allocations: 203.7 kB / 1.12 GB, free: 408 kB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.766e-05/0.2819, allocations: 11.97 kB / 1.12 GB, free: 396 kB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.956e-05/0.282, allocations: 8 kB / 1.12 GB, free: 388 kB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003253/0.2823, allocations: 191.5 kB / 1.12 GB, free: 196 kB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.2823, allocations: 0 / 1.12 GB, free: 196 kB / 1.061 GB Notification: Performance of FrontEnd: time 1.122e-06/0.2823, allocations: 0 / 1.12 GB, free: 196 kB / 1.061 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.2823, allocations: 4 kB / 1.12 GB, free: 192 kB / 1.061 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.0003687/0.2827, allocations: 297.8 kB / 1.12 GB, free: 15.87 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.255e-05/0.2827, allocations: 12.03 kB / 1.12 GB, free: 15.86 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.603e-05/0.2828, allocations: 76.22 kB / 1.12 GB, free: 15.78 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001473/0.2829, allocations: 189.8 kB / 1.12 GB, free: 15.57 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.386e-05/0.283, allocations: 154.9 kB / 1.12 GB, free: 15.42 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.712e-05/0.2831, allocations: 154.9 kB / 1.121 GB, free: 15.27 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.063e-05/0.2831, allocations: 109.1 kB / 1.121 GB, free: 15.15 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.718e-05/0.2832, allocations: 75.28 kB / 1.121 GB, free: 15.08 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.559e-05/0.2832, allocations: 154.6 kB / 1.121 GB, free: 14.93 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.296e-05/0.2833, allocations: 150.6 kB / 1.121 GB, free: 14.78 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.943e-05/0.2834, allocations: 158.6 kB / 1.121 GB, free: 14.62 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002836/0.2837, allocations: 401.6 kB / 1.122 GB, free: 14.2 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 9.384e-05/0.2837, allocations: 169.1 kB / 1.122 GB, free: 14.02 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.778e-05/0.2838, allocations: 80.14 kB / 1.122 GB, free: 13.94 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 3.99e-05/0.2838, allocations: 79.28 kB / 1.122 GB, free: 13.86 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.858e-05/0.2839, allocations: 105.8 kB / 1.122 GB, free: 13.75 MB / 1.076 GB Notification: Performance of pre-optimization done (n=0): time 7.82e-07/0.2839, allocations: 0 / 1.122 GB, free: 13.75 MB / 1.076 GB Notification: Performance of matching and sorting (n=0): time 7.371e-05/0.284, allocations: 33.58 kB / 1.122 GB, free: 13.71 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.951e-05/0.284, allocations: 134.6 kB / 1.122 GB, free: 13.57 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001087/0.2841, allocations: 101.8 kB / 1.122 GB, free: 13.46 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.623e-05/0.2842, allocations: 29.7 kB / 1.122 GB, free: 13.42 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 5.081e-05/0.2842, allocations: 92.09 kB / 1.122 GB, free: 13.33 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.503e-06/0.2842, allocations: 0 / 1.122 GB, free: 13.33 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.208e-05/0.2842, allocations: 17.7 kB / 1.122 GB, free: 13.3 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.2844, allocations: 314.9 kB / 1.123 GB, free: 12.99 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.324e-05/0.2844, allocations: 4 kB / 1.123 GB, free: 12.98 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.292e-05/0.2845, allocations: 71.33 kB / 1.123 GB, free: 12.9 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.085e-05/0.2845, allocations: 20.84 kB / 1.123 GB, free: 12.88 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.2845, allocations: 0 / 1.123 GB, free: 12.88 MB / 1.076 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001386/0.2847, allocations: 61.7 kB / 1.123 GB, free: 12.81 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.2847, allocations: 11.94 kB / 1.123 GB, free: 12.8 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.2847, allocations: 192 / 1.123 GB, free: 12.8 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.2847, allocations: 0 / 1.123 GB, free: 12.8 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.585e-06/0.2847, allocations: 4 kB / 1.123 GB, free: 12.8 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.466e-06/0.2847, allocations: 0 / 1.123 GB, free: 12.8 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.258e-05/0.2848, allocations: 11.92 kB / 1.123 GB, free: 12.79 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.343e-05/0.2848, allocations: 4 kB / 1.123 GB, free: 12.78 MB / 1.076 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.0001111/0.2849, allocations: 189.1 kB / 1.123 GB, free: 12.59 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.091e-05/0.285, allocations: 104.9 kB / 1.123 GB, free: 12.48 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.216e-05/0.285, allocations: 116.1 kB / 1.123 GB, free: 12.35 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-05/0.2851, allocations: 180.3 kB / 1.123 GB, free: 12.17 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.378e-05/0.2852, allocations: 184.2 kB / 1.124 GB, free: 11.98 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.838e-05/0.2853, allocations: 180.3 kB / 1.124 GB, free: 11.8 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002211/0.2855, allocations: 352.9 kB / 1.124 GB, free: 11.41 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.007e-05/0.2856, allocations: 104.9 kB / 1.124 GB, free: 11.3 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.52e-05/0.2856, allocations: 105 kB / 1.124 GB, free: 11.2 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.831e-05/0.2857, allocations: 180.2 kB / 1.125 GB, free: 11.01 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.257e-05/0.2858, allocations: 184.2 kB / 1.125 GB, free: 10.82 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.61e-05/0.2858, allocations: 176.3 kB / 1.125 GB, free: 10.64 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.436e-05/0.2859, allocations: 180.2 kB / 1.125 GB, free: 10.46 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001618/0.2861, allocations: 315.8 kB / 1.125 GB, free: 10.13 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 4.815e-05/0.2861, allocations: 101 kB / 1.125 GB, free: 10.02 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.934e-05/0.2862, allocations: 188.2 kB / 1.126 GB, free: 9.832 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.029e-05/0.2863, allocations: 112.9 kB / 1.126 GB, free: 9.715 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.1e-05/0.2864, allocations: 180.2 kB / 1.126 GB, free: 9.531 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.956e-05/0.2864, allocations: 108.9 kB / 1.126 GB, free: 9.418 MB / 1.076 GB Notification: Performance of sorting global known variables: time 4.617e-05/0.2865, allocations: 79.28 kB / 1.126 GB, free: 9.34 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.2865, allocations: 0 / 1.126 GB, free: 9.34 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003205/0.2868, allocations: 59.75 kB / 1.126 GB, free: 9.281 MB / 1.076 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.0008245/0.2876, allocations: 398 kB / 1.127 GB, free: 8.957 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 8.178e-05/0.2877, allocations: 15.98 kB / 1.127 GB, free: 8.941 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.2877, allocations: 0 / 1.127 GB, free: 8.941 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 4.579e-06/0.2877, allocations: 4.328 kB / 1.127 GB, free: 8.938 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003985/0.2881, allocations: 459.7 kB / 1.127 GB, free: 8.484 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002284/0.2883, allocations: 176 kB / 1.127 GB, free: 8.285 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.643e-05/0.2884, allocations: 55.36 kB / 1.127 GB, free: 8.211 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 5.903e-05/0.2885, allocations: 11.97 kB / 1.127 GB, free: 8.199 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.598e-05/0.2885, allocations: 12.5 kB / 1.127 GB, free: 8.188 MB / 1.076 GB Notification: Performance of SimCode: time 3e-07/0.2885, allocations: 0 / 1.127 GB, free: 8.188 MB / 1.076 GB Notification: Performance of Templates: time 0.004297/0.2928, allocations: 1.558 MB / 1.129 GB, free: 6.652 MB / 1.076 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=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.266493974952027]