Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00147/0.00147, allocations: 113.9 kB / 18.94 MB, free: 2.789 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.001498/0.001498, allocations: 190.8 kB / 22.23 MB, free: 5.227 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.285/1.285, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB
"
[Timeout remaining time 179]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 2.823/2.823, allocations: 495.7 MB / 0.7831 GB, free: 33.36 MB / 0.6231 GB
"
[Timeout remaining time 177]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/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_latest_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_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.001846/0.001846, allocations: 69.31 kB / 1.137 GB, free: 33.91 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2908/0.2927, allocations: 173.6 MB / 1.307 GB, free: 1.906 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.001825/0.2945, allocations: 0.5512 MB / 1.307 GB, free: 1.355 MB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.001654/0.2961, allocations: 1.231 MB / 1.309 GB, free: 120 kB / 0.9981 GB
Notification: Performance of NFInst.updateImplicitVariability: time 1.971e-05/0.2962, allocations: 3.938 kB / 1.309 GB, free: 116 kB / 0.9981 GB
Notification: Performance of NFTyping.typeComponents: time 7.949e-05/0.2962, allocations: 0 / 1.309 GB, free: 116 kB / 0.9981 GB
Notification: Performance of NFTyping.typeBindings: time 4.755e-05/0.2963, allocations: 4 kB / 1.309 GB, free: 112 kB / 0.9981 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0005645/0.2968, allocations: 183.4 kB / 1.309 GB, free: 15.93 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 6.011e-05/0.2969, allocations: 11.98 kB / 1.309 GB, free: 15.92 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 3.563e-05/0.2969, allocations: 4 kB / 1.309 GB, free: 15.91 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 2.509e-05/0.297, allocations: 11.97 kB / 1.309 GB, free: 15.9 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 3.83e-05/0.297, allocations: 8 kB / 1.309 GB, free: 15.89 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 1.116e-05/0.297, allocations: 0 / 1.309 GB, free: 15.89 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0004096/0.2974, allocations: 247.5 kB / 1.309 GB, free: 15.65 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 3.695e-05/0.2975, allocations: 8 kB / 1.309 GB, free: 15.64 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 2.32e-05/0.2975, allocations: 8 kB / 1.309 GB, free: 15.64 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0003077/0.2978, allocations: 203.4 kB / 1.309 GB, free: 15.44 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.2978, allocations: 0 / 1.309 GB, free: 15.44 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.192e-06/0.2978, allocations: 0 / 1.309 GB, free: 15.44 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 9.127e-06/0.2978, allocations: 0 / 1.309 GB, free: 15.44 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.0003638/0.2982, allocations: 297.8 kB / 1.31 GB, free: 15.12 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 3.251e-05/0.2982, allocations: 8.922 kB / 1.31 GB, free: 15.11 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 6.191e-05/0.2983, allocations: 76.22 kB / 1.31 GB, free: 15.04 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001378/0.2984, allocations: 185.8 kB / 1.31 GB, free: 14.83 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.24e-05/0.2985, allocations: 154.9 kB / 1.31 GB, free: 14.68 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 7.557e-05/0.2985, allocations: 154.9 kB / 1.31 GB, free: 14.52 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 7.192e-05/0.2986, allocations: 109 kB / 1.31 GB, free: 14.41 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 3.352e-05/0.2987, allocations: 79.28 kB / 1.31 GB, free: 14.33 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.44e-05/0.2987, allocations: 150.6 kB / 1.311 GB, free: 14.18 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.176e-05/0.2988, allocations: 154.6 kB / 1.311 GB, free: 14.03 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 6.042e-05/0.2988, allocations: 150.6 kB / 1.311 GB, free: 13.88 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003002/0.2991, allocations: 421 kB / 1.311 GB, free: 13.43 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 9.224e-05/0.2992, allocations: 173.1 kB / 1.311 GB, free: 13.25 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 4.43e-05/0.2993, allocations: 88.14 kB / 1.311 GB, free: 13.16 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 3.347e-05/0.2993, allocations: 75.28 kB / 1.312 GB, free: 13.09 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.749e-05/0.2994, allocations: 109.8 kB / 1.312 GB, free: 12.97 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=0): time 7.51e-07/0.2994, allocations: 0 / 1.312 GB, free: 12.97 MB / 1.014 GB
Notification: Performance of matching and sorting (n=0): time 7.898e-05/0.2994, allocations: 33.66 kB / 1.312 GB, free: 12.93 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.362e-05/0.2995, allocations: 130.7 kB / 1.312 GB, free: 12.79 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001186/0.2996, allocations: 109.7 kB / 1.312 GB, free: 12.67 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 2.188e-05/0.2997, allocations: 29.69 kB / 1.312 GB, free: 12.64 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 4.823e-05/0.2997, allocations: 92.08 kB / 1.312 GB, free: 12.54 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 1.783e-06/0.2997, allocations: 0 / 1.312 GB, free: 12.54 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.721e-05/0.2997, allocations: 17.7 kB / 1.312 GB, free: 12.52 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001395/0.2999, allocations: 310.8 kB / 1.312 GB, free: 12.21 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 2.972e-05/0.2999, allocations: 12 kB / 1.312 GB, free: 12.2 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 2.904e-05/0.2999, allocations: 11.98 kB / 1.312 GB, free: 12.18 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 4.751e-05/0.3, allocations: 24.94 kB / 1.312 GB, free: 12.16 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3, allocations: 0 / 1.312 GB, free: 12.16 MB / 1.014 GB
Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001251/0.3001, allocations: 57.62 kB / 1.312 GB, free: 12.09 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.3001, allocations: 4 kB / 1.312 GB, free: 12.09 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.3001, allocations: 3.938 kB / 1.312 GB, free: 12.09 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.3001, allocations: 0 / 1.312 GB, free: 12.09 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.82e-07/0.3001, allocations: 0 / 1.312 GB, free: 12.09 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/0.3002, allocations: 4 kB / 1.312 GB, free: 12.08 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.149e-05/0.3002, allocations: 0 / 1.312 GB, free: 12.08 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.792e-05/0.3002, allocations: 8.016 kB / 1.312 GB, free: 12.07 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: 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 0.0001738/0.3004, allocations: 188.4 kB / 1.313 GB, free: 11.88 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001238/0.3005, allocations: 108.9 kB / 1.313 GB, free: 11.77 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.923e-05/0.3006, allocations: 112.1 kB / 1.313 GB, free: 11.65 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.351e-05/0.3007, allocations: 176.3 kB / 1.313 GB, free: 11.47 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 8.159e-05/0.3008, allocations: 184.3 kB / 1.313 GB, free: 11.29 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.425e-05/0.3008, allocations: 188.2 kB / 1.313 GB, free: 11.09 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002353/0.3011, allocations: 376.3 kB / 1.314 GB, free: 10.68 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.396e-05/0.3012, allocations: 108.9 kB / 1.314 GB, free: 10.56 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.374e-05/0.3012, allocations: 104.9 kB / 1.314 GB, free: 10.45 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 7.125e-05/0.3013, allocations: 176.3 kB / 1.314 GB, free: 10.27 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.782e-05/0.3013, allocations: 184.2 kB / 1.314 GB, free: 10.09 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.301e-05/0.3014, allocations: 180.3 kB / 1.314 GB, free: 9.902 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001083/0.3015, allocations: 188.2 kB / 1.315 GB, free: 9.711 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001456/0.3017, allocations: 299.8 kB / 1.315 GB, free: 9.395 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 6.716e-05/0.3017, allocations: 108.9 kB / 1.315 GB, free: 9.281 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001182/0.3019, allocations: 192.2 kB / 1.315 GB, free: 9.086 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.624e-05/0.3019, allocations: 104.9 kB / 1.315 GB, free: 8.977 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 7.733e-05/0.302, allocations: 176.3 kB / 1.315 GB, free: 8.797 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.038e-05/0.3021, allocations: 104.9 kB / 1.316 GB, free: 8.688 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 5.331e-05/0.3021, allocations: 87.2 kB / 1.316 GB, free: 8.602 MB / 1.014 GB
Notification: Performance of sort global known variables: time 9e-08/0.3021, allocations: 0 / 1.316 GB, free: 8.602 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0003438/0.3025, allocations: 59.73 kB / 1.316 GB, free: 8.543 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.0007635/0.3032, allocations: 384.7 kB / 1.316 GB, free: 8.219 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0001017/0.3033, allocations: 15.98 kB / 1.316 GB, free: 8.203 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 6.452e-06/0.3033, allocations: 0 / 1.316 GB, free: 8.203 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 1.763e-06/0.3033, allocations: 4 kB / 1.316 GB, free: 8.199 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004045/0.3037, allocations: 455.6 kB / 1.317 GB, free: 7.75 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003138/0.304, allocations: 172.1 kB / 1.317 GB, free: 7.555 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003409/0.3044, allocations: 0.6807 MB / 1.317 GB, free: 6.848 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 9.692e-05/0.3045, allocations: 11.98 kB / 1.317 GB, free: 6.836 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.914e-05/0.3045, allocations: 15.42 kB / 1.317 GB, free: 6.82 MB / 1.014 GB
Notification: Performance of SimCode: time 2.9e-07/0.3045, allocations: 0 / 1.317 GB, free: 6.82 MB / 1.014 GB
Notification: Performance of Templates: time 0.004209/0.3087, allocations: 1.516 MB / 1.319 GB, free: 5.34 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.makefile [Timeout 300]
(rm -f Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.sim & ./Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject  -abortSlowSimulation -alarm=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe 2>&1) [Timeout 800]
diffSimulationResults("Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_IO_Python_3_8_Functions_Examples_ExchangeWithPassPythonObject.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 7.742991105653346]