Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) 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.ExchangeWithPassPythonObject,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|yR1.1.|yR2.1.",fileNamePrefix="Buildings_11_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=5000,variableFilter="time|yR1.1.|yR2.1.",fileNamePrefix="Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001323/0.001328, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001379/0.001379, allocations: 192.9 kB / 16.25 MB, free: 6.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.501/1.501, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.912/2.912, allocations: 469.8 MB / 0.742 GB, free: 7.617 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002694/0.002695, allocations: 67.69 kB / 0.908 GB, free: 34.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3517/0.3544, allocations: 159.2 MB / 1.063 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.00179/0.3562, allocations: 0.5965 MB / 1.064 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001684/0.3579, allocations: 1.118 MB / 1.065 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.565e-05/0.3579, allocations: 4 kB / 1.065 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 7.439e-05/0.358, allocations: 8 kB / 1.065 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.761e-05/0.3581, allocations: 0 / 1.065 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004358/0.3585, allocations: 139.7 kB / 1.065 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 4.893e-05/0.3586, allocations: 23.92 kB / 1.065 GB, free: 12.72 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.082e-05/0.3586, allocations: 0 / 1.065 GB, free: 12.72 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.238e-05/0.3586, allocations: 11.97 kB / 1.065 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.5e-05/0.3587, allocations: 11.94 kB / 1.065 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.897e-06/0.3587, allocations: 0 / 1.065 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003273/0.359, allocations: 179.7 kB / 1.066 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.239e-05/0.3591, allocations: 15.98 kB / 1.066 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.339e-05/0.3591, allocations: 4 kB / 1.066 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002772/0.3594, allocations: 195.6 kB / 1.066 GB, free: 12.31 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.3594, allocations: 0 / 1.066 GB, free: 12.31 MB / 0.8262 GB Notification: Performance of FrontEnd: time 8.62e-07/0.3594, allocations: 0 / 1.066 GB, free: 12.31 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.367e-06/0.3594, allocations: 0 / 1.066 GB, free: 12.31 MB / 0.8262 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.0004401/0.3599, allocations: 363.6 kB / 1.066 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 2.74e-05/0.3599, allocations: 8.031 kB / 1.066 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.174e-05/0.36, allocations: 80.22 kB / 1.066 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001601/0.3601, allocations: 243.9 kB / 1.066 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.558e-05/0.3602, allocations: 150.9 kB / 1.067 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.215e-05/0.3603, allocations: 158.9 kB / 1.067 GB, free: 11.24 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.658e-05/0.3604, allocations: 113 kB / 1.067 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.638e-05/0.3604, allocations: 75.28 kB / 1.067 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.23e-05/0.3605, allocations: 158.5 kB / 1.067 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.901e-05/0.3606, allocations: 150.6 kB / 1.067 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.289e-05/0.3606, allocations: 150.6 kB / 1.067 GB, free: 10.6 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003291/0.361, allocations: 449.9 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 9.821e-05/0.3611, allocations: 173.1 kB / 1.068 GB, free: 9.93 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.905e-05/0.3611, allocations: 84.14 kB / 1.068 GB, free: 9.844 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.275e-05/0.3612, allocations: 75.28 kB / 1.068 GB, free: 9.77 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.584e-05/0.3612, allocations: 113.8 kB / 1.068 GB, free: 9.648 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 8.51e-07/0.3612, allocations: 0 / 1.068 GB, free: 9.648 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 7.237e-05/0.3613, allocations: 29.61 kB / 1.068 GB, free: 9.613 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.438e-05/0.3614, allocations: 134.6 kB / 1.068 GB, free: 9.469 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001107/0.3615, allocations: 105.8 kB / 1.068 GB, free: 9.355 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.397e-05/0.3615, allocations: 29.69 kB / 1.068 GB, free: 9.32 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.55e-05/0.3616, allocations: 84.14 kB / 1.069 GB, free: 9.234 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.393e-06/0.3616, allocations: 0 / 1.069 GB, free: 9.234 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.047e-05/0.3617, allocations: 21.64 kB / 1.069 GB, free: 9.207 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.3618, allocations: 314.8 kB / 1.069 GB, free: 8.891 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.465e-05/0.3618, allocations: 8 kB / 1.069 GB, free: 8.883 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.877e-05/0.3619, allocations: 11.98 kB / 1.069 GB, free: 8.871 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.223e-05/0.3619, allocations: 16.86 kB / 1.069 GB, free: 8.852 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.3619, allocations: 7.984 kB / 1.069 GB, free: 8.844 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000132/0.3621, allocations: 61.56 kB / 1.069 GB, free: 8.777 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 9.739e-06/0.3621, allocations: 4 kB / 1.069 GB, free: 8.773 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.426e-06/0.3621, allocations: 0 / 1.069 GB, free: 8.773 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.236e-06/0.3621, allocations: 0 / 1.069 GB, free: 8.773 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.12e-07/0.3621, allocations: 0 / 1.069 GB, free: 8.773 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.705e-06/0.3621, allocations: 4 kB / 1.069 GB, free: 8.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.891e-05/0.3622, allocations: 4.125 kB / 1.069 GB, free: 8.766 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.507e-05/0.3622, allocations: 4 kB / 1.069 GB, free: 8.762 MB / 0.8262 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.0001096/0.3623, allocations: 185.1 kB / 1.069 GB, free: 8.57 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.456e-05/0.3624, allocations: 112.9 kB / 1.069 GB, free: 8.453 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001248/0.3625, allocations: 108.2 kB / 1.069 GB, free: 8.344 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.43e-05/0.3626, allocations: 176.3 kB / 1.07 GB, free: 8.164 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.655e-05/0.3627, allocations: 184.2 kB / 1.07 GB, free: 7.977 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001553/0.3629, allocations: 188.2 kB / 1.07 GB, free: 7.785 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00029/0.3632, allocations: 401.3 kB / 1.07 GB, free: 7.336 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.141e-05/0.3632, allocations: 112.9 kB / 1.07 GB, free: 7.219 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.707e-05/0.3633, allocations: 108.9 kB / 1.07 GB, free: 7.105 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.511e-05/0.3634, allocations: 176.3 kB / 1.071 GB, free: 6.926 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.238e-05/0.3634, allocations: 184.2 kB / 1.071 GB, free: 6.738 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.137e-05/0.3635, allocations: 180.3 kB / 1.071 GB, free: 6.555 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.817e-05/0.3636, allocations: 184.2 kB / 1.071 GB, free: 6.367 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001589/0.3638, allocations: 307.7 kB / 1.071 GB, free: 6.043 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.8e-05/0.3639, allocations: 190 kB / 1.072 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001546/0.364, allocations: 176.3 kB / 1.072 GB, free: 5.652 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.119e-05/0.3641, allocations: 112.9 kB / 1.072 GB, free: 5.535 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.841e-05/0.3642, allocations: 176.3 kB / 1.072 GB, free: 5.355 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001063/0.3643, allocations: 104.9 kB / 1.072 GB, free: 5.246 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.617e-05/0.3644, allocations: 79.28 kB / 1.072 GB, free: 5.168 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3644, allocations: 4 kB / 1.072 GB, free: 5.164 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003326/0.3647, allocations: 55.98 kB / 1.072 GB, free: 5.109 MB / 0.8262 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.0007595/0.3655, allocations: 385.4 kB / 1.073 GB, free: 4.785 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 7.439e-05/0.3656, allocations: 11.98 kB / 1.073 GB, free: 4.773 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3656, allocations: 0 / 1.073 GB, free: 4.773 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.643e-06/0.3656, allocations: 0 / 1.073 GB, free: 4.773 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003418/0.3659, allocations: 455.7 kB / 1.073 GB, free: 4.324 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001858/0.3661, allocations: 176.3 kB / 1.073 GB, free: 4.125 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000283/0.3664, allocations: 0.6729 MB / 1.074 GB, free: 3.426 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001025/0.3665, allocations: 7.984 kB / 1.074 GB, free: 3.418 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.764e-05/0.3666, allocations: 15.44 kB / 1.074 GB, free: 3.402 MB / 0.8262 GB Notification: Performance of SimCode: time 2.71e-07/0.3666, allocations: 0 / 1.074 GB, free: 3.402 MB / 0.8262 GB Notification: Performance of Templates: time 0.004825/0.3714, allocations: 1.524 MB / 1.075 GB, free: 1.895 MB / 0.8262 GB make -j1 -f Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.makefile (rm -f Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe ; mkfifo Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe >> ../files/Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.sim & ./Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_IO_Python_3_8_Functions_Examples_ExchangeWithPassPythonObject.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches