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/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.247/2.247, allocations: 393.5 MB / 408.4 MB, free: 11.04 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.001308/0.001308, allocations: 190.6 kB / 0.4902 GB, free: 2.25 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.778/1.778, allocations: 223.1 MB / 0.7992 GB, free: 14.74 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.001023/0.001023, allocations: 91.91 kB / 0.9396 GB, free: 1.934 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003739/0.0003739, allocations: 14.5 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3347/0.3351, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1996/0.5348, allocations: 151.6 MB / 1.377 GB, free: 2.055 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002488/0.5351, allocations: 87.94 kB / 1.377 GB, free: 1.969 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.0123/0.5474, allocations: 4.64 MB / 1.382 GB, free: 13.3 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.415e-06/0.5474, allocations: 0 / 1.382 GB, free: 13.3 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 7.925e-06/0.5475, allocations: 0 / 1.382 GB, free: 13.3 MB / 0.8855 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.0003885/0.5479, allocations: 379.3 kB / 1.382 GB, free: 12.88 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.5479, allocations: 8.562 kB / 1.382 GB, free: 12.88 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.709e-05/0.548, allocations: 87.23 kB / 1.382 GB, free: 12.79 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001599/0.5481, allocations: 238.3 kB / 1.383 GB, free: 12.52 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.101e-05/0.5482, allocations: 158.5 kB / 1.383 GB, free: 12.36 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.529e-05/0.5483, allocations: 150.6 kB / 1.383 GB, free: 12.21 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.742e-05/0.5484, allocations: 101 kB / 1.383 GB, free: 12.11 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.93e-05/0.5484, allocations: 75.28 kB / 1.383 GB, free: 12.03 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.991e-05/0.5485, allocations: 162.6 kB / 1.383 GB, free: 11.87 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.863e-05/0.5485, allocations: 154.6 kB / 1.383 GB, free: 11.72 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.486e-05/0.5486, allocations: 150.6 kB / 1.383 GB, free: 11.57 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003231/0.5489, allocations: 457.8 kB / 1.384 GB, free: 11.07 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 8.301e-05/0.549, allocations: 173.1 kB / 1.384 GB, free: 10.89 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.957e-05/0.5491, allocations: 75.28 kB / 1.384 GB, free: 10.82 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.154e-05/0.5491, allocations: 109.8 kB / 1.384 GB, free: 10.7 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=0): time 9.71e-07/0.5491, allocations: 0 / 1.384 GB, free: 10.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=0): time 7.904e-05/0.5492, allocations: 33.64 kB / 1.384 GB, free: 10.66 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.952e-05/0.5493, allocations: 126.7 kB / 1.384 GB, free: 10.53 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001068/0.5494, allocations: 104.9 kB / 1.384 GB, free: 10.42 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.608e-05/0.5494, allocations: 25.7 kB / 1.384 GB, free: 10.39 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 5.613e-05/0.5495, allocations: 92.12 kB / 1.385 GB, free: 10.29 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.624e-06/0.5495, allocations: 3.938 kB / 1.385 GB, free: 10.29 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.888e-06/0.5495, allocations: 0 / 1.385 GB, free: 10.29 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001271/0.5496, allocations: 314.8 kB / 1.385 GB, free: 9.973 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.824e-05/0.5497, allocations: 7.984 kB / 1.385 GB, free: 9.965 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.661e-05/0.5497, allocations: 8 kB / 1.385 GB, free: 9.957 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.113e-05/0.5497, allocations: 16.08 kB / 1.385 GB, free: 9.941 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.5497, allocations: 4 kB / 1.385 GB, free: 9.938 MB / 0.8855 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001239/0.5499, allocations: 45.69 kB / 1.385 GB, free: 9.887 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.5499, allocations: 4 kB / 1.385 GB, free: 9.883 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.186e-05/0.5499, allocations: 7.938 kB / 1.385 GB, free: 9.875 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.5499, allocations: 0 / 1.385 GB, free: 9.875 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.22e-07/0.5499, allocations: 0 / 1.385 GB, free: 9.875 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.5499, allocations: 0 / 1.385 GB, free: 9.875 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.541e-05/0.55, allocations: 4 kB / 1.385 GB, free: 9.871 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.414e-05/0.55, allocations: 3.984 kB / 1.385 GB, free: 9.867 MB / 0.8855 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.0001087/0.5502, allocations: 197.1 kB / 1.385 GB, free: 9.664 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.293e-05/0.5502, allocations: 101 kB / 1.385 GB, free: 9.559 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.261e-05/0.5503, allocations: 112 kB / 1.385 GB, free: 9.445 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.085e-05/0.5503, allocations: 176.3 kB / 1.386 GB, free: 9.266 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.583e-05/0.5504, allocations: 180.2 kB / 1.386 GB, free: 9.082 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.9e-05/0.5505, allocations: 188.2 kB / 1.386 GB, free: 8.891 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000213/0.5507, allocations: 405.2 kB / 1.386 GB, free: 8.438 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-05/0.5507, allocations: 104.9 kB / 1.386 GB, free: 8.328 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.912e-05/0.5508, allocations: 105 kB / 1.386 GB, free: 8.219 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.248e-05/0.5509, allocations: 184.3 kB / 1.387 GB, free: 8.031 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.483e-05/0.5509, allocations: 180.2 kB / 1.387 GB, free: 7.848 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.083e-05/0.551, allocations: 180.3 kB / 1.387 GB, free: 7.664 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.325e-05/0.5511, allocations: 188.2 kB / 1.387 GB, free: 7.473 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001337/0.5512, allocations: 299.8 kB / 1.387 GB, free: 7.156 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 7.697e-05/0.5513, allocations: 193.9 kB / 1.388 GB, free: 6.941 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.363e-05/0.5514, allocations: 184.2 kB / 1.388 GB, free: 6.754 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.717e-05/0.5515, allocations: 104.9 kB / 1.388 GB, free: 6.645 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.397e-05/0.5515, allocations: 180.6 kB / 1.388 GB, free: 6.461 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.49e-05/0.5516, allocations: 105 kB / 1.388 GB, free: 6.352 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 5.507e-05/0.5517, allocations: 87.2 kB / 1.388 GB, free: 6.266 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5517, allocations: 0 / 1.388 GB, free: 6.266 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0004057/0.5521, allocations: 63.98 kB / 1.388 GB, free: 6.203 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.0007776/0.5529, allocations: 417.2 kB / 1.389 GB, free: 5.855 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001312/0.553, allocations: 71.41 kB / 1.389 GB, free: 5.773 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.553, allocations: 0 / 1.389 GB, free: 5.773 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 1.753e-06/0.553, allocations: 0 / 1.389 GB, free: 5.773 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002967/0.5533, allocations: 0.5171 MB / 1.389 GB, free: 5.254 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002268/0.5536, allocations: 173.9 kB / 1.389 GB, free: 5.055 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002857/0.5539, allocations: 0.6809 MB / 1.39 GB, free: 4.348 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 4.907e-05/0.5539, allocations: 7.984 kB / 1.39 GB, free: 4.34 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.959e-06/0.5539, allocations: 7.438 kB / 1.39 GB, free: 4.332 MB / 0.8855 GB Notification: Performance of SimCode: time 2.2e-07/0.554, allocations: 4 kB / 1.39 GB, free: 4.328 MB / 0.8855 GB Notification: Performance of Templates: time 0.003838/0.5578, allocations: 1.497 MB / 1.392 GB, free: 2.863 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.makefile (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 & ./Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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","../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