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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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: 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_10_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_10_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.001151/0.001151, allocations: 99.36 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.00116/0.00116, allocations: 196 kB / 16.25 MB, free: 6.633 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.358/1.358, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.504/2.504, allocations: 437 MB / 0.71 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001209, allocations: 63.91 kB / 0.8687 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6534/0.6546, allocations: 151.6 MB / 1.017 GB, free: 2.719 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.002005/0.6566, allocations: 0.6004 MB / 1.017 GB, free: 2.121 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001465/0.6581, allocations: 1.113 MB / 1.018 GB, free: 1 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.764e-05/0.6581, allocations: 0 / 1.018 GB, free: 1 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 8.808e-05/0.6583, allocations: 4 kB / 1.018 GB, free: 0.9961 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.278e-05/0.6583, allocations: 0 / 1.018 GB, free: 0.9961 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004439/0.6588, allocations: 151.7 kB / 1.019 GB, free: 0.8477 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.123e-05/0.6588, allocations: 11.98 kB / 1.019 GB, free: 0.8359 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.846e-05/0.6589, allocations: 8 kB / 1.019 GB, free: 0.8281 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.274e-05/0.6589, allocations: 11.92 kB / 1.019 GB, free: 0.8164 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.102e-05/0.6589, allocations: 11.92 kB / 1.019 GB, free: 0.8047 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.103e-05/0.659, allocations: 0 / 1.019 GB, free: 0.8047 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003331/0.6593, allocations: 182.8 kB / 1.019 GB, free: 0.6289 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.557e-05/0.6593, allocations: 11.97 kB / 1.019 GB, free: 0.6172 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.155e-05/0.6594, allocations: 0 / 1.019 GB, free: 0.6172 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002597/0.6596, allocations: 199.7 kB / 1.019 GB, free: 432 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.6596, allocations: 0 / 1.019 GB, free: 432 kB / 0.7637 GB Notification: Performance of FrontEnd: time 2.054e-06/0.6597, allocations: 0 / 1.019 GB, free: 432 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.6597, allocations: 0 / 1.019 GB, free: 432 kB / 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.0003562/0.66, allocations: 367.4 kB / 1.019 GB, free: 16 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.6601, allocations: 16.02 kB / 1.019 GB, free: 0 / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.333e-05/0.6602, allocations: 76.22 kB / 1.019 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001488/0.6603, allocations: 237.6 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.168e-05/0.6604, allocations: 158.9 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.41e-05/0.6604, allocations: 150.9 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.192e-05/0.6605, allocations: 109.1 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.468e-05/0.6605, allocations: 75.28 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.303e-05/0.6606, allocations: 154.6 kB / 1.02 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.156e-05/0.6606, allocations: 158.5 kB / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.08e-05/0.6607, allocations: 154.6 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000258/0.661, allocations: 453.9 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.499e-05/0.661, allocations: 169.2 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.822e-05/0.6611, allocations: 84.08 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.633e-05/0.6611, allocations: 87.2 kB / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.538e-05/0.6612, allocations: 109.8 kB / 1.021 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.6612, allocations: 0 / 1.021 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 6.641e-05/0.6612, allocations: 29.7 kB / 1.021 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.886e-05/0.6613, allocations: 126.7 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.419e-05/0.6614, allocations: 105.8 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.476e-05/0.6614, allocations: 25.7 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.448e-05/0.6615, allocations: 84.14 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.914e-06/0.6615, allocations: 0 / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.58e-05/0.6615, allocations: 21.72 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.268e-05/0.6616, allocations: 310.8 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.482e-05/0.6617, allocations: 7.984 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.851e-05/0.6617, allocations: 15.94 kB / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.888e-05/0.6617, allocations: 20.84 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.6617, allocations: 4.094 kB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001193/0.6619, allocations: 57.53 kB / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.6619, allocations: 8 kB / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.6619, allocations: 0 / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.779e-06/0.6619, allocations: 7.922 kB / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.42e-07/0.6619, allocations: 0 / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.567e-06/0.6619, allocations: 0 / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.543e-05/0.662, allocations: 0 / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.646e-05/0.662, allocations: 4 kB / 1.022 GB, free: 12.87 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 0.000103/0.6621, allocations: 193.6 kB / 1.022 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.948e-05/0.6622, allocations: 108.9 kB / 1.023 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.877e-05/0.6622, allocations: 108.1 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.98e-05/0.6623, allocations: 188.2 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.297e-05/0.6624, allocations: 180.3 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.378e-05/0.6625, allocations: 180.3 kB / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002017/0.6627, allocations: 405.2 kB / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.732e-05/0.6627, allocations: 105 kB / 1.024 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.321e-05/0.6627, allocations: 108.9 kB / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.676e-05/0.6628, allocations: 176.3 kB / 1.024 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-05/0.6629, allocations: 184.2 kB / 1.024 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.712e-05/0.6629, allocations: 184.2 kB / 1.024 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.792e-05/0.663, allocations: 180.2 kB / 1.024 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001276/0.6631, allocations: 311.8 kB / 1.025 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.72e-05/0.6632, allocations: 186 kB / 1.025 GB, free: 9.938 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.625e-05/0.6633, allocations: 184.3 kB / 1.025 GB, free: 9.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.351e-05/0.6633, allocations: 101 kB / 1.025 GB, free: 9.645 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.423e-05/0.6634, allocations: 184.2 kB / 1.025 GB, free: 9.457 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.241e-05/0.6635, allocations: 109 kB / 1.025 GB, free: 9.344 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.478e-05/0.6635, allocations: 75.47 kB / 1.026 GB, free: 9.27 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6635, allocations: 4 kB / 1.026 GB, free: 9.266 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.00031/0.6638, allocations: 55.98 kB / 1.026 GB, free: 9.211 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.0006057/0.6644, allocations: 392.2 kB / 1.026 GB, free: 8.887 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 8.274e-05/0.6645, allocations: 15.94 kB / 1.026 GB, free: 8.871 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.6645, allocations: 4.062 kB / 1.026 GB, free: 8.867 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.654e-06/0.6645, allocations: 0 / 1.026 GB, free: 8.867 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000348/0.6649, allocations: 456.4 kB / 1.026 GB, free: 8.418 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002054/0.6651, allocations: 172.2 kB / 1.027 GB, free: 8.223 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002268/0.6653, allocations: 0.6768 MB / 1.027 GB, free: 7.52 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.662e-05/0.6654, allocations: 11.98 kB / 1.027 GB, free: 7.508 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.433e-05/0.6655, allocations: 11.44 kB / 1.027 GB, free: 7.496 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.6655, allocations: 0 / 1.027 GB, free: 7.496 MB / 0.7794 GB Notification: Performance of Templates: time 0.003576/0.6691, allocations: 1.529 MB / 1.029 GB, free: 5.98 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.makefile (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 & ./Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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