Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001582/0.001582, allocations: 105.8 kB / 18.84 MB, free: 3.023 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.001659/0.001659, allocations: 192.4 kB / 22.11 MB, free: 4.223 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.461/1.461, allocations: 225.6 MB / 250.8 MB, free: 2.895 MB / 190.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 2.981/2.981, allocations: 495.8 MB / 0.783 GB, free: 12.29 MB / 0.6231 GB
"
[Timeout remaining time 176]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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_12_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_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002013/0.002013, allocations: 59.89 kB / 1.137 GB, free: 12.23 MB / 0.92 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.9221/0.9242, allocations: 173.6 MB / 1.307 GB, free: 33.74 MB / 1.061 GB
Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.00164/0.9258, allocations: 0.5585 MB / 1.307 GB, free: 33.41 MB / 1.061 GB
Notification: Performance of NFInst.instExpressions: time 0.001389/0.9272, allocations: 1.292 MB / 1.309 GB, free: 32.52 MB / 1.061 GB
Notification: Performance of NFInst.updateImplicitVariability: time 2.315e-05/0.9272, allocations: 0 / 1.309 GB, free: 32.52 MB / 1.061 GB
Notification: Performance of NFTyping.typeComponents: time 9.996e-05/0.9273, allocations: 15.45 kB / 1.309 GB, free: 32.5 MB / 1.061 GB
Notification: Performance of NFTyping.typeBindings: time 4.525e-05/0.9274, allocations: 0 / 1.309 GB, free: 32.5 MB / 1.061 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0006508/0.928, allocations: 292.5 kB / 1.309 GB, free: 32.37 MB / 1.061 GB
Notification: Performance of NFFlatten.flatten: time 0.000123/0.9281, allocations: 74.28 kB / 1.309 GB, free: 32.35 MB / 1.061 GB
Notification: Performance of NFFlatten.resolveConnections: time 4.03e-05/0.9282, allocations: 6.5 kB / 1.309 GB, free: 32.34 MB / 1.061 GB
Notification: Performance of NFEvalConstants.evaluate: time 4.1e-05/0.9282, allocations: 37.3 kB / 1.309 GB, free: 32.34 MB / 1.061 GB
Notification: Performance of NFSimplifyModel.simplify: time 8.533e-05/0.9283, allocations: 50.11 kB / 1.309 GB, free: 32.32 MB / 1.061 GB
Notification: Performance of NFPackage.collectConstants: time 2.565e-05/0.9283, allocations: 2.812 kB / 1.309 GB, free: 32.32 MB / 1.061 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0003654/0.9287, allocations: 237.1 kB / 1.309 GB, free: 32.23 MB / 1.061 GB
Notification: Performance of NFScalarize.scalarize: time 2.59e-05/0.9287, allocations: 9.75 kB / 1.309 GB, free: 32.23 MB / 1.061 GB
Notification: Performance of NFVerifyModel.verify: time 5.57e-05/0.9288, allocations: 35.03 kB / 1.309 GB, free: 32.21 MB / 1.061 GB
Notification: Performance of NFConvertDAE.convert: time 0.0002909/0.9291, allocations: 260 kB / 1.31 GB, free: 32.13 MB / 1.061 GB
Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.9291, allocations: 0 / 1.31 GB, free: 32.13 MB / 1.061 GB
Notification: Performance of FrontEnd: time 1.323e-06/0.9291, allocations: 4 kB / 1.31 GB, free: 32.13 MB / 1.061 GB
Notification: Performance of Transformations before backend: time 5.08e-06/0.9291, allocations: 0 / 1.31 GB, free: 32.13 MB / 1.061 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.0003404/0.9294, allocations: 367.4 kB / 1.31 GB, free: 31.79 MB / 1.061 GB
Notification: Performance of prepare preOptimizeDAE: time 3.288e-05/0.9294, allocations: 8.781 kB / 1.31 GB, free: 31.79 MB / 1.061 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 7.466e-05/0.9295, allocations: 81.81 kB / 1.31 GB, free: 31.72 MB / 1.061 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001082/0.9296, allocations: 206 kB / 1.31 GB, free: 31.5 MB / 1.061 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.678e-05/0.9297, allocations: 153.9 kB / 1.31 GB, free: 31.36 MB / 1.061 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.949e-05/0.9297, allocations: 164.8 kB / 1.31 GB, free: 31.2 MB / 1.061 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 4.572e-05/0.9297, allocations: 106.2 kB / 1.311 GB, free: 31.09 MB / 1.061 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.9297, allocations: 75.28 kB / 1.311 GB, free: 31.02 MB / 1.061 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.85e-05/0.9298, allocations: 150.6 kB / 1.311 GB, free: 30.87 MB / 1.061 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.777e-05/0.9298, allocations: 150.6 kB / 1.311 GB, free: 30.72 MB / 1.061 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 2.104e-05/0.9298, allocations: 153.5 kB / 1.311 GB, free: 30.57 MB / 1.061 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002032/0.93, allocations: 440.5 kB / 1.311 GB, free: 30.12 MB / 1.061 GB
Notification: Performance of preOpt comSubExp (simulation): time 4.791e-05/0.9301, allocations: 183.4 kB / 1.312 GB, free: 29.93 MB / 1.061 GB
Notification: Performance of preOpt resolveLoops (simulation): time 1.579e-05/0.9301, allocations: 80.14 kB / 1.312 GB, free: 29.85 MB / 1.061 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.106e-05/0.9301, allocations: 75.28 kB / 1.312 GB, free: 29.78 MB / 1.061 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.059e-05/0.9301, allocations: 113.8 kB / 1.312 GB, free: 29.66 MB / 1.061 GB
Notification: Performance of pre-optimization done (n=0): time 8.42e-07/0.9301, allocations: 0 / 1.312 GB, free: 29.66 MB / 1.061 GB
Notification: Performance of matching and sorting (n=0): time 8.98e-05/0.9302, allocations: 42.41 kB / 1.312 GB, free: 29.62 MB / 1.061 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 2.451e-05/0.9302, allocations: 126.7 kB / 1.312 GB, free: 29.48 MB / 1.061 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001211/0.9303, allocations: 149.9 kB / 1.312 GB, free: 29.36 MB / 1.061 GB
Notification: Performance of collectPreVariables (initialization): time 1.944e-05/0.9304, allocations: 29.64 kB / 1.312 GB, free: 29.32 MB / 1.061 GB
Notification: Performance of collectInitialEqns (initialization): time 4.032e-05/0.9304, allocations: 93.77 kB / 1.312 GB, free: 29.24 MB / 1.061 GB
Notification: Performance of collectInitialBindings (initialization): time 1.783e-06/0.9304, allocations: 4 kB / 1.312 GB, free: 29.23 MB / 1.061 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 6.419e-05/0.9305, allocations: 43.56 kB / 1.312 GB, free: 29.21 MB / 1.061 GB
Notification: Performance of setup shared object (initialization): time 5.526e-05/0.9305, allocations: 314.8 kB / 1.313 GB, free: 28.9 MB / 1.061 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001013/0.9306, allocations: 59.11 kB / 1.313 GB, free: 28.89 MB / 1.061 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 8.729e-05/0.9307, allocations: 67.09 kB / 1.313 GB, free: 28.88 MB / 1.061 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001017/0.9308, allocations: 87.67 kB / 1.313 GB, free: 28.83 MB / 1.061 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.9308, allocations: 0 / 1.313 GB, free: 28.83 MB / 1.061 GB
Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003462/0.9312, allocations: 240 kB / 1.313 GB, free: 28.73 MB / 1.061 GB
Notification: Performance of prepare postOptimizeDAE: time 4.212e-05/0.9312, allocations: 47.97 kB / 1.313 GB, free: 28.7 MB / 1.061 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.9312, allocations: 0 / 1.313 GB, free: 28.7 MB / 1.061 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.217e-05/0.9312, allocations: 0 / 1.313 GB, free: 28.7 MB / 1.061 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.453e-06/0.9312, allocations: 3 kB / 1.313 GB, free: 28.7 MB / 1.061 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.9312, allocations: 0 / 1.313 GB, free: 28.7 MB / 1.061 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002895/0.9315, allocations: 26.2 kB / 1.313 GB, free: 28.69 MB / 1.061 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.503e-05/0.9316, allocations: 19.11 kB / 1.313 GB, free: 28.68 MB / 1.061 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 7.419e-05/0.9316, allocations: 201 kB / 1.313 GB, free: 28.49 MB / 1.061 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 4.619e-05/0.9317, allocations: 115.7 kB / 1.314 GB, free: 28.37 MB / 1.061 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.488e-05/0.9317, allocations: 114.5 kB / 1.314 GB, free: 28.25 MB / 1.061 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.299e-05/0.9317, allocations: 179.7 kB / 1.314 GB, free: 28.07 MB / 1.061 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 2.33e-05/0.9318, allocations: 176.3 kB / 1.314 GB, free: 27.89 MB / 1.061 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.2e-05/0.9318, allocations: 184.2 kB / 1.314 GB, free: 27.71 MB / 1.061 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001274/0.9319, allocations: 392 kB / 1.315 GB, free: 27.29 MB / 1.061 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.42e-05/0.9319, allocations: 108.9 kB / 1.315 GB, free: 27.18 MB / 1.061 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.438e-05/0.9319, allocations: 104.9 kB / 1.315 GB, free: 27.07 MB / 1.061 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.258e-05/0.932, allocations: 183 kB / 1.315 GB, free: 26.88 MB / 1.061 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.454e-05/0.932, allocations: 187.6 kB / 1.315 GB, free: 26.7 MB / 1.061 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.498e-05/0.932, allocations: 176.3 kB / 1.315 GB, free: 26.52 MB / 1.061 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-05/0.932, allocations: 187.1 kB / 1.315 GB, free: 26.33 MB / 1.061 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 7.131e-05/0.9321, allocations: 312.5 kB / 1.316 GB, free: 26.01 MB / 1.061 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.848e-05/0.9321, allocations: 104.9 kB / 1.316 GB, free: 25.9 MB / 1.061 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.255e-05/0.9322, allocations: 179.1 kB / 1.316 GB, free: 25.72 MB / 1.061 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.268e-05/0.9322, allocations: 104.9 kB / 1.316 GB, free: 25.61 MB / 1.061 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.38e-05/0.9322, allocations: 186.6 kB / 1.316 GB, free: 25.43 MB / 1.061 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.417e-05/0.9323, allocations: 104.9 kB / 1.316 GB, free: 25.32 MB / 1.061 GB
Notification: Performance of sorting global known variables: time 4.799e-05/0.9323, allocations: 107.2 kB / 1.316 GB, free: 25.23 MB / 1.061 GB
Notification: Performance of sort global known variables: time 8e-08/0.9323, allocations: 2.875 kB / 1.316 GB, free: 25.23 MB / 1.061 GB
Notification: Performance of remove unused functions: time 0.0003141/0.9326, allocations: 70.39 kB / 1.317 GB, free: 25.21 MB / 1.061 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.0008689/0.9335, allocations: 399.5 kB / 1.317 GB, free: 24.98 MB / 1.061 GB
Notification: Performance of simCode: created initialization part: time 0.0002021/0.9337, allocations: 147.9 kB / 1.317 GB, free: 24.9 MB / 1.061 GB
Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.9337, allocations: 4.062 kB / 1.317 GB, free: 24.89 MB / 1.061 GB
Notification: Performance of simCode: created simulation system equations: time 2.474e-06/0.9337, allocations: 7.125 kB / 1.317 GB, free: 24.89 MB / 1.061 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002769/0.934, allocations: 458.2 kB / 1.318 GB, free: 24.44 MB / 1.061 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002383/0.9342, allocations: 230.3 kB / 1.318 GB, free: 24.24 MB / 1.061 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001181/0.9343, allocations: 0.678 MB / 1.318 GB, free: 23.54 MB / 1.061 GB
Notification: Performance of simCode: alias equations: time 6.242e-05/0.9344, allocations: 56.28 kB / 1.318 GB, free: 23.54 MB / 1.061 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 1.436e-05/0.9344, allocations: 7.438 kB / 1.318 GB, free: 23.53 MB / 1.061 GB
Notification: Performance of SimCode: time 4e-07/0.9344, allocations: 0 / 1.318 GB, free: 23.53 MB / 1.061 GB
Notification: Performance of Templates: time 0.005027/0.9394, allocations: 2.609 MB / 1.321 GB, free: 23.25 MB / 1.061 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe ; mkfifo Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe >> ../files/Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.sim & ./Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_IO_Python_3_8_Functions_Examples_Exchange.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.206896505318582]