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.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001325/0.001325, allocations: 115.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001382/0.001382, allocations: 193 kB / 22.17 MB, free: 5.652 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.455/1.455, allocations: 225.6 MB / 250.9 MB, free: 13.27 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.787/2.787, allocations: 476.7 MB / 0.7645 GB, free: 10.11 MB / 0.6231 GB
"
[Timeout remaining time 177]
Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo)
Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo)
Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002343/0.002343, allocations: 63.91 kB / 1.109 GB, free: 6.578 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.925/0.9274, allocations: 168.7 MB / 1.274 GB, free: 4.441 MB / 0.9669 GB
Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.00203/0.9294, allocations: 0.5608 MB / 1.275 GB, free: 3.887 MB / 0.9669 GB
Notification: Performance of NFInst.instExpressions: time 0.002093/0.9315, allocations: 1.295 MB / 1.276 GB, free: 2.586 MB / 0.9669 GB
Notification: Performance of NFInst.updateImplicitVariability: time 2.379e-05/0.9315, allocations: 0 / 1.276 GB, free: 2.586 MB / 0.9669 GB
Notification: Performance of NFTyping.typeComponents: time 9.604e-05/0.9316, allocations: 3.938 kB / 1.276 GB, free: 2.582 MB / 0.9669 GB
Notification: Performance of NFTyping.typeBindings: time 5.093e-05/0.9317, allocations: 7.938 kB / 1.276 GB, free: 2.574 MB / 0.9669 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0007074/0.9324, allocations: 276.3 kB / 1.276 GB, free: 2.305 MB / 0.9669 GB
Notification: Performance of NFFlatten.flatten: time 0.0001565/0.9325, allocations: 71.88 kB / 1.276 GB, free: 2.234 MB / 0.9669 GB
Notification: Performance of NFFlatten.resolveConnections: time 4.269e-05/0.9326, allocations: 11.98 kB / 1.276 GB, free: 2.223 MB / 0.9669 GB
Notification: Performance of NFEvalConstants.evaluate: time 6.131e-05/0.9326, allocations: 39.91 kB / 1.276 GB, free: 2.184 MB / 0.9669 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001158/0.9328, allocations: 47.88 kB / 1.276 GB, free: 2.137 MB / 0.9669 GB
Notification: Performance of NFPackage.collectConstants: time 1.968e-05/0.9328, allocations: 7.938 kB / 1.276 GB, free: 2.129 MB / 0.9669 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0004139/0.9332, allocations: 203.6 kB / 1.276 GB, free: 1.93 MB / 0.9669 GB
Notification: Performance of NFScalarize.scalarize: time 3.243e-05/0.9332, allocations: 15.91 kB / 1.277 GB, free: 1.914 MB / 0.9669 GB
Notification: Performance of NFVerifyModel.verify: time 5.494e-05/0.9333, allocations: 27.86 kB / 1.277 GB, free: 1.887 MB / 0.9669 GB
Notification: Performance of NFConvertDAE.convert: time 0.0003551/0.9336, allocations: 258 kB / 1.277 GB, free: 1.637 MB / 0.9669 GB
Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.9336, allocations: 0 / 1.277 GB, free: 1.637 MB / 0.9669 GB
Notification: Performance of FrontEnd: time 1.212e-06/0.9336, allocations: 0 / 1.277 GB, free: 1.637 MB / 0.9669 GB
Notification: Performance of Transformations before backend: time 4.469e-06/0.9336, allocations: 4 kB / 1.277 GB, free: 1.633 MB / 0.9669 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.0004968/0.9341, allocations: 448.5 kB / 1.277 GB, free: 1.141 MB / 0.9669 GB
Notification: Performance of prepare preOptimizeDAE: time 5.777e-05/0.9342, allocations: 8.031 kB / 1.277 GB, free: 1.133 MB / 0.9669 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 9.307e-05/0.9343, allocations: 88.2 kB / 1.277 GB, free: 1.047 MB / 0.9669 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.000211/0.9345, allocations: 255.6 kB / 1.278 GB, free: 0.7578 MB / 0.9669 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.816e-05/0.9346, allocations: 150.9 kB / 1.278 GB, free: 0.6094 MB / 0.9669 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 9.667e-05/0.9347, allocations: 162.9 kB / 1.278 GB, free: 460 kB / 0.9669 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 7.143e-05/0.9347, allocations: 109 kB / 1.278 GB, free: 344 kB / 0.9669 GB
Notification: Performance of preOpt findStateOrder (simulation): time 4.169e-05/0.9348, allocations: 75.28 kB / 1.278 GB, free: 268 kB / 0.9669 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.303e-05/0.9348, allocations: 150.6 kB / 1.278 GB, free: 116 kB / 0.9669 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.681e-05/0.9349, allocations: 154.6 kB / 1.278 GB, free: 15.96 MB / 0.9825 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 6.445e-05/0.935, allocations: 150.6 kB / 1.278 GB, free: 15.81 MB / 0.9825 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003816/0.9354, allocations: 473.9 kB / 1.279 GB, free: 15.3 MB / 0.9825 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001107/0.9355, allocations: 173.1 kB / 1.279 GB, free: 15.12 MB / 0.9825 GB
Notification: Performance of preOpt resolveLoops (simulation): time 4.969e-05/0.9355, allocations: 80.14 kB / 1.279 GB, free: 15.04 MB / 0.9825 GB
Notification: Performance of preOpt evalFunc (simulation): time 3.831e-05/0.9356, allocations: 75.28 kB / 1.279 GB, free: 14.96 MB / 0.9825 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.053e-05/0.9356, allocations: 113.8 kB / 1.279 GB, free: 14.84 MB / 0.9825 GB
Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.9356, allocations: 0 / 1.279 GB, free: 14.84 MB / 0.9825 GB
Notification: Performance of matching and sorting (n=0): time 0.0001077/0.9358, allocations: 37.66 kB / 1.279 GB, free: 14.8 MB / 0.9825 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.31e-05/0.9358, allocations: 130.6 kB / 1.279 GB, free: 14.66 MB / 0.9825 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001839/0.936, allocations: 145.7 kB / 1.28 GB, free: 14.51 MB / 0.9825 GB
Notification: Performance of collectPreVariables (initialization): time 3.103e-05/0.936, allocations: 33.64 kB / 1.28 GB, free: 14.47 MB / 0.9825 GB
Notification: Performance of collectInitialEqns (initialization): time 6.466e-05/0.9361, allocations: 88.14 kB / 1.28 GB, free: 14.38 MB / 0.9825 GB
Notification: Performance of collectInitialBindings (initialization): time 2.154e-06/0.9361, allocations: 0 / 1.28 GB, free: 14.38 MB / 0.9825 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001014/0.9362, allocations: 49.69 kB / 1.28 GB, free: 14.32 MB / 0.9825 GB
Notification: Performance of setup shared object (initialization): time 0.0001929/0.9364, allocations: 318.8 kB / 1.28 GB, free: 14 MB / 0.9825 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001203/0.9365, allocations: 59.95 kB / 1.28 GB, free: 13.95 MB / 0.9825 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001169/0.9366, allocations: 67.94 kB / 1.28 GB, free: 13.88 MB / 0.9825 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001382/0.9368, allocations: 90.52 kB / 1.28 GB, free: 13.78 MB / 0.9825 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.9368, allocations: 0 / 1.28 GB, free: 13.78 MB / 0.9825 GB
Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004674/0.9372, allocations: 239.1 kB / 1.281 GB, free: 13.54 MB / 0.9825 GB
Notification: Performance of prepare postOptimizeDAE: time 4.861e-05/0.9373, allocations: 41.69 kB / 1.281 GB, free: 13.49 MB / 0.9825 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.9373, allocations: 4.062 kB / 1.281 GB, free: 13.48 MB / 0.9825 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.9373, allocations: 0 / 1.281 GB, free: 13.48 MB / 0.9825 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.21e-07/0.9373, allocations: 0 / 1.281 GB, free: 13.48 MB / 0.9825 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.9373, allocations: 3.938 kB / 1.281 GB, free: 13.48 MB / 0.9825 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003244/0.9376, allocations: 27.91 kB / 1.281 GB, free: 13.45 MB / 0.9825 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.818e-05/0.9377, allocations: 12 kB / 1.281 GB, free: 13.44 MB / 0.9825 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.0001441/0.9378, allocations: 197.1 kB / 1.281 GB, free: 13.24 MB / 0.9825 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001066/0.9379, allocations: 112.9 kB / 1.281 GB, free: 13.12 MB / 0.9825 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.079e-05/0.938, allocations: 116.4 kB / 1.281 GB, free: 13 MB / 0.9825 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.733e-05/0.9381, allocations: 184.3 kB / 1.281 GB, free: 12.81 MB / 0.9825 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 8.232e-05/0.9382, allocations: 176.3 kB / 1.281 GB, free: 12.63 MB / 0.9825 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.51e-05/0.9383, allocations: 180.2 kB / 1.282 GB, free: 12.45 MB / 0.9825 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002711/0.9385, allocations: 413.3 kB / 1.282 GB, free: 11.99 MB / 0.9825 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.816e-05/0.9386, allocations: 112.9 kB / 1.282 GB, free: 11.87 MB / 0.9825 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.899e-05/0.9386, allocations: 109 kB / 1.282 GB, free: 11.76 MB / 0.9825 GB
Notification: Performance of postOpt tearingSystem (simulation): time 8.439e-05/0.9387, allocations: 184.3 kB / 1.282 GB, free: 11.57 MB / 0.9825 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.184e-05/0.9388, allocations: 180.2 kB / 1.282 GB, free: 11.39 MB / 0.9825 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.221e-05/0.9389, allocations: 176.3 kB / 1.283 GB, free: 11.21 MB / 0.9825 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.756e-05/0.939, allocations: 184.2 kB / 1.283 GB, free: 11.02 MB / 0.9825 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001881/0.9392, allocations: 315.7 kB / 1.283 GB, free: 10.69 MB / 0.9825 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001039/0.9393, allocations: 189.9 kB / 1.283 GB, free: 10.48 MB / 0.9825 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.451e-05/0.9394, allocations: 184.3 kB / 1.283 GB, free: 10.29 MB / 0.9825 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.633e-05/0.9395, allocations: 108.9 kB / 1.284 GB, free: 10.18 MB / 0.9825 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001298/0.9396, allocations: 180.3 kB / 1.284 GB, free: 9.992 MB / 0.9825 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.661e-05/0.9396, allocations: 105 kB / 1.284 GB, free: 9.883 MB / 0.9825 GB
Notification: Performance of sorting global known variables: time 9.239e-05/0.9397, allocations: 109.3 kB / 1.284 GB, free: 9.777 MB / 0.9825 GB
Notification: Performance of sort global known variables: time 8e-08/0.9397, allocations: 0 / 1.284 GB, free: 9.777 MB / 0.9825 GB
Notification: Performance of remove unused functions: time 0.0003641/0.9401, allocations: 71.73 kB / 1.284 GB, free: 9.707 MB / 0.9825 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.004063/0.9442, allocations: 407.6 kB / 1.284 GB, free: 9.375 MB / 0.9825 GB
Notification: Performance of simCode: created initialization part: time 0.0002961/0.9445, allocations: 155.3 kB / 1.285 GB, free: 9.211 MB / 0.9825 GB
Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.9445, allocations: 0 / 1.285 GB, free: 9.211 MB / 0.9825 GB
Notification: Performance of simCode: created simulation system equations: time 2.614e-06/0.9445, allocations: 4.062 kB / 1.285 GB, free: 9.207 MB / 0.9825 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005003/0.945, allocations: 455.7 kB / 1.285 GB, free: 8.758 MB / 0.9825 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004043/0.9454, allocations: 228 kB / 1.285 GB, free: 8.508 MB / 0.9825 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000396/0.9458, allocations: 0.6807 MB / 1.286 GB, free: 7.801 MB / 0.9825 GB
Notification: Performance of simCode: alias equations: time 8.191e-05/0.9458, allocations: 51.86 kB / 1.286 GB, free: 7.75 MB / 0.9825 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.085e-05/0.9459, allocations: 11.44 kB / 1.286 GB, free: 7.738 MB / 0.9825 GB
Notification: Performance of SimCode: time 3e-07/0.9459, allocations: 0 / 1.286 GB, free: 7.738 MB / 0.9825 GB
Notification: Performance of Templates: time 0.006595/0.9525, allocations: 2.61 MB / 1.289 GB, free: 5.145 MB / 0.9825 GB
"
[Timeout remaining time 299]
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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 8.779636621940881]