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.001137/0.001137, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001125/0.001125, allocations: 177.4 kB / 23.36 MB, free: 1.125 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.063/1.063, 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.347/2.347, allocations: 438.8 MB / 0.6826 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.132e-06/1.132e-06, allocations: 0 / 0.8386 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.224e-05/3.337e-05, allocations: 7.016 kB / 0.8386 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_12.Functions.Examples.Exchange): time 0.001319/0.001352, allocations: 0.5639 MB / 0.8391 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001279/0.002631, allocations: 1.313 MB / 0.8404 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.57e-05/0.002656, allocations: 0 / 0.8404 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0001048/0.002761, allocations: 15.84 kB / 0.8404 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 5.093e-05/0.002812, allocations: 4 kB / 0.8404 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006049/0.003417, allocations: 291.1 kB / 0.8407 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001208/0.003538, allocations: 71.88 kB / 0.8408 GB, free: 12 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.712e-05/0.003575, allocations: 7.938 kB / 0.8408 GB, free: 11.99 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 6.313e-05/0.003638, allocations: 51.88 kB / 0.8408 GB, free: 11.94 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 6.72e-05/0.003705, allocations: 43.89 kB / 0.8409 GB, free: 11.9 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.532e-05/0.003721, allocations: 4 kB / 0.8409 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003156/0.004036, allocations: 219.6 kB / 0.8411 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 3.332e-05/0.004069, allocations: 7.938 kB / 0.8411 GB, free: 11.67 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 3.945e-05/0.004109, allocations: 31.91 kB / 0.8411 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002907/0.0044, allocations: 287.1 kB / 0.8414 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.004402, allocations: 0 / 0.8414 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of FrontEnd: time 7.62e-07/0.004403, allocations: 0 / 0.8414 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.416e-06/0.004406, allocations: 0 / 0.8414 GB, free: 11.36 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.0003069/0.004713, allocations: 337.7 kB / 0.8417 GB, free: 11 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.172e-05/0.004745, allocations: 8.625 kB / 0.8417 GB, free: 10.99 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.256e-05/0.004797, allocations: 88.2 kB / 0.8418 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001154/0.004913, allocations: 197 kB / 0.842 GB, free: 10.69 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.18e-05/0.004954, allocations: 154.9 kB / 0.8421 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.032e-05/0.005005, allocations: 158.9 kB / 0.8423 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.644e-05/0.005051, allocations: 113.5 kB / 0.8424 GB, free: 10.26 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.219e-05/0.005073, allocations: 83.41 kB / 0.8425 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.715e-05/0.00511, allocations: 158.7 kB / 0.8426 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.429e-05/0.005145, allocations: 150.6 kB / 0.8428 GB, free: 9.875 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.179e-05/0.005177, allocations: 150.6 kB / 0.8429 GB, free: 9.727 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001623/0.005339, allocations: 361.3 kB / 0.8433 GB, free: 9.359 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 6.41e-05/0.005403, allocations: 169.1 kB / 0.8434 GB, free: 9.184 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.202e-05/0.005425, allocations: 84.08 kB / 0.8435 GB, free: 9.098 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.722e-05/0.005442, allocations: 79.28 kB / 0.8436 GB, free: 9.02 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.362e-05/0.005476, allocations: 109.9 kB / 0.8437 GB, free: 8.902 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 1.282e-06/0.005477, allocations: 4 kB / 0.8437 GB, free: 8.898 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 5.744e-05/0.005535, allocations: 37.69 kB / 0.8437 GB, free: 8.855 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.469e-05/0.005579, allocations: 130.7 kB / 0.8438 GB, free: 8.715 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.797e-05/0.005677, allocations: 141.9 kB / 0.844 GB, free: 8.566 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.685e-05/0.005694, allocations: 29.7 kB / 0.844 GB, free: 8.531 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.758e-05/0.005732, allocations: 96.06 kB / 0.8441 GB, free: 8.434 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.553e-06/0.005733, allocations: 0 / 0.8441 GB, free: 8.434 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.747e-05/0.005781, allocations: 41.69 kB / 0.8441 GB, free: 8.387 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0002307/0.006011, allocations: 318.8 kB / 0.8444 GB, free: 8.066 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.707e-05/0.006088, allocations: 64.5 kB / 0.8445 GB, free: 7.996 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.72e-05/0.006136, allocations: 61.73 kB / 0.8446 GB, free: 7.93 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.442e-05/0.0062, allocations: 73.39 kB / 0.8446 GB, free: 7.848 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.006202, allocations: 0 / 0.8446 GB, free: 7.848 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001499/0.006352, allocations: 161 kB / 0.8448 GB, free: 7.672 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 3.468e-05/0.006387, allocations: 37.69 kB / 0.8448 GB, free: 7.629 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.006391, allocations: 0 / 0.8448 GB, free: 7.629 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.006403, allocations: 0 / 0.8448 GB, free: 7.629 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.348e-06/0.006408, allocations: 0 / 0.8448 GB, free: 7.629 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.117e-06/0.006412, allocations: 11.92 kB / 0.8448 GB, free: 7.617 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001094/0.006521, allocations: 19.81 kB / 0.8449 GB, free: 7.598 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.49e-05/0.006546, allocations: 15.98 kB / 0.8449 GB, free: 7.582 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.48e-05/0.006631, allocations: 196 kB / 0.8451 GB, free: 7.379 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.946e-05/0.00667, allocations: 105 kB / 0.8452 GB, free: 7.27 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.643e-05/0.006707, allocations: 112.4 kB / 0.8453 GB, free: 7.156 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.295e-05/0.00675, allocations: 180.2 kB / 0.8454 GB, free: 6.973 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-05/0.006791, allocations: 180.3 kB / 0.8456 GB, free: 6.789 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.863e-05/0.00684, allocations: 192.1 kB / 0.8458 GB, free: 6.594 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001281/0.006968, allocations: 321.4 kB / 0.8461 GB, free: 6.254 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.452e-05/0.006992, allocations: 101 kB / 0.8462 GB, free: 6.148 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.251e-05/0.007015, allocations: 104.9 kB / 0.8463 GB, free: 6.039 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.838e-05/0.007053, allocations: 180.2 kB / 0.8465 GB, free: 5.855 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.887e-05/0.007092, allocations: 188.2 kB / 0.8466 GB, free: 5.664 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.54e-05/0.007127, allocations: 176.3 kB / 0.8468 GB, free: 5.484 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-05/0.007167, allocations: 184.2 kB / 0.847 GB, free: 5.297 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.791e-05/0.007265, allocations: 315.7 kB / 0.8473 GB, free: 4.965 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.157e-05/0.007296, allocations: 112.9 kB / 0.8474 GB, free: 4.848 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.77e-05/0.007344, allocations: 176.3 kB / 0.8476 GB, free: 4.668 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.779e-05/0.007392, allocations: 112.9 kB / 0.8477 GB, free: 4.551 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.198e-05/0.007434, allocations: 180.3 kB / 0.8478 GB, free: 4.367 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.299e-05/0.007457, allocations: 101 kB / 0.8479 GB, free: 4.262 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.189e-05/0.007489, allocations: 24.84 kB / 0.848 GB, free: 4.234 MB / 0.8073 GB Notification: Performance of sort global known variables: time 8.1e-08/0.007489, allocations: 0 / 0.848 GB, free: 4.234 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002312/0.00772, allocations: 79.67 kB / 0.848 GB, free: 4.156 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.0008062/0.008526, allocations: 469 kB / 0.8485 GB, free: 3.805 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001535/0.00868, allocations: 149.8 kB / 0.8486 GB, free: 3.637 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.008683, allocations: 0 / 0.8486 GB, free: 3.637 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.312e-06/0.008684, allocations: 0 / 0.8486 GB, free: 3.637 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002109/0.008895, allocations: 459.7 kB / 0.8491 GB, free: 3.184 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002234/0.009119, allocations: 210.5 kB / 0.8493 GB, free: 2.949 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.09e-05/0.009149, allocations: 59.34 kB / 0.8493 GB, free: 2.871 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 5.981e-05/0.009209, allocations: 51.81 kB / 0.8494 GB, free: 2.82 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001095/0.009319, allocations: 95.39 kB / 0.8495 GB, free: 2.727 MB / 0.8073 GB Notification: Performance of SimCode: time 5.41e-07/0.009319, allocations: 0 / 0.8495 GB, free: 2.727 MB / 0.8073 GB Notification: Performance of Templates: time 0.004662/0.01398, allocations: 3.04 MB / 0.8524 GB, free: 15.72 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 -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.391026905272156]