Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.IO.Python_3_12.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.001005/0.001005, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001133/0.001133, allocations: 181 kB / 23.36 MB, free: 1.133 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.128/1.128, allocations: 177.1 MB / 203.8 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.485/2.485, allocations: 438.8 MB / 0.6827 GB, free: 13.62 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_12.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_latest_Buildings.Utilities.IO.Python_3_12.Functions.Examples.Exchange") translateModel(Buildings.Utilities.IO.Python_3_12.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_latest_Buildings.Utilities.IO.Python_3_12.Functions.Examples.Exchange") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 0.8386 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.281e-05/1.404e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_12.Functions.Examples.Exchange): time 0.001283/0.001297, allocations: 0.6107 MB / 0.8392 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001633/0.00293, allocations: 1.321 MB / 0.8405 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.507e-05/0.002965, allocations: 0 / 0.8405 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0001223/0.003087, allocations: 15.81 kB / 0.8405 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 6.191e-05/0.003149, allocations: 0 / 0.8405 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.000709/0.003858, allocations: 283.2 kB / 0.8408 GB, free: 11.97 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001223/0.00398, allocations: 75.86 kB / 0.8408 GB, free: 11.9 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.597e-05/0.004016, allocations: 7.938 kB / 0.8409 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 6.01e-05/0.004077, allocations: 51.88 kB / 0.8409 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 6.78e-05/0.004144, allocations: 43.89 kB / 0.8409 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.419e-05/0.004159, allocations: 4 kB / 0.841 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003249/0.004483, allocations: 227.5 kB / 0.8412 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.657e-05/0.00451, allocations: 7.984 kB / 0.8412 GB, free: 11.56 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 3.475e-05/0.004545, allocations: 23.92 kB / 0.8412 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.000303/0.004848, allocations: 303 kB / 0.8415 GB, free: 11.24 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.623e-06/0.004849, allocations: 0 / 0.8415 GB, free: 11.24 MB / 0.8073 GB Notification: Performance of FrontEnd: time 6.31e-07/0.00485, allocations: 4 kB / 0.8415 GB, free: 11.24 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.725e-06/0.004853, allocations: 0 / 0.8415 GB, free: 11.24 MB / 0.8073 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.0002771/0.00513, allocations: 333.7 kB / 0.8418 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.006e-05/0.00516, allocations: 8.625 kB / 0.8418 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.959e-05/0.005209, allocations: 88.2 kB / 0.8419 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001795/0.005389, allocations: 193 kB / 0.8421 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.727e-05/0.005426, allocations: 154.9 kB / 0.8422 GB, free: 10.42 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.45e-05/0.005471, allocations: 158.9 kB / 0.8424 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.17e-05/0.005512, allocations: 105.5 kB / 0.8425 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.771e-05/0.00553, allocations: 79.47 kB / 0.8426 GB, free: 10.08 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.647e-05/0.005567, allocations: 158.7 kB / 0.8427 GB, free: 9.922 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.256e-05/0.005599, allocations: 154.5 kB / 0.8429 GB, free: 9.77 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.656e-05/0.005636, allocations: 154.6 kB / 0.843 GB, free: 9.617 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001656/0.005801, allocations: 361.3 kB / 0.8434 GB, free: 9.25 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 6.038e-05/0.005862, allocations: 165.1 kB / 0.8435 GB, free: 9.078 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.211e-05/0.005884, allocations: 80.14 kB / 0.8436 GB, free: 8.996 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.319e-05/0.005907, allocations: 83.22 kB / 0.8437 GB, free: 8.914 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.522e-05/0.005942, allocations: 113.9 kB / 0.8438 GB, free: 8.793 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 9.81e-07/0.005943, allocations: 0 / 0.8438 GB, free: 8.793 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 6.062e-05/0.006004, allocations: 41.69 kB / 0.8438 GB, free: 8.746 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.875e-05/0.006043, allocations: 126.7 kB / 0.8439 GB, free: 8.609 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.162e-05/0.006134, allocations: 146 kB / 0.8441 GB, free: 8.457 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.495e-05/0.006149, allocations: 29.7 kB / 0.8441 GB, free: 8.422 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.327e-05/0.006183, allocations: 92.11 kB / 0.8442 GB, free: 8.328 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.172e-06/0.006184, allocations: 0 / 0.8442 GB, free: 8.328 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.742e-05/0.006231, allocations: 45.67 kB / 0.8442 GB, free: 8.277 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.979e-05/0.006301, allocations: 322.8 kB / 0.8445 GB, free: 7.953 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.598e-05/0.006367, allocations: 64.52 kB / 0.8446 GB, free: 7.883 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.326e-05/0.00641, allocations: 61.61 kB / 0.8447 GB, free: 7.816 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.634e-05/0.006466, allocations: 69.42 kB / 0.8447 GB, free: 7.738 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.006468, allocations: 4.031 kB / 0.8447 GB, free: 7.734 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001405/0.006609, allocations: 165 kB / 0.8449 GB, free: 7.555 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 3.417e-05/0.006643, allocations: 39.56 kB / 0.8449 GB, free: 7.512 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.006647, allocations: 0 / 0.8449 GB, free: 7.512 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.006659, allocations: 0 / 0.8449 GB, free: 7.512 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.215e-06/0.006661, allocations: 4 kB / 0.8449 GB, free: 7.508 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.585e-06/0.006664, allocations: 0 / 0.8449 GB, free: 7.508 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001074/0.006771, allocations: 19.86 kB / 0.845 GB, free: 7.488 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.443e-05/0.006795, allocations: 12 kB / 0.845 GB, free: 7.477 MB / 0.8073 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 (yI1[1],yI2[1],yI2[2]) * 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 8.615e-05/0.006882, allocations: 195.9 kB / 0.8451 GB, free: 7.273 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.61e-05/0.006928, allocations: 113 kB / 0.8453 GB, free: 7.156 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.286e-05/0.006961, allocations: 104.5 kB / 0.8454 GB, free: 7.051 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.808e-05/0.006999, allocations: 184.2 kB / 0.8455 GB, free: 6.863 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002216/0.00722, allocations: 184.3 kB / 0.8457 GB, free: 6.676 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.009e-05/0.00726, allocations: 180.2 kB / 0.8459 GB, free: 6.492 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000133/0.007393, allocations: 329.4 kB / 0.8462 GB, free: 6.145 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.743e-05/0.007421, allocations: 101 kB / 0.8463 GB, free: 6.039 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.908e-05/0.00745, allocations: 104.9 kB / 0.8464 GB, free: 5.93 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.035e-05/0.00749, allocations: 180.3 kB / 0.8466 GB, free: 5.746 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.637e-05/0.007527, allocations: 180.2 kB / 0.8467 GB, free: 5.562 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.604e-05/0.007563, allocations: 184.2 kB / 0.8469 GB, free: 5.375 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.265e-05/0.007605, allocations: 184.3 kB / 0.8471 GB, free: 5.188 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.275e-05/0.007688, allocations: 303.7 kB / 0.8474 GB, free: 4.867 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.884e-05/0.007717, allocations: 120.9 kB / 0.8475 GB, free: 4.742 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.281e-05/0.00776, allocations: 176.3 kB / 0.8477 GB, free: 4.562 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.301e-05/0.007803, allocations: 105 kB / 0.8478 GB, free: 4.453 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.978e-05/0.007842, allocations: 184.1 kB / 0.8479 GB, free: 4.266 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.44e-05/0.007867, allocations: 105 kB / 0.848 GB, free: 4.156 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.259e-05/0.007889, allocations: 24.83 kB / 0.8481 GB, free: 4.129 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.007889, allocations: 0 / 0.8481 GB, free: 4.129 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002117/0.008101, allocations: 71.78 kB / 0.8481 GB, free: 4.059 MB / 0.8073 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.0007828/0.008884, allocations: 472.9 kB / 0.8486 GB, free: 3.699 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001521/0.009036, allocations: 153.8 kB / 0.8487 GB, free: 3.527 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.009039, allocations: 0 / 0.8487 GB, free: 3.527 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 9.11e-07/0.00904, allocations: 0 / 0.8487 GB, free: 3.527 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001924/0.009232, allocations: 462.1 kB / 0.8492 GB, free: 3.074 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000189/0.009421, allocations: 210.6 kB / 0.8494 GB, free: 2.84 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.051e-05/0.009452, allocations: 59.34 kB / 0.8494 GB, free: 2.762 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 5.424e-05/0.009506, allocations: 55.8 kB / 0.8495 GB, free: 2.707 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001164/0.009622, allocations: 91.39 kB / 0.8496 GB, free: 2.617 MB / 0.8073 GB Notification: Performance of SimCode: time 8.11e-07/0.009623, allocations: 0 / 0.8496 GB, free: 2.617 MB / 0.8073 GB Notification: Performance of Templates: time 0.004178/0.0138, allocations: 3.043 MB / 0.8525 GB, free: 15.61 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.IO.Python_3_12.Functions.Examples.Exchange.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.IO.Python_3_12.Functions.Examples.Exchange.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.Python_3_12.Functions.Examples.Exchange.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.Python_3_12.Functions.Examples.Exchange.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.Python_3_12.Functions.Examples.Exchange.sim & ./Buildings_latest_Buildings.Utilities.IO.Python_3_12.Functions.Examples.Exchange -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.Python_3_12.Functions.Examples.Exchange.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.IO.Python_3_12.Functions.Examples.Exchange_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_IO_Python_3_12_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.542716244235635]