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.0009765/0.0009765, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.00158/0.00158, allocations: 169 kB / 24.28 MB, free: 276 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 1.042/1.042, allocations: 177.1 MB / 204.6 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] 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 1.83/1.83, allocations: 359 MB / 0.6055 GB, free: 11.01 MB / 0.573 GB " [Timeout remaining time 178] 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.[0-9,]+.|yI1.[0-9,]+.|yR2.[0-9,]+.|yI2.[0-9,]+.",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.[0-9,]+.|yI1.[0-9,]+.|yR2.[0-9,]+.|yI2.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 0.7871 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.802e-05/2.976e-05, allocations: 9.344 kB / 0.7871 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.001319/0.001349, allocations: 0.5674 MB / 0.7876 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001244/0.002593, allocations: 1.308 MB / 0.7889 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.225e-05/0.002626, allocations: 0 / 0.7889 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001082/0.002734, allocations: 11.86 kB / 0.7889 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.158e-05/0.002785, allocations: 1.406 kB / 0.7889 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005438/0.003329, allocations: 293.8 kB / 0.7892 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001282/0.003457, allocations: 71.81 kB / 0.7893 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.444e-05/0.003502, allocations: 4 kB / 0.7893 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 6.319e-05/0.003565, allocations: 47.89 kB / 0.7893 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.721e-05/0.003642, allocations: 49.59 kB / 0.7894 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.678e-05/0.003659, allocations: 4 kB / 0.7894 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002914/0.00395, allocations: 219.5 kB / 0.7896 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.068e-05/0.003981, allocations: 7.938 kB / 0.7896 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.221e-05/0.004023, allocations: 32.69 kB / 0.7896 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003095/0.004333, allocations: 283.2 kB / 0.7899 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.004335, allocations: 0 / 0.7899 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.02e-07/0.004336, allocations: 0.75 kB / 0.7899 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.837e-06/0.00434, allocations: 0 / 0.7899 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.0003732/0.004713, allocations: 475.2 kB / 0.7903 GB, free: 9.449 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.004753, allocations: 8.031 kB / 0.7904 GB, free: 9.441 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.449e-05/0.004827, allocations: 132.1 kB / 0.7905 GB, free: 9.312 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001312/0.004958, allocations: 241.7 kB / 0.7907 GB, free: 9.051 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.645e-05/0.005015, allocations: 242.8 kB / 0.7909 GB, free: 8.812 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.069e-05/0.005076, allocations: 242.8 kB / 0.7912 GB, free: 8.574 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.853e-05/0.005134, allocations: 149.5 kB / 0.7913 GB, free: 8.422 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.561e-05/0.00516, allocations: 123.3 kB / 0.7914 GB, free: 8.301 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.383e-05/0.005214, allocations: 244.8 kB / 0.7917 GB, free: 8.062 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.007e-05/0.005264, allocations: 238.4 kB / 0.7919 GB, free: 7.828 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.92e-05/0.005313, allocations: 246.4 kB / 0.7921 GB, free: 7.586 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002598/0.005573, allocations: 0.5875 MB / 0.7927 GB, free: 6.965 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.144e-05/0.005654, allocations: 269.4 kB / 0.793 GB, free: 6.688 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.423e-05/0.005688, allocations: 130.8 kB / 0.7931 GB, free: 6.555 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.684e-05/0.005715, allocations: 123.8 kB / 0.7932 GB, free: 6.434 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.079e-05/0.005756, allocations: 152.6 kB / 0.7934 GB, free: 6.273 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 1.383e-06/0.005757, allocations: 0.7188 kB / 0.7934 GB, free: 6.273 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 7.682e-05/0.005834, allocations: 41.64 kB / 0.7934 GB, free: 6.227 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.327e-05/0.005887, allocations: 175.1 kB / 0.7936 GB, free: 6.043 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001371/0.006025, allocations: 207.5 kB / 0.7938 GB, free: 5.824 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.654e-05/0.006041, allocations: 25.7 kB / 0.7938 GB, free: 5.793 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.779e-05/0.006099, allocations: 142.9 kB / 0.7939 GB, free: 5.648 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.124e-06/0.006101, allocations: 0 / 0.7939 GB, free: 5.648 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.911e-05/0.00616, allocations: 51.34 kB / 0.794 GB, free: 5.59 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.006266, allocations: 0.489 MB / 0.7944 GB, free: 5.09 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.05e-05/0.006347, allocations: 66.92 kB / 0.7945 GB, free: 5.02 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.772e-05/0.006405, allocations: 65.67 kB / 0.7946 GB, free: 4.949 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.179e-05/0.006476, allocations: 69.38 kB / 0.7946 GB, free: 4.871 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.006478, allocations: 0 / 0.7946 GB, free: 4.871 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000265/0.006743, allocations: 210.1 kB / 0.7948 GB, free: 4.648 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.498e-05/0.006778, allocations: 41.69 kB / 0.7949 GB, free: 4.602 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.006784, allocations: 4 kB / 0.7949 GB, free: 4.598 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.006799, allocations: 1.375 kB / 0.7949 GB, free: 4.598 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.814e-06/0.0068, allocations: 3.938 kB / 0.7949 GB, free: 4.594 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.491e-06/0.006806, allocations: 0 / 0.7949 GB, free: 4.594 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001371/0.006943, allocations: 17.75 kB / 0.7949 GB, free: 4.578 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.764e-05/0.006971, allocations: 23.97 kB / 0.7949 GB, free: 4.555 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 9.525e-05/0.007066, allocations: 291.6 kB / 0.7952 GB, free: 4.258 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.785e-05/0.007124, allocations: 148.8 kB / 0.7953 GB, free: 4.105 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.2e-05/0.007166, allocations: 161.3 kB / 0.7955 GB, free: 3.945 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.554e-05/0.007221, allocations: 268 kB / 0.7958 GB, free: 3.676 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-05/0.007278, allocations: 272 kB / 0.796 GB, free: 3.402 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.422e-05/0.007332, allocations: 271.4 kB / 0.7963 GB, free: 3.133 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001654/0.007497, allocations: 0.496 MB / 0.7968 GB, free: 2.594 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.311e-05/0.00753, allocations: 157.1 kB / 0.7969 GB, free: 2.434 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.039e-05/0.007561, allocations: 152.8 kB / 0.7971 GB, free: 2.277 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.061e-05/0.007621, allocations: 268.1 kB / 0.7973 GB, free: 2.008 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.7e-05/0.007678, allocations: 272 kB / 0.7976 GB, free: 1.734 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.155e-05/0.00773, allocations: 264.1 kB / 0.7978 GB, free: 1.469 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.203e-05/0.007782, allocations: 264.1 kB / 0.7981 GB, free: 1.203 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001244/0.007906, allocations: 459.8 kB / 0.7985 GB, free: 0.7266 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.857e-05/0.007945, allocations: 153.3 kB / 0.7987 GB, free: 0.5703 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.475e-05/0.008009, allocations: 270 kB / 0.7989 GB, free: 308 kB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.776e-05/0.008067, allocations: 144.9 kB / 0.7991 GB, free: 156 kB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.302e-05/0.00814, allocations: 276 kB / 0.7993 GB, free: 15.88 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.971e-05/0.00817, allocations: 144.9 kB / 0.7995 GB, free: 15.73 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 5.3e-05/0.008223, allocations: 145.7 kB / 0.7996 GB, free: 15.59 MB / 0.7605 GB Notification: Performance of sort global known variables: time 6e-08/0.008223, allocations: 2.312 kB / 0.7996 GB, free: 15.59 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0002766/0.0085, allocations: 67.8 kB / 0.7997 GB, free: 15.52 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.0008544/0.009354, allocations: 476.6 kB / 0.8001 GB, free: 15.14 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0001747/0.009529, allocations: 160.7 kB / 0.8003 GB, free: 14.96 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.00953, allocations: 1.094 kB / 0.8003 GB, free: 14.96 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 1.412e-06/0.009532, allocations: 0 / 0.8003 GB, free: 14.96 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000288/0.00982, allocations: 0.7159 MB / 0.801 GB, free: 14.24 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002714/0.01009, allocations: 261.3 kB / 0.8012 GB, free: 13.95 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.139e-05/0.01012, allocations: 56.89 kB / 0.8013 GB, free: 13.88 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 5.545e-05/0.01018, allocations: 51.86 kB / 0.8013 GB, free: 13.83 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.521e-05/0.01019, allocations: 8.5 kB / 0.8013 GB, free: 13.82 MB / 0.7605 GB Notification: Performance of SimCode: time 9.01e-07/0.01019, allocations: 4 kB / 0.8013 GB, free: 13.82 MB / 0.7605 GB Notification: Performance of Templates: time 0.004203/0.0144, allocations: 2.879 MB / 0.8041 GB, free: 11 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","",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.104284533066675]