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.275/2.275, allocations: 387.1 MB / 399.7 MB, free: 9.473 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.001072/0.001072, allocations: 172.9 kB / 492.3 MB, free: 0.625 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.499/1.499, allocations: 221.3 MB / 0.7871 GB, free: 12.91 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.0008936/0.0008938, allocations: 92.8 kB / 0.9267 GB, free: 13.98 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.661e-05/3.662e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3282/0.3282, allocations: 142.4 MB / 1.212 GB, free: 38.53 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.116/1.444, allocations: 150.7 MB / 1.36 GB, free: 19.03 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002988/1.445, allocations: 89.03 kB / 1.36 GB, free: 19.02 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01157/1.456, allocations: 4.448 MB / 1.364 GB, free: 34.47 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.863e-06/1.456, allocations: 0 / 1.364 GB, free: 34.47 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.514e-06/1.456, allocations: 0 / 1.364 GB, free: 34.47 MB / 0.8386 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.0003128/1.456, allocations: 371.4 kB / 1.364 GB, free: 34.09 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/1.457, allocations: 11.53 kB / 1.364 GB, free: 34.09 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.244e-05/1.457, allocations: 80.17 kB / 1.364 GB, free: 34.01 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001125/1.457, allocations: 242.5 kB / 1.365 GB, free: 33.74 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.436e-05/1.457, allocations: 154.4 kB / 1.365 GB, free: 33.59 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.745e-05/1.457, allocations: 156 kB / 1.365 GB, free: 33.44 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.885e-05/1.457, allocations: 101 kB / 1.365 GB, free: 33.33 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.145e-05/1.457, allocations: 75.28 kB / 1.365 GB, free: 33.26 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.492e-05/1.457, allocations: 154.6 kB / 1.365 GB, free: 33.11 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.646e-05/1.457, allocations: 157.4 kB / 1.365 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.496e-05/1.457, allocations: 158.5 kB / 1.366 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000249/1.457, allocations: 452.6 kB / 1.366 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.234e-05/1.457, allocations: 169.1 kB / 1.366 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.249e-05/1.457, allocations: 85.33 kB / 1.366 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.519e-05/1.458, allocations: 75.28 kB / 1.366 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.752e-05/1.458, allocations: 109.8 kB / 1.366 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/1.458, allocations: 0 / 1.366 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 7.401e-05/1.458, allocations: 30.17 kB / 1.366 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.228e-05/1.458, allocations: 132 kB / 1.367 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001101/1.458, allocations: 97.06 kB / 1.367 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.103e-05/1.458, allocations: 29.55 kB / 1.367 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.612e-05/1.458, allocations: 83.83 kB / 1.367 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.265e-06/1.458, allocations: 0 / 1.367 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.657e-06/1.458, allocations: 0 / 1.367 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001024/1.458, allocations: 316.3 kB / 1.367 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.492e-05/1.458, allocations: 13.12 kB / 1.367 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.627e-05/1.458, allocations: 13.25 kB / 1.367 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.662e-05/1.458, allocations: 5.453 kB / 1.367 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/1.458, allocations: 3.938 kB / 1.367 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001123/1.458, allocations: 57.31 kB / 1.367 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/1.458, allocations: 5 kB / 1.367 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.169e-05/1.458, allocations: 10.41 kB / 1.367 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/1.458, allocations: 0 / 1.367 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.183e-06/1.458, allocations: 0 / 1.367 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/1.458, allocations: 0 / 1.367 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.081e-05/1.458, allocations: 3.875 kB / 1.367 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.126e-05/1.458, allocations: 4 kB / 1.367 GB, free: 31.12 MB / 0.8386 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 () * 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 9.391e-05/1.458, allocations: 188.9 kB / 1.367 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.327e-05/1.459, allocations: 107.9 kB / 1.367 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.887e-05/1.459, allocations: 104.1 kB / 1.368 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.101e-05/1.459, allocations: 180.2 kB / 1.368 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.207e-05/1.459, allocations: 186.8 kB / 1.368 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.908e-05/1.459, allocations: 179 kB / 1.368 GB, free: 30.18 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001832/1.459, allocations: 408 kB / 1.368 GB, free: 29.73 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.649e-05/1.459, allocations: 104.5 kB / 1.369 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.623e-05/1.459, allocations: 101 kB / 1.369 GB, free: 29.52 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-05/1.459, allocations: 186.6 kB / 1.369 GB, free: 29.33 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.836e-05/1.459, allocations: 180.3 kB / 1.369 GB, free: 29.15 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.688e-05/1.459, allocations: 180.2 kB / 1.369 GB, free: 28.96 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.118e-05/1.459, allocations: 180.3 kB / 1.369 GB, free: 28.78 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001324/1.459, allocations: 309.6 kB / 1.37 GB, free: 28.46 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.926e-05/1.46, allocations: 200.3 kB / 1.37 GB, free: 28.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.026e-05/1.46, allocations: 180.2 kB / 1.37 GB, free: 28.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.239e-05/1.46, allocations: 101.9 kB / 1.37 GB, free: 27.96 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.215e-05/1.46, allocations: 183.2 kB / 1.37 GB, free: 27.79 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.793e-05/1.46, allocations: 104.9 kB / 1.37 GB, free: 27.68 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.689e-05/1.46, allocations: 86.89 kB / 1.37 GB, free: 27.6 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.46, allocations: 0 / 1.37 GB, free: 27.6 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003774/1.46, allocations: 79.66 kB / 1.371 GB, free: 27.57 MB / 0.8386 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 () * 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.0006949/1.461, allocations: 386.9 kB / 1.371 GB, free: 27.34 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001096/1.461, allocations: 76.83 kB / 1.371 GB, free: 27.27 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/1.461, allocations: 0 / 1.371 GB, free: 27.27 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.653e-06/1.461, allocations: 0 / 1.371 GB, free: 27.27 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003307/1.461, allocations: 0.5146 MB / 1.372 GB, free: 26.75 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002098/1.462, allocations: 134.3 kB / 1.372 GB, free: 26.61 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002829/1.462, allocations: 0.6756 MB / 1.372 GB, free: 25.91 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.698e-05/1.462, allocations: 10.48 kB / 1.372 GB, free: 25.91 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.074e-05/1.462, allocations: 7.438 kB / 1.372 GB, free: 25.9 MB / 0.8386 GB Notification: Performance of SimCode: time 2.2e-07/1.462, allocations: 0 / 1.372 GB, free: 25.9 MB / 0.8386 GB Notification: Performance of Templates: time 0.003597/1.466, allocations: 1.52 MB / 1.374 GB, free: 25.73 MB / 0.8386 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