Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.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.001356/0.001356, 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.001409/0.001409, allocations: 192.1 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.443/1.443, allocations: 225.6 MB / 250.8 MB, free: 2.902 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.958/2.958, allocations: 495.8 MB / 0.783 GB, free: 12.3 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.ExchangeWithPassPythonObject,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|yR1.1.|yR2.1.",fileNamePrefix="Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject")
translateModel(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|yR1.1.|yR2.1.",fileNamePrefix="Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002101/0.002101, allocations: 71.89 kB / 1.137 GB, free: 12.2 MB / 0.92 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.898/0.9001, 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.ExchangeWithPassPythonObject): time 0.001778/0.9018, allocations: 0.5557 MB / 1.307 GB, free: 33.41 MB / 1.061 GB
Notification: Performance of NFInst.instExpressions: time 0.001439/0.9033, allocations: 1.221 MB / 1.308 GB, free: 32.55 MB / 1.061 GB
Notification: Performance of NFInst.updateImplicitVariability: time 3.082e-05/0.9033, allocations: 3.219 kB / 1.308 GB, free: 32.55 MB / 1.061 GB
Notification: Performance of NFTyping.typeComponents: time 0.0001002/0.9034, allocations: 7.984 kB / 1.308 GB, free: 32.55 MB / 1.061 GB
Notification: Performance of NFTyping.typeBindings: time 5.131e-05/0.9035, allocations: 0 / 1.308 GB, free: 32.55 MB / 1.061 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0005177/0.904, allocations: 187 kB / 1.309 GB, free: 32.45 MB / 1.061 GB
Notification: Performance of NFFlatten.flatten: time 6.879e-05/0.9041, allocations: 16.02 kB / 1.309 GB, free: 32.45 MB / 1.061 GB
Notification: Performance of NFFlatten.resolveConnections: time 3.924e-05/0.9041, allocations: 3 kB / 1.309 GB, free: 32.45 MB / 1.061 GB
Notification: Performance of NFEvalConstants.evaluate: time 2.391e-05/0.9041, allocations: 9.781 kB / 1.309 GB, free: 32.45 MB / 1.061 GB
Notification: Performance of NFSimplifyModel.simplify: time 4.673e-05/0.9042, allocations: 8.797 kB / 1.309 GB, free: 32.45 MB / 1.061 GB
Notification: Performance of NFPackage.collectConstants: time 1.566e-05/0.9042, allocations: 3.938 kB / 1.309 GB, free: 32.44 MB / 1.061 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0003647/0.9045, allocations: 234.3 kB / 1.309 GB, free: 32.36 MB / 1.061 GB
Notification: Performance of NFScalarize.scalarize: time 3.834e-05/0.9046, allocations: 3.938 kB / 1.309 GB, free: 32.35 MB / 1.061 GB
Notification: Performance of NFVerifyModel.verify: time 2.418e-05/0.9046, allocations: 2.781 kB / 1.309 GB, free: 32.35 MB / 1.061 GB
Notification: Performance of NFConvertDAE.convert: time 0.0002574/0.9049, allocations: 208.7 kB / 1.309 GB, free: 32.28 MB / 1.061 GB
Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.9049, allocations: 0 / 1.309 GB, free: 32.28 MB / 1.061 GB
Notification: Performance of FrontEnd: time 1.793e-06/0.9049, allocations: 0 / 1.309 GB, free: 32.28 MB / 1.061 GB
Notification: Performance of Transformations before backend: time 5.27e-06/0.9049, allocations: 2.781 kB / 1.309 GB, free: 32.28 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.0002986/0.9052, allocations: 297.7 kB / 1.309 GB, free: 31.99 MB / 1.061 GB
Notification: Performance of prepare preOptimizeDAE: time 3.309e-05/0.9052, allocations: 8.656 kB / 1.309 GB, free: 31.99 MB / 1.061 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.188e-05/0.9053, allocations: 76.22 kB / 1.309 GB, free: 31.91 MB / 1.061 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 8.785e-05/0.9053, allocations: 180.8 kB / 1.31 GB, free: 31.71 MB / 1.061 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.471e-05/0.9054, allocations: 154.9 kB / 1.31 GB, free: 31.56 MB / 1.061 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.01e-05/0.9054, allocations: 153.7 kB / 1.31 GB, free: 31.41 MB / 1.061 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 4.387e-05/0.9054, allocations: 112.5 kB / 1.31 GB, free: 31.3 MB / 1.061 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.9055, allocations: 75.28 kB / 1.31 GB, free: 31.23 MB / 1.061 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.236e-05/0.9055, allocations: 157.2 kB / 1.31 GB, free: 31.07 MB / 1.061 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.934e-05/0.9055, allocations: 154.6 kB / 1.31 GB, free: 30.92 MB / 1.061 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 2.152e-05/0.9055, allocations: 150.6 kB / 1.311 GB, free: 30.77 MB / 1.061 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00018/0.9057, allocations: 427.5 kB / 1.311 GB, free: 30.32 MB / 1.061 GB
Notification: Performance of preOpt comSubExp (simulation): time 4.282e-05/0.9057, allocations: 168.1 kB / 1.311 GB, free: 30.15 MB / 1.061 GB
Notification: Performance of preOpt resolveLoops (simulation): time 1.63e-05/0.9058, allocations: 81.19 kB / 1.311 GB, free: 30.07 MB / 1.061 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.495e-05/0.9058, allocations: 79.22 kB / 1.311 GB, free: 29.99 MB / 1.061 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.345e-05/0.9058, allocations: 109.8 kB / 1.311 GB, free: 29.87 MB / 1.061 GB
Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.9058, allocations: 4 kB / 1.311 GB, free: 29.87 MB / 1.061 GB
Notification: Performance of matching and sorting (n=0): time 6.905e-05/0.9059, allocations: 28.58 kB / 1.311 GB, free: 29.84 MB / 1.061 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.319e-05/0.9059, allocations: 130.7 kB / 1.312 GB, free: 29.7 MB / 1.061 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.555e-05/0.906, allocations: 102.8 kB / 1.312 GB, free: 29.59 MB / 1.061 GB
Notification: Performance of collectPreVariables (initialization): time 1.024e-05/0.906, allocations: 25.7 kB / 1.312 GB, free: 29.56 MB / 1.061 GB
Notification: Performance of collectInitialEqns (initialization): time 2.706e-05/0.906, allocations: 90.84 kB / 1.312 GB, free: 29.47 MB / 1.061 GB
Notification: Performance of collectInitialBindings (initialization): time 1.754e-06/0.906, allocations: 0 / 1.312 GB, free: 29.47 MB / 1.061 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.381e-05/0.9061, allocations: 18.41 kB / 1.312 GB, free: 29.46 MB / 1.061 GB
Notification: Performance of setup shared object (initialization): time 4.685e-05/0.9061, allocations: 321.6 kB / 1.312 GB, free: 29.14 MB / 1.061 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 2.632e-05/0.9061, allocations: 6.141 kB / 1.312 GB, free: 29.14 MB / 1.061 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 2.736e-05/0.9062, allocations: 16.41 kB / 1.312 GB, free: 29.13 MB / 1.061 GB
Notification: Performance of analyzeInitialSystem (initialization): time 4.57e-05/0.9062, allocations: 18.91 kB / 1.312 GB, free: 29.12 MB / 1.061 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.9062, allocations: 0 / 1.312 GB, free: 29.12 MB / 1.061 GB
Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001247/0.9063, allocations: 58.17 kB / 1.312 GB, free: 29.08 MB / 1.061 GB
Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.9063, allocations: 5.875 kB / 1.312 GB, free: 29.08 MB / 1.061 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.9063, allocations: 0 / 1.312 GB, free: 29.08 MB / 1.061 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.9064, allocations: 4.125 kB / 1.312 GB, free: 29.08 MB / 1.061 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.794e-06/0.9064, allocations: 2.938 kB / 1.312 GB, free: 29.08 MB / 1.061 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.9064, allocations: 3.938 kB / 1.312 GB, free: 29.07 MB / 1.061 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.894e-05/0.9064, allocations: 3.938 kB / 1.312 GB, free: 29.07 MB / 1.061 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.797e-05/0.9065, allocations: 10.34 kB / 1.312 GB, free: 29.07 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: 0 ()
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (2):
 * Single equations (assignments): 0
 * Array equations: 2
 * 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 prepare postOptimizeDAE: time 5.721e-05/0.9065, allocations: 192 kB / 1.312 GB, free: 28.87 MB / 1.061 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.706e-05/0.9066, allocations: 108.9 kB / 1.313 GB, free: 28.76 MB / 1.061 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.21e-05/0.9066, allocations: 111.5 kB / 1.313 GB, free: 28.64 MB / 1.061 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.362e-05/0.9066, allocations: 187.7 kB / 1.313 GB, free: 28.46 MB / 1.061 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 2.35e-05/0.9066, allocations: 176.3 kB / 1.313 GB, free: 28.28 MB / 1.061 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.276e-05/0.9067, allocations: 179.1 kB / 1.313 GB, free: 28.1 MB / 1.061 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001362/0.9068, allocations: 378.4 kB / 1.313 GB, free: 27.68 MB / 1.061 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.241e-05/0.9068, allocations: 101.1 kB / 1.314 GB, free: 27.58 MB / 1.061 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.633e-05/0.9068, allocations: 119.7 kB / 1.314 GB, free: 27.46 MB / 1.061 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-05/0.9068, allocations: 180.3 kB / 1.314 GB, free: 27.27 MB / 1.061 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.483e-05/0.9069, allocations: 183.5 kB / 1.314 GB, free: 27.09 MB / 1.061 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-05/0.9069, allocations: 179.1 kB / 1.314 GB, free: 26.91 MB / 1.061 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.202e-05/0.9069, allocations: 176.3 kB / 1.314 GB, free: 26.73 MB / 1.061 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 6.005e-05/0.907, allocations: 310.3 kB / 1.315 GB, free: 26.41 MB / 1.061 GB
Notification: Performance of postOpt removeConstants (simulation): time 2.033e-05/0.907, allocations: 111.8 kB / 1.315 GB, free: 26.3 MB / 1.061 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.006e-05/0.907, allocations: 180.3 kB / 1.315 GB, free: 26.11 MB / 1.061 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.308e-05/0.9071, allocations: 101 kB / 1.315 GB, free: 26.01 MB / 1.061 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 2.691e-05/0.9071, allocations: 190.4 kB / 1.315 GB, free: 25.82 MB / 1.061 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.472e-05/0.9071, allocations: 101 kB / 1.315 GB, free: 25.71 MB / 1.061 GB
Notification: Performance of sorting global known variables: time 2.34e-05/0.9071, allocations: 78.22 kB / 1.315 GB, free: 25.64 MB / 1.061 GB
Notification: Performance of sort global known variables: time 8.1e-08/0.9071, allocations: 2.938 kB / 1.315 GB, free: 25.64 MB / 1.061 GB
Notification: Performance of remove unused functions: time 0.0003147/0.9074, allocations: 59.41 kB / 1.315 GB, free: 25.62 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.000747/0.9082, allocations: 398.3 kB / 1.316 GB, free: 25.38 MB / 1.061 GB
Notification: Performance of simCode: created initialization part: time 8.907e-05/0.9083, allocations: 11.56 kB / 1.316 GB, free: 25.37 MB / 1.061 GB
Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.9083, allocations: 0 / 1.316 GB, free: 25.37 MB / 1.061 GB
Notification: Performance of simCode: created simulation system equations: time 3.496e-06/0.9083, allocations: 6.203 kB / 1.316 GB, free: 25.37 MB / 1.061 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002636/0.9086, allocations: 455.8 kB / 1.316 GB, free: 24.92 MB / 1.061 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001906/0.9087, allocations: 163.7 kB / 1.316 GB, free: 24.75 MB / 1.061 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 9.814e-05/0.9088, allocations: 0.6723 MB / 1.317 GB, free: 24.05 MB / 1.061 GB
Notification: Performance of simCode: alias equations: time 9.165e-05/0.9089, allocations: 9.172 kB / 1.317 GB, free: 24.05 MB / 1.061 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.487e-05/0.909, allocations: 16.69 kB / 1.317 GB, free: 24.04 MB / 1.061 GB
Notification: Performance of SimCode: time 3.8e-07/0.909, allocations: 0 / 1.317 GB, free: 24.04 MB / 1.061 GB
Notification: Performance of Templates: time 0.003844/0.9128, allocations: 1.528 MB / 1.319 GB, free: 23.84 MB / 1.061 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe ; mkfifo Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe >> ../files/Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.sim & ./Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_IO_Python_3_8_Functions_Examples_ExchangeWithPassPythonObject.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.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.153933922760189]