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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.184/2.184, allocations: 390.3 MB / 405.3 MB, free: 13.49 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001109/0.001109, allocations: 178.8 kB / 498.1 MB, free: 5.75 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.47/1.47, allocations: 223.2 MB / 0.7948 GB, free: 17.93 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008653/0.0008653, allocations: 96.33 kB / 0.9346 GB, free: 6.215 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000408/0.000408, allocations: 11.02 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3122/0.3126, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1852/0.4979, allocations: 150.8 MB / 1.37 GB, free: 11.27 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003254/0.4983, allocations: 95.92 kB / 1.37 GB, free: 11.18 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01273/0.5111, allocations: 4.644 MB / 1.375 GB, free: 6.504 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.613e-06/0.5111, allocations: 0 / 1.375 GB, free: 6.504 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.753e-06/0.5111, allocations: 0 / 1.375 GB, free: 6.504 MB / 0.8698 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.0004413/0.5116, allocations: 371.3 kB / 1.375 GB, free: 6.094 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.5116, allocations: 8.031 kB / 1.375 GB, free: 6.086 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.177e-05/0.5117, allocations: 91.17 kB / 1.375 GB, free: 5.996 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001461/0.5119, allocations: 242.2 kB / 1.375 GB, free: 5.719 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.956e-05/0.5119, allocations: 150.6 kB / 1.376 GB, free: 5.57 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.722e-05/0.512, allocations: 162.5 kB / 1.376 GB, free: 5.41 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.21e-05/0.5121, allocations: 113 kB / 1.376 GB, free: 5.293 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.751e-05/0.5121, allocations: 75.28 kB / 1.376 GB, free: 5.219 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.107e-05/0.5122, allocations: 150.6 kB / 1.376 GB, free: 5.07 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.576e-05/0.5122, allocations: 150.6 kB / 1.376 GB, free: 4.922 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.282e-05/0.5123, allocations: 154.6 kB / 1.376 GB, free: 4.77 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002769/0.5126, allocations: 453.9 kB / 1.377 GB, free: 4.277 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.064e-05/0.5126, allocations: 169.1 kB / 1.377 GB, free: 4.102 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.839e-05/0.5127, allocations: 79.28 kB / 1.377 GB, free: 4.023 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.587e-05/0.5127, allocations: 109.8 kB / 1.377 GB, free: 3.906 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.5127, allocations: 0 / 1.377 GB, free: 3.906 MB / 0.8698 GB Notification: Performance of matching and sorting (n=0): time 7.997e-05/0.5128, allocations: 29.7 kB / 1.377 GB, free: 3.871 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.396e-05/0.5129, allocations: 130.7 kB / 1.377 GB, free: 3.73 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00011/0.513, allocations: 93 kB / 1.377 GB, free: 3.633 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.899e-05/0.513, allocations: 25.7 kB / 1.377 GB, free: 3.602 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.313e-05/0.5131, allocations: 84.14 kB / 1.377 GB, free: 3.516 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.574e-06/0.5131, allocations: 0 / 1.377 GB, free: 3.516 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.737e-06/0.5131, allocations: 4 kB / 1.377 GB, free: 3.512 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.5132, allocations: 322.8 kB / 1.378 GB, free: 3.188 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.928e-05/0.5132, allocations: 7.938 kB / 1.378 GB, free: 3.18 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.845e-05/0.5133, allocations: 12 kB / 1.378 GB, free: 3.168 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.952e-05/0.5133, allocations: 7.984 kB / 1.378 GB, free: 3.16 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.5133, allocations: 0 / 1.378 GB, free: 3.16 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001378/0.5134, allocations: 45.69 kB / 1.378 GB, free: 3.109 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.5135, allocations: 8 kB / 1.378 GB, free: 3.102 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.979e-05/0.5135, allocations: 4.125 kB / 1.378 GB, free: 3.098 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.5135, allocations: 4 kB / 1.378 GB, free: 3.094 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.21e-07/0.5135, allocations: 0 / 1.378 GB, free: 3.094 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.5135, allocations: 3.938 kB / 1.378 GB, free: 3.09 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.919e-05/0.5136, allocations: 7.922 kB / 1.378 GB, free: 3.082 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.421e-05/0.5136, allocations: 8 kB / 1.378 GB, free: 3.074 MB / 0.8698 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: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 0.000106/0.5137, allocations: 190.8 kB / 1.378 GB, free: 2.879 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.079e-05/0.5138, allocations: 108.8 kB / 1.378 GB, free: 2.766 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.006e-05/0.5139, allocations: 112 kB / 1.378 GB, free: 2.652 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.683e-05/0.5139, allocations: 184.2 kB / 1.378 GB, free: 2.465 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-05/0.514, allocations: 184.3 kB / 1.379 GB, free: 2.277 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.617e-05/0.5141, allocations: 176.3 kB / 1.379 GB, free: 2.098 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002214/0.5143, allocations: 409.1 kB / 1.379 GB, free: 1.641 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.063e-05/0.5143, allocations: 109 kB / 1.379 GB, free: 1.527 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.415e-05/0.5144, allocations: 104.9 kB / 1.379 GB, free: 1.418 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.293e-05/0.5144, allocations: 176.3 kB / 1.38 GB, free: 1.238 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.616e-05/0.5145, allocations: 180.3 kB / 1.38 GB, free: 1.055 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.291e-05/0.5146, allocations: 184.2 kB / 1.38 GB, free: 0.8672 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.827e-05/0.5146, allocations: 180.3 kB / 1.38 GB, free: 0.6836 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001338/0.5148, allocations: 311.7 kB / 1.38 GB, free: 364 kB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.086e-05/0.5148, allocations: 182.1 kB / 1.381 GB, free: 156 kB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.053e-05/0.5149, allocations: 184.2 kB / 1.381 GB, free: 15.96 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.037e-05/0.515, allocations: 105 kB / 1.381 GB, free: 15.86 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.292e-05/0.5151, allocations: 189 kB / 1.381 GB, free: 15.66 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.899e-05/0.5151, allocations: 101 kB / 1.381 GB, free: 15.56 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 4.298e-05/0.5152, allocations: 83.45 kB / 1.381 GB, free: 15.48 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5152, allocations: 0 / 1.381 GB, free: 15.48 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0004115/0.5156, allocations: 75.91 kB / 1.381 GB, free: 15.4 MB / 0.8855 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.000761/0.5164, allocations: 401 kB / 1.382 GB, free: 15.06 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001185/0.5165, allocations: 67.34 kB / 1.382 GB, free: 14.98 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.5165, allocations: 0 / 1.382 GB, free: 14.98 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 6.592e-06/0.5165, allocations: 7.984 kB / 1.382 GB, free: 14.98 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002879/0.5168, allocations: 0.5233 MB / 1.382 GB, free: 14.45 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002401/0.5171, allocations: 162 kB / 1.382 GB, free: 14.26 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002454/0.5173, allocations: 0.677 MB / 1.383 GB, free: 13.56 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 6.068e-05/0.5174, allocations: 7.984 kB / 1.383 GB, free: 13.55 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.296e-05/0.5174, allocations: 7.438 kB / 1.383 GB, free: 13.54 MB / 0.8855 GB Notification: Performance of SimCode: time 1.724e-06/0.5174, allocations: 4 kB / 1.383 GB, free: 13.54 MB / 0.8855 GB Notification: Performance of Templates: time 0.004034/0.5215, allocations: 1.507 MB / 1.385 GB, free: 12.05 MB / 0.8855 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