Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.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.Exchange,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|yR1.1.|yI1.1.|yR2.1.|yR2.2.|yI2.1.|yI2.2.",fileNamePrefix="Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange") translateModel(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|yR1.1.|yI1.1.|yR2.1.|yR2.2.|yI2.1.|yI2.2.",fileNamePrefix="Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.396/2.396, allocations: 390.3 MB / 405.3 MB, free: 13.5 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.001304/0.001304, allocations: 173.1 kB / 498.1 MB, free: 5.734 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.548/1.548, allocations: 223.2 MB / 0.7948 GB, free: 18.89 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.0009433/0.0009434, allocations: 108 kB / 0.9346 GB, free: 7.184 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004229/0.0004228, allocations: 9.766 kB / 1.084 GB, free: 212.9 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3134/0.3139, allocations: 142.4 MB / 1.223 GB, free: 89.62 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1998/0.5138, allocations: 151.7 MB / 1.371 GB, free: 1.699 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002906/0.5141, allocations: 83.94 kB / 1.371 GB, free: 1.617 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02768/0.5418, allocations: 10.38 MB / 1.381 GB, free: 7.191 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.894e-06/0.5419, allocations: 3.938 kB / 1.381 GB, free: 7.188 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.492e-05/0.5419, allocations: 4 kB / 1.381 GB, free: 7.184 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.0006568/0.5425, allocations: 420.9 kB / 1.382 GB, free: 6.719 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.5426, allocations: 12.03 kB / 1.382 GB, free: 6.707 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001027/0.5427, allocations: 87.14 kB / 1.382 GB, free: 6.621 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000204/0.5429, allocations: 258.3 kB / 1.382 GB, free: 6.328 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.325e-05/0.543, allocations: 158.6 kB / 1.382 GB, free: 6.172 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.615e-05/0.5431, allocations: 154.6 kB / 1.382 GB, free: 6.02 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.028e-05/0.5432, allocations: 101 kB / 1.382 GB, free: 5.914 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.815e-05/0.5432, allocations: 79.28 kB / 1.382 GB, free: 5.836 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.147e-05/0.5433, allocations: 150.6 kB / 1.383 GB, free: 5.688 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.913e-05/0.5434, allocations: 150.6 kB / 1.383 GB, free: 5.539 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.864e-05/0.5434, allocations: 158.5 kB / 1.383 GB, free: 5.383 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003927/0.5438, allocations: 477.8 kB / 1.383 GB, free: 4.867 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 8.739e-05/0.5439, allocations: 169.1 kB / 1.384 GB, free: 4.691 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 3.582e-05/0.544, allocations: 75.28 kB / 1.384 GB, free: 4.617 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.318e-05/0.544, allocations: 117.8 kB / 1.384 GB, free: 4.492 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=0): time 1.393e-06/0.544, allocations: 0 / 1.384 GB, free: 4.492 MB / 0.8855 GB Notification: Performance of matching and sorting (n=0): time 0.0001034/0.5441, allocations: 33.61 kB / 1.384 GB, free: 4.453 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.281e-05/0.5442, allocations: 126.7 kB / 1.384 GB, free: 4.316 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001795/0.5444, allocations: 143.2 kB / 1.384 GB, free: 4.172 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 4.132e-05/0.5445, allocations: 29.7 kB / 1.384 GB, free: 4.137 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 6.581e-05/0.5445, allocations: 88.14 kB / 1.384 GB, free: 4.047 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.006e-06/0.5445, allocations: 4 kB / 1.384 GB, free: 4.043 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.415e-05/0.5446, allocations: 4 kB / 1.384 GB, free: 4.039 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001293/0.5447, allocations: 318.8 kB / 1.384 GB, free: 3.719 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001312/0.5448, allocations: 59.95 kB / 1.384 GB, free: 3.66 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.206e-05/0.5449, allocations: 63.94 kB / 1.385 GB, free: 3.598 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001098/0.545, allocations: 85.66 kB / 1.385 GB, free: 3.508 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.5451, allocations: 0 / 1.385 GB, free: 3.508 MB / 0.8855 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004208/0.5455, allocations: 215.1 kB / 1.385 GB, free: 3.285 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 5.789e-05/0.5456, allocations: 46.47 kB / 1.385 GB, free: 3.234 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.5456, allocations: 8.062 kB / 1.385 GB, free: 3.227 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.5456, allocations: 0 / 1.385 GB, free: 3.227 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.112e-06/0.5456, allocations: 0 / 1.385 GB, free: 3.227 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.5456, allocations: 0 / 1.385 GB, free: 3.227 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002251/0.5458, allocations: 15.98 kB / 1.385 GB, free: 3.211 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.852e-05/0.5459, allocations: 8 kB / 1.385 GB, free: 3.203 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: 3 (yI1[1],yI2[1],yI2[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0001587/0.5461, allocations: 209 kB / 1.385 GB, free: 2.988 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.583e-05/0.5462, allocations: 116.8 kB / 1.385 GB, free: 2.867 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.29e-05/0.5462, allocations: 112.4 kB / 1.385 GB, free: 2.75 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.585e-05/0.5463, allocations: 176.3 kB / 1.385 GB, free: 2.57 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.861e-05/0.5464, allocations: 184.2 kB / 1.386 GB, free: 2.383 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.53e-05/0.5465, allocations: 180.2 kB / 1.386 GB, free: 2.199 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000306/0.5468, allocations: 429.1 kB / 1.386 GB, free: 1.723 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.843e-05/0.5469, allocations: 109 kB / 1.386 GB, free: 1.609 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.839e-05/0.547, allocations: 101 kB / 1.386 GB, free: 1.504 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.191e-05/0.547, allocations: 180.2 kB / 1.387 GB, free: 1.32 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001069/0.5472, allocations: 180.3 kB / 1.387 GB, free: 1.137 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.882e-05/0.5473, allocations: 180.2 kB / 1.387 GB, free: 0.9531 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.489e-05/0.5474, allocations: 188.2 kB / 1.387 GB, free: 0.7617 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002241/0.5476, allocations: 311.6 kB / 1.387 GB, free: 444 kB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001287/0.5477, allocations: 190 kB / 1.388 GB, free: 228 kB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001142/0.5478, allocations: 184.2 kB / 1.388 GB, free: 36 kB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001233/0.548, allocations: 109.3 kB / 1.388 GB, free: 15.92 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.464e-05/0.5481, allocations: 180.3 kB / 1.388 GB, free: 15.74 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.184e-05/0.5481, allocations: 105 kB / 1.388 GB, free: 15.63 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 9.709e-05/0.5482, allocations: 107.2 kB / 1.388 GB, free: 15.52 MB / 0.9011 GB Notification: Performance of sort global known variables: time 3.41e-07/0.5482, allocations: 0 / 1.388 GB, free: 15.52 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.000568/0.5488, allocations: 91.84 kB / 1.388 GB, free: 15.43 MB / 0.9011 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.0009519/0.5498, allocations: 414.3 kB / 1.389 GB, free: 15.09 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0002849/0.5501, allocations: 211.3 kB / 1.389 GB, free: 14.87 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.5501, allocations: 64 / 1.389 GB, free: 14.87 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 2.074e-06/0.5501, allocations: 4 kB / 1.389 GB, free: 14.87 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003286/0.5504, allocations: 0.5301 MB / 1.389 GB, free: 14.33 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003584/0.5508, allocations: 238.1 kB / 1.39 GB, free: 14.07 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002918/0.5511, allocations: 0.6848 MB / 1.39 GB, free: 13.36 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 9.162e-05/0.5512, allocations: 43.94 kB / 1.39 GB, free: 13.32 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.526e-05/0.5512, allocations: 15.38 kB / 1.39 GB, free: 13.3 MB / 0.9011 GB Notification: Performance of SimCode: time 5.82e-07/0.5512, allocations: 0 / 1.39 GB, free: 13.3 MB / 0.9011 GB Notification: Performance of Templates: time 0.005877/0.5571, allocations: 2.533 MB / 1.393 GB, free: 10.78 MB / 0.9011 GB make -j1 -f Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.makefile (rm -f Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe ; mkfifo Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe >> ../files/Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.sim & ./Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_IO_Python_3_8_Functions_Examples_Exchange.csv","../files/Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches