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.001951/0.001951, allocations: 88.39 kB / 20.23 MB, free: 4.191 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.002018/0.002018, allocations: 161.7 kB / 23.54 MB, free: 0.8867 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.52/1.52, allocations: 177.1 MB / 203.9 MB, free: 5.602 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.673/2.673, allocations: 359 MB / 0.6048 GB, free: 10.94 MB / 0.573 GB " [Timeout remaining time 177] 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.472e-06/1.472e-06, allocations: 0 / 0.7864 GB, free: 12.69 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.495e-05/2.642e-05, allocations: 3.078 kB / 0.7864 GB, free: 12.68 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.001676/0.001702, allocations: 0.5657 MB / 0.7869 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00199/0.003692, allocations: 1.288 MB / 0.7882 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.242e-05/0.003715, allocations: 0 / 0.7882 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 9.835e-05/0.003813, allocations: 8.562 kB / 0.7882 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.501e-05/0.003858, allocations: 5.094 kB / 0.7882 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009265/0.004784, allocations: 293.2 kB / 0.7885 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001573/0.004942, allocations: 75.86 kB / 0.7885 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.056e-05/0.004972, allocations: 0.6562 kB / 0.7885 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 8.786e-05/0.00506, allocations: 55.88 kB / 0.7886 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 9.111e-05/0.005151, allocations: 39.39 kB / 0.7886 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.242e-05/0.005174, allocations: 4 kB / 0.7886 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004562/0.00563, allocations: 223.5 kB / 0.7888 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.325e-05/0.005663, allocations: 11.92 kB / 0.7889 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.75e-05/0.005721, allocations: 23.92 kB / 0.7889 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004727/0.006193, allocations: 291.2 kB / 0.7892 GB, free: 9.84 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.013e-06/0.006195, allocations: 0 / 0.7892 GB, free: 9.84 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.21e-07/0.006196, allocations: 0 / 0.7892 GB, free: 9.84 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.0062, allocations: 0 / 0.7892 GB, free: 9.84 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.0005094/0.00671, allocations: 368 kB / 0.7895 GB, free: 9.445 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.006745, allocations: 12.62 kB / 0.7895 GB, free: 9.434 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001136/0.006859, allocations: 92.11 kB / 0.7896 GB, free: 9.344 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001805/0.007039, allocations: 190.7 kB / 0.7898 GB, free: 9.133 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.745e-05/0.007127, allocations: 154.9 kB / 0.7899 GB, free: 8.98 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001024/0.007229, allocations: 158.9 kB / 0.7901 GB, free: 8.824 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.141e-05/0.00731, allocations: 101.5 kB / 0.7902 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.195e-05/0.007352, allocations: 76.94 kB / 0.7903 GB, free: 8.645 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.361e-05/0.007446, allocations: 154.7 kB / 0.7904 GB, free: 8.492 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.898e-05/0.007525, allocations: 158.5 kB / 0.7906 GB, free: 8.336 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.727e-05/0.007612, allocations: 158.5 kB / 0.7907 GB, free: 8.18 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000365/0.007977, allocations: 415.2 kB / 0.7911 GB, free: 7.746 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001136/0.008091, allocations: 169.1 kB / 0.7913 GB, free: 7.57 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.917e-05/0.00814, allocations: 84.14 kB / 0.7913 GB, free: 7.484 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.234e-05/0.008182, allocations: 75.28 kB / 0.7914 GB, free: 7.41 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.861e-05/0.008251, allocations: 106.5 kB / 0.7915 GB, free: 7.297 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 7.71e-07/0.008252, allocations: 0 / 0.7915 GB, free: 7.297 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 0.0001119/0.008364, allocations: 47.53 kB / 0.7916 GB, free: 7.246 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.071e-05/0.008454, allocations: 130.6 kB / 0.7917 GB, free: 7.105 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001789/0.008633, allocations: 149.7 kB / 0.7918 GB, free: 6.949 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.056e-05/0.008664, allocations: 25.7 kB / 0.7919 GB, free: 6.918 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.055e-05/0.008744, allocations: 92.14 kB / 0.7919 GB, free: 6.824 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.723e-06/0.008746, allocations: 0.625 kB / 0.7919 GB, free: 6.824 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.493e-05/0.008831, allocations: 41.69 kB / 0.792 GB, free: 6.777 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001749/0.009006, allocations: 323.5 kB / 0.7923 GB, free: 6.453 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001583/0.009164, allocations: 97.64 kB / 0.7924 GB, free: 6.352 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000142/0.009306, allocations: 94.86 kB / 0.7925 GB, free: 6.254 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001605/0.009466, allocations: 98.45 kB / 0.7926 GB, free: 6.148 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.009468, allocations: 0 / 0.7926 GB, free: 6.148 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004913/0.00996, allocations: 273.5 kB / 0.7928 GB, free: 5.863 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.596e-05/0.01002, allocations: 42.81 kB / 0.7929 GB, free: 5.816 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.01002, allocations: 0 / 0.7929 GB, free: 5.816 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.01004, allocations: 0 / 0.7929 GB, free: 5.816 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.236e-06/0.01004, allocations: 7.938 kB / 0.7929 GB, free: 5.809 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.787e-06/0.01004, allocations: 0.9062 kB / 0.7929 GB, free: 5.809 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003224/0.01037, allocations: 28.48 kB / 0.7929 GB, free: 5.781 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.829e-05/0.01041, allocations: 23.98 kB / 0.7929 GB, free: 5.758 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.0001513/0.01057, allocations: 194.2 kB / 0.7931 GB, free: 5.559 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.345e-05/0.01066, allocations: 112.9 kB / 0.7932 GB, free: 5.441 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.021e-05/0.01073, allocations: 113.2 kB / 0.7933 GB, free: 5.328 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.498e-05/0.01082, allocations: 176.3 kB / 0.7935 GB, free: 5.148 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001011/0.01093, allocations: 185.3 kB / 0.7937 GB, free: 4.961 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.571e-05/0.01102, allocations: 184.2 kB / 0.7938 GB, free: 4.773 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002869/0.01131, allocations: 368.8 kB / 0.7942 GB, free: 4.375 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.544e-05/0.01136, allocations: 102 kB / 0.7943 GB, free: 4.27 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.295e-05/0.01142, allocations: 101 kB / 0.7944 GB, free: 4.164 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001009/0.01152, allocations: 184.2 kB / 0.7946 GB, free: 3.977 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.813e-05/0.01162, allocations: 177.1 kB / 0.7947 GB, free: 3.797 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.732e-05/0.01171, allocations: 184.2 kB / 0.7949 GB, free: 3.609 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.616e-05/0.01181, allocations: 186.5 kB / 0.7951 GB, free: 3.422 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002094/0.01202, allocations: 319.7 kB / 0.7954 GB, free: 3.086 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.525e-05/0.01208, allocations: 109 kB / 0.7955 GB, free: 2.973 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002229/0.01231, allocations: 184.2 kB / 0.7957 GB, free: 2.785 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.801e-05/0.0124, allocations: 101 kB / 0.7958 GB, free: 2.68 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/0.01251, allocations: 188.1 kB / 0.796 GB, free: 2.488 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.444e-05/0.01257, allocations: 103.8 kB / 0.7961 GB, free: 2.383 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 9.35e-05/0.01266, allocations: 110.2 kB / 0.7962 GB, free: 2.277 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.01266, allocations: 0 / 0.7962 GB, free: 2.277 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003823/0.01304, allocations: 75.67 kB / 0.7962 GB, free: 2.203 MB / 0.7448 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.00604/0.01908, allocations: 418.4 kB / 0.7966 GB, free: 1.879 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003285/0.01941, allocations: 185 kB / 0.7968 GB, free: 1.68 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.01941, allocations: 3.969 kB / 0.7968 GB, free: 1.68 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.513e-06/0.01942, allocations: 3.938 kB / 0.7968 GB, free: 1.676 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005319/0.01995, allocations: 469.2 kB / 0.7973 GB, free: 1.215 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003892/0.02034, allocations: 223.7 kB / 0.7975 GB, free: 0.9688 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.621e-05/0.02042, allocations: 67.33 kB / 0.7975 GB, free: 0.8828 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 7.809e-05/0.02049, allocations: 47.88 kB / 0.7976 GB, free: 0.8359 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.493e-05/0.02052, allocations: 16.44 kB / 0.7976 GB, free: 0.8203 MB / 0.7448 GB Notification: Performance of SimCode: time 5.31e-07/0.02052, allocations: 0 / 0.7976 GB, free: 0.8203 MB / 0.7448 GB Notification: Performance of Templates: time 0.006573/0.02709, allocations: 2.862 MB / 0.8004 GB, free: 14 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=400 -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/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.524429993005469]