Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.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.001308/0.001308, allocations: 81.55 kB / 19.76 MB, free: 2.027 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.001338/0.001338, allocations: 157.8 kB / 23.01 MB, free: 4.945 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.398/1.398, allocations: 177.2 MB / 203.4 MB, free: 8.949 MB / 190.1 MB " [Timeout remaining time 179] 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.613/2.613, allocations: 359.1 MB / 0.6044 GB, free: 14.82 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.Exchange,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|yR1.1.|yI1.1.|yR2.1.|yR2.2.|yI2.1.|yI2.2.",fileNamePrefix="Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange") translateModel(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|yR1.1.|yI1.1.|yR2.1.|yR2.2.|yI2.1.|yI2.2.",fileNamePrefix="Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange") [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.002127/0.002127, allocations: 63.89 kB / 0.9515 GB, free: 12.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2752/0.2773, allocations: 169.9 MB / 1.117 GB, free: 2.535 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.001784/0.2791, allocations: 0.5472 MB / 1.118 GB, free: 1.992 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001937/0.2811, allocations: 1.274 MB / 1.119 GB, free: 0.7109 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.918e-05/0.2811, allocations: 0 / 1.119 GB, free: 0.7109 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 8.472e-05/0.2812, allocations: 11.92 kB / 1.119 GB, free: 0.6992 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 3.862e-05/0.2812, allocations: 0 / 1.119 GB, free: 0.6992 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007677/0.282, allocations: 299.2 kB / 1.12 GB, free: 416 kB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001508/0.2821, allocations: 71.81 kB / 1.12 GB, free: 344 kB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.464e-05/0.2821, allocations: 4 kB / 1.12 GB, free: 340 kB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 5.518e-05/0.2822, allocations: 39.91 kB / 1.12 GB, free: 300 kB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 9.737e-05/0.2823, allocations: 51.81 kB / 1.12 GB, free: 248 kB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.341e-05/0.2823, allocations: 4 kB / 1.12 GB, free: 244 kB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000403/0.2827, allocations: 215.6 kB / 1.12 GB, free: 28 kB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.603e-05/0.2828, allocations: 7.938 kB / 1.12 GB, free: 20 kB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 7.697e-05/0.2828, allocations: 27.95 kB / 1.12 GB, free: 15.99 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0003905/0.2832, allocations: 259.2 kB / 1.12 GB, free: 15.74 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.2832, allocations: 4 kB / 1.12 GB, free: 15.73 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.102e-06/0.2832, allocations: 0 / 1.12 GB, free: 15.73 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.2832, allocations: 0 / 1.12 GB, free: 15.73 MB / 1.076 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.0004554/0.2837, allocations: 367.4 kB / 1.121 GB, free: 15.34 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.2837, allocations: 12.03 kB / 1.121 GB, free: 15.33 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.549e-05/0.2838, allocations: 84.17 kB / 1.121 GB, free: 15.25 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001599/0.284, allocations: 197.8 kB / 1.121 GB, free: 15.03 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.78e-05/0.284, allocations: 158.9 kB / 1.121 GB, free: 14.87 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.213e-05/0.2841, allocations: 158.9 kB / 1.121 GB, free: 14.71 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.682e-05/0.2842, allocations: 109.1 kB / 1.121 GB, free: 14.6 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.888e-05/0.2843, allocations: 75.28 kB / 1.121 GB, free: 14.53 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.418e-05/0.2843, allocations: 150.6 kB / 1.121 GB, free: 14.38 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.561e-05/0.2844, allocations: 150.6 kB / 1.122 GB, free: 14.23 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.231e-05/0.2845, allocations: 162.5 kB / 1.122 GB, free: 14.07 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00031/0.2848, allocations: 417.5 kB / 1.122 GB, free: 13.63 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001015/0.2849, allocations: 169.1 kB / 1.122 GB, free: 13.46 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.151e-05/0.2849, allocations: 84.14 kB / 1.122 GB, free: 13.37 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 3.627e-05/0.2849, allocations: 75.33 kB / 1.122 GB, free: 13.3 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.742e-05/0.285, allocations: 109.8 kB / 1.123 GB, free: 13.18 MB / 1.076 GB Notification: Performance of pre-optimization done (n=0): time 8.22e-07/0.285, allocations: 0 / 1.123 GB, free: 13.18 MB / 1.076 GB Notification: Performance of matching and sorting (n=0): time 0.0001046/0.2851, allocations: 49.56 kB / 1.123 GB, free: 13.12 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.53e-05/0.2852, allocations: 130.6 kB / 1.123 GB, free: 12.98 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001635/0.2853, allocations: 145.7 kB / 1.123 GB, free: 12.83 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.707e-05/0.2854, allocations: 29.7 kB / 1.123 GB, free: 12.8 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 7.099e-05/0.2854, allocations: 104 kB / 1.123 GB, free: 12.69 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.813e-06/0.2854, allocations: 0 / 1.123 GB, free: 12.69 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.552e-05/0.2855, allocations: 41.7 kB / 1.123 GB, free: 12.64 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001424/0.2857, allocations: 318.8 kB / 1.123 GB, free: 12.32 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001503/0.2858, allocations: 97.64 kB / 1.123 GB, free: 12.22 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001328/0.2859, allocations: 101.6 kB / 1.124 GB, free: 12.12 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001387/0.2861, allocations: 98.55 kB / 1.124 GB, free: 12.01 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.2861, allocations: 0 / 1.124 GB, free: 12.01 MB / 1.076 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000446/0.2865, allocations: 268.9 kB / 1.124 GB, free: 11.73 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 4.783e-05/0.2866, allocations: 45.62 kB / 1.124 GB, free: 11.68 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/0.2866, allocations: 4.062 kB / 1.124 GB, free: 11.68 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.2866, allocations: 3.984 kB / 1.124 GB, free: 11.67 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.81e-07/0.2866, allocations: 0 / 1.124 GB, free: 11.67 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.386e-06/0.2866, allocations: 0 / 1.124 GB, free: 11.67 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003053/0.2869, allocations: 27.88 kB / 1.124 GB, free: 11.64 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.875e-05/0.2869, allocations: 11.98 kB / 1.124 GB, free: 11.63 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: 3 (yI2[2],yI2[1],yI1[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0001457/0.2871, allocations: 205.1 kB / 1.124 GB, free: 11.42 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.027e-05/0.2872, allocations: 112.9 kB / 1.124 GB, free: 11.3 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.963e-05/0.2872, allocations: 108.4 kB / 1.124 GB, free: 11.19 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.726e-05/0.2873, allocations: 184.3 kB / 1.125 GB, free: 11 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.583e-05/0.2874, allocations: 184.2 kB / 1.125 GB, free: 10.82 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.42e-05/0.2875, allocations: 176.3 kB / 1.125 GB, free: 10.64 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002433/0.2877, allocations: 360.9 kB / 1.125 GB, free: 10.25 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.121e-05/0.2878, allocations: 108.9 kB / 1.125 GB, free: 10.13 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.274e-05/0.2878, allocations: 104.9 kB / 1.125 GB, free: 10.02 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.696e-05/0.2879, allocations: 184.2 kB / 1.126 GB, free: 9.836 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.778e-05/0.288, allocations: 192.2 kB / 1.126 GB, free: 9.641 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.295e-05/0.2881, allocations: 176.3 kB / 1.126 GB, free: 9.461 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.334e-05/0.2882, allocations: 180.2 kB / 1.126 GB, free: 9.277 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001785/0.2883, allocations: 319.7 kB / 1.126 GB, free: 8.941 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 5.874e-05/0.2884, allocations: 105 kB / 1.127 GB, free: 8.832 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.251e-05/0.2885, allocations: 180.2 kB / 1.127 GB, free: 8.648 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.78e-05/0.2886, allocations: 104.9 kB / 1.127 GB, free: 8.539 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.049e-05/0.2887, allocations: 184.2 kB / 1.127 GB, free: 8.352 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.044e-05/0.2887, allocations: 112.9 kB / 1.127 GB, free: 8.234 MB / 1.076 GB Notification: Performance of sorting global known variables: time 8.471e-05/0.2888, allocations: 99.27 kB / 1.127 GB, free: 8.137 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.2888, allocations: 0 / 1.127 GB, free: 8.137 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003588/0.2892, allocations: 79.69 kB / 1.127 GB, free: 8.059 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.003902/0.2931, allocations: 416.7 kB / 1.128 GB, free: 7.727 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002815/0.2933, allocations: 189 kB / 1.128 GB, free: 7.523 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.2933, allocations: 0 / 1.128 GB, free: 7.523 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 2.454e-06/0.2934, allocations: 0 / 1.128 GB, free: 7.523 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004594/0.2938, allocations: 467.6 kB / 1.128 GB, free: 7.062 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003252/0.2941, allocations: 227.2 kB / 1.128 GB, free: 6.816 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.202e-05/0.2942, allocations: 67.33 kB / 1.129 GB, free: 6.73 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 7.591e-05/0.2943, allocations: 47.88 kB / 1.129 GB, free: 6.684 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.511e-05/0.2943, allocations: 12.56 kB / 1.129 GB, free: 6.672 MB / 1.076 GB Notification: Performance of SimCode: time 3.31e-07/0.2943, allocations: 0 / 1.129 GB, free: 6.672 MB / 1.076 GB Notification: Performance of Templates: time 0.005937/0.3002, allocations: 2.749 MB / 1.131 GB, free: 3.957 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe ; mkfifo Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe >> ../files/Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.sim & ./Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_IO_Python_3_8_Functions_Examples_Exchange.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.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.09562597796321]