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.192/2.192, allocations: 390.5 MB / 398 MB, free: 10.95 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.001386/0.001386, allocations: 192.1 kB / 491.2 MB, free: 1.59 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.656/1.656, allocations: 221.5 MB / 0.7868 GB, free: 13.29 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.001032/0.001032, allocations: 97.05 kB / 0.9269 GB, free: 13.77 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.816e-05/1.815e-05, allocations: 4 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3084/0.3084, allocations: 143 MB / 1.212 GB, free: 39.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.156/1.464, allocations: 150.8 MB / 1.36 GB, free: 17.63 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002639/1.465, allocations: 86.19 kB / 1.36 GB, free: 17.63 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01124/1.476, allocations: 4.329 MB / 1.364 GB, free: 33.08 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.242e-06/1.476, allocations: 0 / 1.364 GB, free: 33.08 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.363e-06/1.476, allocations: 0 / 1.364 GB, free: 33.08 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.0003569/1.476, allocations: 373 kB / 1.364 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/1.476, allocations: 7.719 kB / 1.364 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.951e-05/1.477, allocations: 80.64 kB / 1.364 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001297/1.477, allocations: 239.8 kB / 1.365 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.414e-05/1.477, allocations: 150.6 kB / 1.365 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.356e-05/1.477, allocations: 154.6 kB / 1.365 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.037e-05/1.477, allocations: 154.5 kB / 1.365 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.595e-05/1.477, allocations: 103.4 kB / 1.365 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.418e-05/1.477, allocations: 79.12 kB / 1.365 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.094e-05/1.477, allocations: 154.2 kB / 1.365 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.253e-05/1.477, allocations: 154.6 kB / 1.366 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000252/1.477, allocations: 436.9 kB / 1.366 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.347e-05/1.477, allocations: 169.1 kB / 1.366 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.653e-05/1.477, allocations: 80.14 kB / 1.366 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.055e-05/1.477, allocations: 75.28 kB / 1.366 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.575e-05/1.477, allocations: 111.1 kB / 1.366 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 8.02e-07/1.477, allocations: 3.938 kB / 1.366 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 7.396e-05/1.478, allocations: 30.14 kB / 1.366 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.959e-05/1.478, allocations: 53 kB / 1.366 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/1.478, allocations: 97.75 kB / 1.367 GB, free: 30.33 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.152e-05/1.478, allocations: 25.7 kB / 1.367 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.867e-05/1.478, allocations: 83.95 kB / 1.367 GB, free: 30.22 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.783e-06/1.478, allocations: 4 kB / 1.367 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.407e-06/1.478, allocations: 0 / 1.367 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001264/1.478, allocations: 320 kB / 1.367 GB, free: 29.9 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.153e-05/1.478, allocations: 5.219 kB / 1.367 GB, free: 29.9 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.937e-05/1.478, allocations: 13.11 kB / 1.367 GB, free: 29.89 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.506e-05/1.478, allocations: 11.09 kB / 1.367 GB, free: 29.89 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/1.478, allocations: 0 / 1.367 GB, free: 29.89 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002165/1.478, allocations: 55.28 kB / 1.367 GB, free: 29.86 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/1.478, allocations: 15.75 kB / 1.367 GB, free: 29.86 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.411e-05/1.478, allocations: 4 kB / 1.367 GB, free: 29.85 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/1.478, allocations: 3.844 kB / 1.367 GB, free: 29.85 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.292e-06/1.478, allocations: 0 / 1.367 GB, free: 29.85 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/1.478, allocations: 2.062 kB / 1.367 GB, free: 29.85 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.799e-05/1.479, allocations: 0 / 1.367 GB, free: 29.85 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.648e-05/1.479, allocations: 3.906 kB / 1.367 GB, free: 29.85 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 0.0001311/1.479, allocations: 181.4 kB / 1.367 GB, free: 29.67 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.223e-05/1.479, allocations: 112.9 kB / 1.367 GB, free: 29.55 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.29e-05/1.479, allocations: 106.6 kB / 1.367 GB, free: 29.45 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.418e-05/1.479, allocations: 176.3 kB / 1.368 GB, free: 29.27 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.365e-05/1.479, allocations: 185.4 kB / 1.368 GB, free: 29.08 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.182e-05/1.479, allocations: 179.8 kB / 1.368 GB, free: 28.9 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002577/1.479, allocations: 377.3 kB / 1.368 GB, free: 28.49 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.105e-05/1.479, allocations: 112.8 kB / 1.368 GB, free: 28.38 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.754e-05/1.48, allocations: 104.9 kB / 1.368 GB, free: 28.27 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001097/1.48, allocations: 177.5 kB / 1.369 GB, free: 28.09 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001016/1.48, allocations: 185.6 kB / 1.369 GB, free: 27.91 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001073/1.48, allocations: 180.2 kB / 1.369 GB, free: 27.73 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001137/1.48, allocations: 180.3 kB / 1.369 GB, free: 27.54 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002103/1.48, allocations: 306.2 kB / 1.369 GB, free: 27.23 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.619e-05/1.48, allocations: 191.7 kB / 1.37 GB, free: 27.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001178/1.48, allocations: 188.8 kB / 1.37 GB, free: 26.83 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001209/1.481, allocations: 105.8 kB / 1.37 GB, free: 26.72 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.909e-05/1.481, allocations: 181.2 kB / 1.37 GB, free: 26.54 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.698e-05/1.481, allocations: 106.3 kB / 1.37 GB, free: 26.43 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.146e-05/1.481, allocations: 81.17 kB / 1.37 GB, free: 26.36 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.11e-07/1.481, allocations: 0 / 1.37 GB, free: 26.36 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005523/1.481, allocations: 68.77 kB / 1.37 GB, free: 26.34 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.001094/1.483, allocations: 397.6 kB / 1.371 GB, free: 26.09 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001307/1.483, allocations: 74.61 kB / 1.371 GB, free: 26.02 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/1.483, allocations: 0 / 1.371 GB, free: 26.02 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.565e-06/1.483, allocations: 0 / 1.371 GB, free: 26.02 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003712/1.483, allocations: 0.5248 MB / 1.371 GB, free: 25.5 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000211/1.483, allocations: 126 kB / 1.371 GB, free: 25.36 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002623/1.484, allocations: 0.68 MB / 1.372 GB, free: 24.66 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.778e-05/1.484, allocations: 5.359 kB / 1.372 GB, free: 24.66 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.014e-05/1.484, allocations: 9.594 kB / 1.372 GB, free: 24.65 MB / 0.8386 GB Notification: Performance of SimCode: time 2.4e-07/1.484, allocations: 0 / 1.372 GB, free: 24.65 MB / 0.8386 GB Notification: Performance of Templates: time 0.003617/1.487, allocations: 1.504 MB / 1.374 GB, free: 24.47 MB / 0.8386 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