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) 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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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: "" <> buildModelFMU(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject,fileNamePrefix="Buildings_latest_Buildings_Utilities_IO_Python_3_8_Functions_Examples_ExchangeWithPassPythonObject",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject,fileNamePrefix="Buildings_latest_Buildings_Utilities_IO_Python_3_8_Functions_Examples_ExchangeWithPassPythonObject",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002042/0.002042, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.003083/0.003084, allocations: 194.7 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.65/2.65, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 5.106/5.106, allocations: 461.9 MB / 0.7343 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002714/0.002714, allocations: 64.94 kB / 0.8987 GB, free: 37.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5491/0.5519, allocations: 157.4 MB / 1.052 GB, free: 8.633 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.003514/0.5554, allocations: 0.6087 MB / 1.053 GB, free: 8.023 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003327/0.5588, allocations: 1.121 MB / 1.054 GB, free: 6.895 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.394e-05/0.5589, allocations: 0 / 1.054 GB, free: 6.895 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001401/0.5591, allocations: 0 / 1.054 GB, free: 6.895 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.988e-05/0.5592, allocations: 0 / 1.054 GB, free: 6.895 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001063/0.5603, allocations: 151.7 kB / 1.054 GB, free: 6.746 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001047/0.5604, allocations: 19.91 kB / 1.054 GB, free: 6.727 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.878e-05/0.5605, allocations: 4 kB / 1.054 GB, free: 6.723 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.059e-05/0.5605, allocations: 12 kB / 1.054 GB, free: 6.711 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.78e-05/0.5606, allocations: 11.92 kB / 1.054 GB, free: 6.699 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.519e-05/0.5607, allocations: 4 kB / 1.054 GB, free: 6.695 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007407/0.5614, allocations: 175.7 kB / 1.054 GB, free: 6.523 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.796e-05/0.5615, allocations: 7.984 kB / 1.054 GB, free: 6.516 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.842e-05/0.5616, allocations: 4 kB / 1.054 GB, free: 6.512 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000532/0.5621, allocations: 187.7 kB / 1.055 GB, free: 6.328 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.573e-06/0.5621, allocations: 3.938 kB / 1.055 GB, free: 6.324 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.064e-06/0.5622, allocations: 4 kB / 1.055 GB, free: 6.32 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.162e-06/0.5622, allocations: 0 / 1.055 GB, free: 6.32 MB / 0.8106 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.0006032/0.5628, allocations: 367.8 kB / 1.055 GB, free: 5.914 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.971e-05/0.5629, allocations: 8.625 kB / 1.055 GB, free: 5.906 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.637e-05/0.563, allocations: 110 kB / 1.055 GB, free: 5.789 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001296/0.5631, allocations: 84.2 kB / 1.055 GB, free: 5.707 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002421/0.5634, allocations: 243.6 kB / 1.055 GB, free: 5.43 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001036/0.5635, allocations: 150.9 kB / 1.056 GB, free: 5.281 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001092/0.5636, allocations: 154.9 kB / 1.056 GB, free: 5.129 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.975e-05/0.5637, allocations: 112.9 kB / 1.056 GB, free: 5.012 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.162e-05/0.5638, allocations: 75.28 kB / 1.056 GB, free: 4.938 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.64e-05/0.5639, allocations: 158.4 kB / 1.056 GB, free: 4.781 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.855e-05/0.564, allocations: 154.6 kB / 1.056 GB, free: 4.629 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.405e-05/0.5641, allocations: 150.6 kB / 1.056 GB, free: 4.48 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004582/0.5646, allocations: 453.9 kB / 1.057 GB, free: 3.988 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001135/0.5647, allocations: 169.1 kB / 1.057 GB, free: 3.812 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.669e-05/0.5647, allocations: 84.14 kB / 1.057 GB, free: 3.727 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 9.375e-05/0.5649, allocations: 79.22 kB / 1.057 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.951e-05/0.5649, allocations: 117.8 kB / 1.057 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 1.483e-06/0.5649, allocations: 0 / 1.057 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 0.0001134/0.5651, allocations: 25.7 kB / 1.057 GB, free: 3.492 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002184/0.5653, allocations: 134.6 kB / 1.057 GB, free: 3.348 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001803/0.5655, allocations: 105.8 kB / 1.057 GB, free: 3.234 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.711e-05/0.5655, allocations: 25.7 kB / 1.057 GB, free: 3.203 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.969e-05/0.5656, allocations: 84.14 kB / 1.058 GB, free: 3.117 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.978e-06/0.5656, allocations: 0 / 1.058 GB, free: 3.117 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.043e-05/0.5657, allocations: 25.7 kB / 1.058 GB, free: 3.086 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001626/0.5659, allocations: 310.8 kB / 1.058 GB, free: 2.773 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.621e-05/0.5659, allocations: 11.98 kB / 1.058 GB, free: 2.762 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.831e-05/0.566, allocations: 8 kB / 1.058 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.185e-05/0.5661, allocations: 20.84 kB / 1.058 GB, free: 2.73 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.5661, allocations: 0 / 1.058 GB, free: 2.73 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003432/0.5665, allocations: 61.56 kB / 1.058 GB, free: 2.664 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.497e-05/0.5665, allocations: 8.125 kB / 1.058 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/0.5665, allocations: 0 / 1.058 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.115e-05/0.5666, allocations: 3.984 kB / 1.058 GB, free: 2.652 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.743e-06/0.5666, allocations: 0 / 1.058 GB, free: 2.652 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/0.5666, allocations: 4 kB / 1.058 GB, free: 2.648 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001358/0.5667, allocations: 0 / 1.058 GB, free: 2.648 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.314e-05/0.5668, allocations: 4 kB / 1.058 GB, free: 2.645 MB / 0.8106 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.0001699/0.567, allocations: 181.1 kB / 1.058 GB, free: 2.457 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001123/0.5671, allocations: 112.9 kB / 1.058 GB, free: 2.34 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001214/0.5672, allocations: 112 kB / 1.058 GB, free: 2.227 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000101/0.5674, allocations: 176.3 kB / 1.059 GB, free: 2.047 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001069/0.5675, allocations: 180.3 kB / 1.059 GB, free: 1.863 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001076/0.5676, allocations: 184.2 kB / 1.059 GB, free: 1.676 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003821/0.568, allocations: 401.2 kB / 1.059 GB, free: 1.227 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.775e-05/0.5681, allocations: 120.8 kB / 1.059 GB, free: 1.102 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001255/0.5682, allocations: 105 kB / 1.06 GB, free: 0.9922 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.889e-05/0.5684, allocations: 176.3 kB / 1.06 GB, free: 0.8125 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002076/0.5686, allocations: 184.2 kB / 1.06 GB, free: 0.625 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.223e-05/0.5687, allocations: 176.3 kB / 1.06 GB, free: 456 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.479e-05/0.5688, allocations: 188.2 kB / 1.06 GB, free: 260 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002319/0.569, allocations: 307.7 kB / 1.06 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001121/0.5692, allocations: 189.9 kB / 1.061 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001082/0.5693, allocations: 176.3 kB / 1.061 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001324/0.5694, allocations: 109.1 kB / 1.061 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/0.5695, allocations: 184.3 kB / 1.061 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.471e-05/0.5696, allocations: 112.9 kB / 1.061 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.891e-05/0.5697, allocations: 79.28 kB / 1.061 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of sort global known variables: time 3.9e-07/0.5697, allocations: 0 / 1.061 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0005824/0.5703, allocations: 55.98 kB / 1.061 GB, free: 14.99 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.01691/0.5872, allocations: 1.012 MB / 1.062 GB, free: 14.01 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001963/0.5875, allocations: 19.98 kB / 1.062 GB, free: 13.99 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.471e-06/0.5875, allocations: 3.938 kB / 1.062 GB, free: 13.99 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.289e-06/0.5875, allocations: 0 / 1.062 GB, free: 13.99 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005517/0.5881, allocations: 459.7 kB / 1.063 GB, free: 13.54 MB / 0.8262 GB Warning: Could not resolve URI ("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/legal.html") at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002033/0.5902, allocations: 1.325 MB / 1.064 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003746/0.5906, allocations: 0.6729 MB / 1.065 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.389e-05/0.5906, allocations: 8 kB / 1.065 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.374e-05/0.5907, allocations: 15.42 kB / 1.065 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of SimCode: time 1.202e-06/0.5907, allocations: 0 / 1.065 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.025/5.616, allocations: 2.445 MB / 1.067 GB, free: 9.129 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004651/5.617, allocations: 318.1 kB / 1.067 GB, free: 8.75 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.654/9.27, allocations: 1.828 kB / 1.067 GB, free: 8.75 MB / 0.8262 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_IO_Python_3_8_Functions_Examples_ExchangeWithPassPythonObject_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_IO_Python_3_8_Functions_Examples_ExchangeWithPassPythonObject.fmu > Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe 2>&1) 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/jenkins1/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) Reference file matches