Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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: "" <> buildModelFMU(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject,fileNamePrefix="Buildings_10_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_10_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.001289/0.001289, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001436/0.001436, allocations: 196.6 kB / 16.14 MB, free: 6.711 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.305/1.305, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.408/2.408, allocations: 437 MB / 0.7099 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001394, allocations: 59.91 kB / 0.8687 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5502/0.5516, allocations: 151.6 MB / 1.017 GB, free: 2.812 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.001707/0.5534, allocations: 0.6084 MB / 1.017 GB, free: 2.207 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001407/0.5548, allocations: 1.12 MB / 1.018 GB, free: 1.078 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.394e-05/0.5548, allocations: 0 / 1.018 GB, free: 1.078 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 7.008e-05/0.5549, allocations: 0 / 1.018 GB, free: 1.078 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.905e-05/0.555, allocations: 0 / 1.018 GB, free: 1.078 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004155/0.5554, allocations: 147.6 kB / 1.019 GB, free: 0.9336 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.783e-05/0.5555, allocations: 19.92 kB / 1.019 GB, free: 0.9141 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.139e-05/0.5555, allocations: 0 / 1.019 GB, free: 0.9141 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.085e-05/0.5555, allocations: 11.94 kB / 1.019 GB, free: 0.9023 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.141e-05/0.5556, allocations: 15.98 kB / 1.019 GB, free: 0.8867 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.227e-05/0.5556, allocations: 0 / 1.019 GB, free: 0.8867 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003475/0.5559, allocations: 175.7 kB / 1.019 GB, free: 0.7148 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.136e-05/0.556, allocations: 4 kB / 1.019 GB, free: 0.7109 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.137e-05/0.556, allocations: 15.91 kB / 1.019 GB, free: 0.6953 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002642/0.5563, allocations: 187.7 kB / 1.019 GB, free: 0.5117 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.5563, allocations: 0 / 1.019 GB, free: 0.5117 MB / 0.7637 GB Notification: Performance of FrontEnd: time 7.81e-07/0.5563, allocations: 4 kB / 1.019 GB, free: 0.5078 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.5563, allocations: 0 / 1.019 GB, free: 0.5078 MB / 0.7637 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.0003091/0.5566, allocations: 369.8 kB / 1.019 GB, free: 104 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.5567, allocations: 8.031 kB / 1.019 GB, free: 96 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.842e-05/0.5567, allocations: 106 kB / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.104e-05/0.5568, allocations: 80.22 kB / 1.02 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001258/0.5569, allocations: 247.6 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.806e-05/0.557, allocations: 154.9 kB / 1.02 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.775e-05/0.5571, allocations: 154.9 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.854e-05/0.5571, allocations: 108.9 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.064e-05/0.5571, allocations: 75.28 kB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.611e-05/0.5572, allocations: 150.6 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-05/0.5572, allocations: 150.6 kB / 1.02 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.416e-05/0.5573, allocations: 154.6 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002413/0.5575, allocations: 457.9 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.15e-05/0.5576, allocations: 173.1 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.49e-05/0.5576, allocations: 80.14 kB / 1.021 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.903e-05/0.5577, allocations: 83.22 kB / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.647e-05/0.5577, allocations: 113.8 kB / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 9.01e-07/0.5577, allocations: 0 / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 6.694e-05/0.5578, allocations: 33.62 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.016e-05/0.5578, allocations: 126.7 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.029e-05/0.5579, allocations: 105.8 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.975e-05/0.558, allocations: 25.7 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.396e-05/0.558, allocations: 84.12 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.875e-06/0.558, allocations: 4 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.649e-05/0.5581, allocations: 25.7 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.87e-05/0.5581, allocations: 310.8 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.386e-05/0.5582, allocations: 7.984 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.306e-05/0.5582, allocations: 8 kB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.282e-05/0.5583, allocations: 24.84 kB / 1.022 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.5583, allocations: 3.938 kB / 1.022 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001152/0.5584, allocations: 57.56 kB / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.5584, allocations: 4.125 kB / 1.022 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.5584, allocations: 4 kB / 1.022 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.378e-06/0.5584, allocations: 0 / 1.022 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.62e-07/0.5584, allocations: 0 / 1.022 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-06/0.5584, allocations: 0 / 1.022 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.177e-05/0.5585, allocations: 7.984 kB / 1.022 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.542e-05/0.5585, allocations: 4 kB / 1.022 GB, free: 12.84 MB / 0.7794 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 9.102e-05/0.5586, allocations: 189.1 kB / 1.022 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.436e-05/0.5587, allocations: 108.9 kB / 1.023 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.208e-05/0.5588, allocations: 112.3 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.018e-05/0.5588, allocations: 188.2 kB / 1.023 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.368e-05/0.5589, allocations: 180.2 kB / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-05/0.5589, allocations: 184.3 kB / 1.023 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001952/0.5591, allocations: 401.2 kB / 1.024 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.718e-05/0.5592, allocations: 108.9 kB / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.478e-05/0.5592, allocations: 105 kB / 1.024 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.265e-05/0.5593, allocations: 184.2 kB / 1.024 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.542e-05/0.5593, allocations: 176.3 kB / 1.024 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.216e-05/0.5594, allocations: 184.2 kB / 1.024 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.359e-05/0.5594, allocations: 184.3 kB / 1.025 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001145/0.5595, allocations: 307.8 kB / 1.025 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.135e-05/0.5596, allocations: 186 kB / 1.025 GB, free: 9.902 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.091e-05/0.5597, allocations: 180.2 kB / 1.025 GB, free: 9.719 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.299e-05/0.5597, allocations: 101 kB / 1.025 GB, free: 9.613 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.591e-05/0.5598, allocations: 184.3 kB / 1.025 GB, free: 9.426 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.898e-05/0.5598, allocations: 104.9 kB / 1.026 GB, free: 9.316 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.305e-05/0.5599, allocations: 87.27 kB / 1.026 GB, free: 9.23 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.5599, allocations: 0 / 1.026 GB, free: 9.23 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002843/0.5602, allocations: 59.89 kB / 1.026 GB, free: 9.172 MB / 0.7794 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.0007987/0.561, allocations: 1.008 MB / 1.027 GB, free: 8.203 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 7.323e-05/0.5611, allocations: 19.92 kB / 1.027 GB, free: 8.184 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.5611, allocations: 0 / 1.027 GB, free: 8.184 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.493e-06/0.5611, allocations: 0 / 1.027 GB, free: 8.184 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003269/0.5614, allocations: 0.527 MB / 1.027 GB, free: 7.656 MB / 0.7794 GB Warning: Could not resolve URI ("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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.0009267/0.5624, allocations: 1.339 MB / 1.028 GB, free: 6.234 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002016/0.5626, allocations: 0.6692 MB / 1.029 GB, free: 5.539 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.568e-05/0.5626, allocations: 11.98 kB / 1.029 GB, free: 5.527 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.904e-05/0.5626, allocations: 15.42 kB / 1.029 GB, free: 5.512 MB / 0.7794 GB Notification: Performance of SimCode: time 2e-07/0.5627, allocations: 0 / 1.029 GB, free: 5.512 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.21/1.772, allocations: 2.394 MB / 1.032 GB, free: 3.266 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002228/1.773, allocations: 311.6 kB / 1.032 GB, free: 2.891 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.34/4.112, allocations: 6.344 kB / 1.032 GB, free: 2.887 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe ; mkfifo Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe >> ../files/Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_IO_Python_3_8_Functions_Examples_ExchangeWithPassPythonObject_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_IO_Python_3_8_Functions_Examples_ExchangeWithPassPythonObject.fmu > Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_IO_Python_3_8_Functions_Examples_ExchangeWithPassPythonObject.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches