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.001787/0.001787, allocations: 113.9 kB / 18.94 MB, free: 2.953 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.002022/0.002022, allocations: 189.8 kB / 22.23 MB, free: 5.133 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.444/1.444, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.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 3.274/3.274, allocations: 496 MB / 0.7835 GB, free: 33.8 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.001991/0.001991, allocations: 57.28 kB / 1.138 GB, free: 33.84 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3286/0.3306, allocations: 173.6 MB / 1.307 GB, free: 1.797 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.001878/0.3325, allocations: 0.5645 MB / 1.308 GB, free: 1.234 MB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.001911/0.3344, allocations: 1.301 MB / 1.309 GB, free: 15.93 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 2.167e-05/0.3344, allocations: 0 / 1.309 GB, free: 15.93 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 0.0001018/0.3345, allocations: 4 kB / 1.309 GB, free: 15.92 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 4.905e-05/0.3346, allocations: 3.938 kB / 1.309 GB, free: 15.92 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0006984/0.3353, allocations: 291.2 kB / 1.309 GB, free: 15.63 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0001382/0.3354, allocations: 79.8 kB / 1.309 GB, free: 15.55 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 3.647e-05/0.3354, allocations: 0 / 1.309 GB, free: 15.55 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 6.18e-05/0.3355, allocations: 43.91 kB / 1.309 GB, free: 15.51 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 9.322e-05/0.3356, allocations: 43.88 kB / 1.31 GB, free: 15.47 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 2.555e-05/0.3356, allocations: 7.938 kB / 1.31 GB, free: 15.46 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0004535/0.3361, allocations: 239.6 kB / 1.31 GB, free: 15.23 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 2.838e-05/0.3361, allocations: 7.984 kB / 1.31 GB, free: 15.22 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 6.151e-05/0.3362, allocations: 31.86 kB / 1.31 GB, free: 15.19 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.000403/0.3366, allocations: 271.2 kB / 1.31 GB, free: 14.92 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.3366, allocations: 4 kB / 1.31 GB, free: 14.92 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.282e-06/0.3366, allocations: 0 / 1.31 GB, free: 14.92 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 5.39e-06/0.3366, allocations: 4 kB / 1.31 GB, free: 14.91 MB / 1.014 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.0004906/0.3371, allocations: 367.4 kB / 1.31 GB, free: 14.52 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.3371, allocations: 12.03 kB / 1.31 GB, free: 14.51 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 9.461e-05/0.3372, allocations: 80.22 kB / 1.311 GB, free: 14.43 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001623/0.3374, allocations: 197.8 kB / 1.311 GB, free: 14.21 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.206e-05/0.3374, allocations: 154.9 kB / 1.311 GB, free: 14.06 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 8.345e-05/0.3375, allocations: 162.9 kB / 1.311 GB, free: 13.9 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 7.272e-05/0.3376, allocations: 113 kB / 1.311 GB, free: 13.78 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 3.686e-05/0.3376, allocations: 75.28 kB / 1.311 GB, free: 13.71 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.236e-05/0.3377, allocations: 150.6 kB / 1.311 GB, free: 13.56 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-05/0.3378, allocations: 150.6 kB / 1.311 GB, free: 13.41 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 6.539e-05/0.3378, allocations: 154.6 kB / 1.312 GB, free: 13.26 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003434/0.3382, allocations: 444.9 kB / 1.312 GB, free: 12.78 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 9.171e-05/0.3383, allocations: 169.1 kB / 1.312 GB, free: 12.61 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 4.37e-05/0.3383, allocations: 80.14 kB / 1.312 GB, free: 12.52 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 3.743e-05/0.3383, allocations: 83.28 kB / 1.312 GB, free: 12.44 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.632e-05/0.3384, allocations: 117.8 kB / 1.312 GB, free: 12.32 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=0): time 8.81e-07/0.3384, allocations: 0 / 1.312 GB, free: 12.32 MB / 1.014 GB
Notification: Performance of matching and sorting (n=0): time 0.0001009/0.3385, allocations: 37.66 kB / 1.313 GB, free: 12.27 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.488e-05/0.3386, allocations: 126.7 kB / 1.313 GB, free: 12.14 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001729/0.3387, allocations: 151.9 kB / 1.313 GB, free: 11.98 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 3.109e-05/0.3388, allocations: 29.7 kB / 1.313 GB, free: 11.95 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 7.239e-05/0.3388, allocations: 96.12 kB / 1.313 GB, free: 11.85 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 2.555e-06/0.3388, allocations: 0 / 1.313 GB, free: 11.85 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 9.095e-05/0.3389, allocations: 41.69 kB / 1.313 GB, free: 11.8 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001473/0.3391, allocations: 322.8 kB / 1.313 GB, free: 11.48 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001191/0.3392, allocations: 55.95 kB / 1.313 GB, free: 11.42 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001055/0.3393, allocations: 59.94 kB / 1.313 GB, free: 11.36 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001451/0.3394, allocations: 94.53 kB / 1.313 GB, free: 11.26 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.3395, allocations: 3.984 kB / 1.313 GB, free: 11.26 MB / 1.014 GB
Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004109/0.3399, allocations: 231.2 kB / 1.314 GB, free: 11.02 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 4.942e-05/0.3399, allocations: 45.69 kB / 1.314 GB, free: 10.97 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.3399, allocations: 0 / 1.314 GB, free: 10.97 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.3399, allocations: 3.938 kB / 1.314 GB, free: 10.96 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.22e-07/0.3399, allocations: 0 / 1.314 GB, free: 10.96 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.757e-06/0.3399, allocations: 3.938 kB / 1.314 GB, free: 10.96 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000323/0.3403, allocations: 23.97 kB / 1.314 GB, free: 10.94 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.885e-05/0.3403, allocations: 12 kB / 1.314 GB, free: 10.93 MB / 1.014 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.0001521/0.3405, allocations: 209 kB / 1.314 GB, free: 10.71 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001042/0.3406, allocations: 116.9 kB / 1.314 GB, free: 10.59 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.572e-05/0.3406, allocations: 116.4 kB / 1.314 GB, free: 10.46 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.461e-05/0.3407, allocations: 184.3 kB / 1.314 GB, free: 10.28 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 8.465e-05/0.3408, allocations: 180.3 kB / 1.315 GB, free: 10.09 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.159e-05/0.3409, allocations: 180.2 kB / 1.315 GB, free: 9.91 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002822/0.3412, allocations: 388.3 kB / 1.315 GB, free: 9.48 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.985e-05/0.3412, allocations: 108.9 kB / 1.315 GB, free: 9.367 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.434e-05/0.3413, allocations: 104.9 kB / 1.315 GB, free: 9.258 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 8.291e-05/0.3413, allocations: 176.3 kB / 1.315 GB, free: 9.078 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.58e-05/0.3414, allocations: 184.2 kB / 1.316 GB, free: 8.891 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.358e-05/0.3415, allocations: 176.3 kB / 1.316 GB, free: 8.711 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.655e-05/0.3416, allocations: 184.2 kB / 1.316 GB, free: 8.523 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001909/0.3418, allocations: 311.8 kB / 1.316 GB, free: 8.195 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 5.994e-05/0.3418, allocations: 112.8 kB / 1.316 GB, free: 8.078 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001037/0.3419, allocations: 180.3 kB / 1.317 GB, free: 7.895 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.4e-05/0.342, allocations: 116.9 kB / 1.317 GB, free: 7.773 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 8.974e-05/0.3421, allocations: 176.3 kB / 1.317 GB, free: 7.594 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.569e-05/0.3422, allocations: 105 kB / 1.317 GB, free: 7.484 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 8.359e-05/0.3423, allocations: 111.2 kB / 1.317 GB, free: 7.375 MB / 1.014 GB
Notification: Performance of sort global known variables: time 7e-08/0.3423, allocations: 0 / 1.317 GB, free: 7.375 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0003748/0.3426, allocations: 71.73 kB / 1.317 GB, free: 7.305 MB / 1.014 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.000956/0.3436, allocations: 407 kB / 1.317 GB, free: 6.969 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0002547/0.3438, allocations: 151.3 kB / 1.318 GB, free: 6.809 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.3439, allocations: 0 / 1.318 GB, free: 6.809 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 1.824e-06/0.3439, allocations: 0 / 1.318 GB, free: 6.809 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003836/0.3442, allocations: 459.7 kB / 1.318 GB, free: 6.355 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003261/0.3446, allocations: 220 kB / 1.318 GB, free: 6.113 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003166/0.3449, allocations: 0.6807 MB / 1.319 GB, free: 5.406 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 7.939e-05/0.345, allocations: 55.86 kB / 1.319 GB, free: 5.352 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 1.582e-05/0.345, allocations: 11.44 kB / 1.319 GB, free: 5.34 MB / 1.014 GB
Notification: Performance of SimCode: time 3e-07/0.345, allocations: 0 / 1.319 GB, free: 5.34 MB / 1.014 GB
Notification: Performance of Templates: time 0.00575/0.3507, allocations: 2.616 MB / 1.322 GB, free: 2.754 MB / 1.014 GB
"
[Timeout remaining time 300]
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: 8.927484409883618]