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.002494/0.002494, allocations: 87.69 kB / 20.24 MB, free: 4.184 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.002802/0.002802, allocations: 161.3 kB / 23.55 MB, free: 0.8711 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 1.666/1.666, allocations: 177.1 MB / 203.9 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] 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 2.873/2.873, allocations: 359 MB / 0.6048 GB, free: 10.93 MB / 0.573 GB " [Timeout remaining time 176] 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.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: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 0.7864 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.43e-05/2.556e-05, allocations: 2.312 kB / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.001813/0.001838, allocations: 0.5546 MB / 0.7869 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002236/0.004075, allocations: 1.303 MB / 0.7882 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.663e-05/0.004101, allocations: 0 / 0.7882 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.000118/0.004219, allocations: 8.891 kB / 0.7882 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.48e-05/0.004274, allocations: 3.938 kB / 0.7882 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009046/0.005179, allocations: 290.2 kB / 0.7885 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001773/0.005356, allocations: 71.88 kB / 0.7885 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.829e-05/0.005394, allocations: 7.422 kB / 0.7885 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 9.826e-05/0.005493, allocations: 55.83 kB / 0.7886 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001089/0.005602, allocations: 43.89 kB / 0.7886 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.609e-05/0.005638, allocations: 4 kB / 0.7886 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004915/0.006129, allocations: 215.6 kB / 0.7889 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.724e-05/0.006167, allocations: 11.94 kB / 0.7889 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 6.918e-05/0.006236, allocations: 27.91 kB / 0.7889 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0005748/0.006811, allocations: 291.2 kB / 0.7892 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.006813, allocations: 0 / 0.7892 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.42e-07/0.006814, allocations: 0.6562 kB / 0.7892 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.967e-06/0.006818, allocations: 0 / 0.7892 GB, free: 9.953 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.0005752/0.007393, allocations: 469.9 kB / 0.7896 GB, free: 9.453 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.007434, allocations: 12.03 kB / 0.7896 GB, free: 9.441 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001334/0.007568, allocations: 129.7 kB / 0.7898 GB, free: 9.316 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003342/0.007902, allocations: 243.8 kB / 0.79 GB, free: 9.051 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001311/0.008033, allocations: 242.7 kB / 0.7902 GB, free: 8.812 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001519/0.008185, allocations: 250.7 kB / 0.7905 GB, free: 8.566 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001075/0.008292, allocations: 150.3 kB / 0.7906 GB, free: 8.414 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.653e-05/0.008359, allocations: 119.4 kB / 0.7907 GB, free: 8.297 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001364/0.008495, allocations: 247.2 kB / 0.7909 GB, free: 8.055 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000134/0.008629, allocations: 238.4 kB / 0.7912 GB, free: 7.82 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001277/0.008757, allocations: 239.6 kB / 0.7914 GB, free: 7.586 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004852/0.009242, allocations: 0.5915 MB / 0.792 GB, free: 6.961 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001836/0.009426, allocations: 269.4 kB / 0.7922 GB, free: 6.684 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.585e-05/0.009522, allocations: 127.6 kB / 0.7924 GB, free: 6.555 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 6.532e-05/0.009587, allocations: 119.2 kB / 0.7925 GB, free: 6.438 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.598e-05/0.009683, allocations: 157.8 kB / 0.7926 GB, free: 6.273 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.009684, allocations: 0 / 0.7926 GB, free: 6.273 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 0.0001051/0.009789, allocations: 33.66 kB / 0.7927 GB, free: 6.234 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001096/0.009899, allocations: 184 kB / 0.7928 GB, free: 6.043 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002253/0.01012, allocations: 212.9 kB / 0.793 GB, free: 5.82 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.278e-05/0.01016, allocations: 29.7 kB / 0.7931 GB, free: 5.785 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001039/0.01026, allocations: 138.9 kB / 0.7932 GB, free: 5.645 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.824e-06/0.01026, allocations: 0.5625 kB / 0.7932 GB, free: 5.645 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.247e-05/0.01035, allocations: 47.34 kB / 0.7932 GB, free: 5.59 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0003692/0.01072, allocations: 0.4897 MB / 0.7937 GB, free: 5.09 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001292/0.01085, allocations: 77.66 kB / 0.7938 GB, free: 5.008 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001198/0.01097, allocations: 77.72 kB / 0.7939 GB, free: 4.926 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001222/0.0111, allocations: 73.98 kB / 0.7939 GB, free: 4.844 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.0111, allocations: 4 kB / 0.7939 GB, free: 4.84 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004418/0.01154, allocations: 230.9 kB / 0.7942 GB, free: 4.598 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.007e-05/0.01159, allocations: 43.56 kB / 0.7942 GB, free: 4.551 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.01159, allocations: 0 / 0.7942 GB, free: 4.551 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.01161, allocations: 0 / 0.7942 GB, free: 4.551 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.456e-06/0.01161, allocations: 3.938 kB / 0.7942 GB, free: 4.547 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.01161, allocations: 4.5 kB / 0.7942 GB, free: 4.543 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002009/0.01181, allocations: 20.66 kB / 0.7942 GB, free: 4.523 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.958e-05/0.01185, allocations: 15.98 kB / 0.7942 GB, free: 4.508 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: 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.0001922/0.01205, allocations: 285 kB / 0.7945 GB, free: 4.219 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001121/0.01216, allocations: 152.8 kB / 0.7947 GB, free: 4.062 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.354e-05/0.01225, allocations: 156.3 kB / 0.7948 GB, free: 3.906 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001506/0.0124, allocations: 268.7 kB / 0.7951 GB, free: 3.637 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001427/0.01255, allocations: 273.1 kB / 0.7953 GB, free: 3.363 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001384/0.01268, allocations: 268 kB / 0.7956 GB, free: 3.094 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00035/0.01303, allocations: 0.4999 MB / 0.7961 GB, free: 2.551 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.793e-05/0.01312, allocations: 157.5 kB / 0.7962 GB, free: 2.391 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.117e-05/0.0132, allocations: 148.9 kB / 0.7964 GB, free: 2.238 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001449/0.01335, allocations: 269.1 kB / 0.7966 GB, free: 1.969 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001459/0.01349, allocations: 268.1 kB / 0.7969 GB, free: 1.699 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001431/0.01364, allocations: 268.1 kB / 0.7971 GB, free: 1.43 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001477/0.01378, allocations: 276.9 kB / 0.7974 GB, free: 1.152 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002887/0.01407, allocations: 455.8 kB / 0.7978 GB, free: 0.6797 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.516e-05/0.01416, allocations: 149.7 kB / 0.798 GB, free: 0.5273 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001669/0.01433, allocations: 272.1 kB / 0.7982 GB, free: 260 kB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001284/0.01445, allocations: 152.8 kB / 0.7984 GB, free: 100 kB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001637/0.01462, allocations: 274.2 kB / 0.7986 GB, free: 15.82 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.898e-05/0.0147, allocations: 148.8 kB / 0.7988 GB, free: 15.67 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001171/0.01481, allocations: 151.2 kB / 0.7989 GB, free: 15.52 MB / 0.7605 GB Notification: Performance of sort global known variables: time 5e-08/0.01481, allocations: 0 / 0.7989 GB, free: 15.52 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0003858/0.0152, allocations: 75.67 kB / 0.799 GB, free: 15.45 MB / 0.7605 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.00142/0.01662, allocations: 456.3 kB / 0.7994 GB, free: 15.09 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0002858/0.01691, allocations: 184.7 kB / 0.7996 GB, free: 14.89 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.01691, allocations: 4 kB / 0.7996 GB, free: 14.88 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 1.814e-06/0.01691, allocations: 0.6562 kB / 0.7996 GB, free: 14.88 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005902/0.0175, allocations: 0.7071 MB / 0.8003 GB, free: 14.17 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003817/0.01788, allocations: 281.1 kB / 0.8006 GB, free: 13.87 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.587e-05/0.01796, allocations: 67.31 kB / 0.8006 GB, free: 13.79 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 7.765e-05/0.01804, allocations: 47.88 kB / 0.8007 GB, free: 13.74 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.665e-05/0.01806, allocations: 16.48 kB / 0.8007 GB, free: 13.72 MB / 0.7605 GB Notification: Performance of SimCode: time 4.21e-07/0.01806, allocations: 0 / 0.8007 GB, free: 13.72 MB / 0.7605 GB Notification: Performance of Templates: time 0.006884/0.02495, allocations: 2.869 MB / 0.8035 GB, free: 10.9 MB / 0.7605 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe 2>&1) [Timeout 240] 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/jenkins/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: 7.959790143999271]