Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.001103/0.001102, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001057/0.001057, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.523/1.523, allocations: 223.2 MB / 239.9 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.422/2.422, allocations: 390.3 MB / 0.6653 GB, free: 2.938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003635/0.0003635, allocations: 8 kB / 0.8145 GB, free: 14.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7122/0.7126, allocations: 142.3 MB / 0.9535 GB, free: 8.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.0006013/0.7133, allocations: 257 kB / 0.9538 GB, free: 7.957 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001106/0.7144, allocations: 1.06 MB / 0.9548 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.792e-05/0.7144, allocations: 5.188 kB / 0.9548 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 6.877e-05/0.7145, allocations: 9.328 kB / 0.9548 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.783e-05/0.7145, allocations: 3.984 kB / 0.9548 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003479/0.7149, allocations: 130.3 kB / 0.9549 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.22e-05/0.7149, allocations: 13.16 kB / 0.955 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.577e-05/0.715, allocations: 1.188 kB / 0.955 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.486e-05/0.715, allocations: 17.14 kB / 0.955 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.3e-05/0.715, allocations: 5.625 kB / 0.955 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.588e-06/0.7151, allocations: 0 / 0.955 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002524/0.7153, allocations: 148.5 kB / 0.9551 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.648e-05/0.7154, allocations: 2.5 kB / 0.9551 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.724e-05/0.7154, allocations: 27.08 kB / 0.9551 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001766/0.7156, allocations: 139.9 kB / 0.9553 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 1.714e-06/0.7156, allocations: 3.938 kB / 0.9553 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.432e-06/0.7156, allocations: 0 / 0.9553 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.126e-06/0.7156, allocations: 0 / 0.9553 GB, free: 6.84 MB / 0.7169 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.0002158/0.7158, allocations: 359.5 kB / 0.9556 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.075e-05/0.7158, allocations: 10.19 kB / 0.9556 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.795e-05/0.7159, allocations: 84.41 kB / 0.9557 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.295e-05/0.716, allocations: 245.3 kB / 0.9559 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.269e-05/0.716, allocations: 159.7 kB / 0.9561 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.317e-05/0.716, allocations: 152.5 kB / 0.9562 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.146e-05/0.7161, allocations: 101 kB / 0.9563 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.7161, allocations: 76.34 kB / 0.9564 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.67e-05/0.7161, allocations: 154.6 kB / 0.9566 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.471e-05/0.7161, allocations: 158.5 kB / 0.9567 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.771e-05/0.7161, allocations: 155.6 kB / 0.9569 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001582/0.7163, allocations: 449.5 kB / 0.9573 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.704e-05/0.7163, allocations: 170.3 kB / 0.9575 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.846e-06/0.7164, allocations: 75.28 kB / 0.9575 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.788e-05/0.7164, allocations: 111.1 kB / 0.9576 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 7.01e-07/0.7164, allocations: 0 / 0.9576 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 5.411e-05/0.7164, allocations: 39.94 kB / 0.9577 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.11e-05/0.7165, allocations: 126.7 kB / 0.9578 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.753e-05/0.7165, allocations: 111.7 kB / 0.9579 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.786e-06/0.7166, allocations: 26.61 kB / 0.9579 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.129e-05/0.7166, allocations: 85.28 kB / 0.958 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.603e-06/0.7166, allocations: 0 / 0.958 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.875e-06/0.7166, allocations: 0 / 0.958 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.589e-05/0.7166, allocations: 312 kB / 0.9583 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.257e-05/0.7167, allocations: 9.734 kB / 0.9583 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.432e-05/0.7167, allocations: 10.88 kB / 0.9583 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.559e-05/0.7167, allocations: 10.02 kB / 0.9583 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.7167, allocations: 4 kB / 0.9583 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001067/0.7168, allocations: 50.94 kB / 0.9584 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.7169, allocations: 9.406 kB / 0.9584 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.7169, allocations: 0 / 0.9584 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.188e-06/0.7169, allocations: 0 / 0.9584 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.31e-07/0.7169, allocations: 1.281 kB / 0.9584 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.7169, allocations: 0 / 0.9584 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.396e-05/0.717, allocations: 14.09 kB / 0.9584 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.707e-05/0.717, allocations: 2.156 kB / 0.9584 GB, free: 3.504 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.951e-05/0.7171, allocations: 195.5 kB / 0.9586 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.278e-05/0.7171, allocations: 103.2 kB / 0.9587 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.202e-05/0.7171, allocations: 111.8 kB / 0.9588 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.167e-05/0.7172, allocations: 181.4 kB / 0.959 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.433e-05/0.7172, allocations: 177.4 kB / 0.9591 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.16e-05/0.7172, allocations: 185.4 kB / 0.9593 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000122/0.7173, allocations: 407.4 kB / 0.9597 GB, free: 2.078 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.446e-05/0.7174, allocations: 106 kB / 0.9598 GB, free: 1.969 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.381e-05/0.7174, allocations: 102.1 kB / 0.9599 GB, free: 1.863 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.278e-05/0.7174, allocations: 185.4 kB / 0.9601 GB, free: 1.676 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.889e-05/0.7174, allocations: 185.5 kB / 0.9603 GB, free: 1.488 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.476e-05/0.7175, allocations: 181.3 kB / 0.9604 GB, free: 1.305 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-05/0.7175, allocations: 185.2 kB / 0.9606 GB, free: 1.117 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.069e-05/0.7176, allocations: 307 kB / 0.9609 GB, free: 0.7969 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.204e-05/0.7176, allocations: 183.1 kB / 0.9611 GB, free: 0.5938 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.401e-05/0.7176, allocations: 186.3 kB / 0.9613 GB, free: 416 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.064e-05/0.7177, allocations: 104.9 kB / 0.9614 GB, free: 304 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.767e-05/0.7177, allocations: 178.1 kB / 0.9615 GB, free: 120 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.195e-05/0.7178, allocations: 106 kB / 0.9616 GB, free: 8 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.933e-05/0.7178, allocations: 86.55 kB / 0.9617 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7178, allocations: 0 / 0.9617 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002935/0.7181, allocations: 56.08 kB / 0.9618 GB, free: 15.9 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005917/0.7187, allocations: 390.4 kB / 0.9621 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 6.382e-05/0.7188, allocations: 6.969 kB / 0.9621 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.7188, allocations: 5.438 kB / 0.9621 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.663e-06/0.7188, allocations: 0 / 0.9621 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002609/0.7191, allocations: 0.5272 MB / 0.9627 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002027/0.7193, allocations: 162.2 kB / 0.9628 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002355/0.7195, allocations: 0.6817 MB / 0.9635 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 7.048e-05/0.7196, allocations: 10.14 kB / 0.9635 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.236e-05/0.7196, allocations: 12.25 kB / 0.9635 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of SimCode: time 2.5e-07/0.7197, allocations: 0 / 0.9635 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of Templates: time 0.003311/0.723, allocations: 1.484 MB / 0.965 GB, free: 13.45 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.makefile (rm -f Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe ; mkfifo Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe >> ../files/Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.sim & ./Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_IO_Python_3_8_Functions_Examples_ExchangeWithPassPythonObject.csv","../files/Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches