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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001633/0.001633, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002003/0.002004, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.753/1.753, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.382/2.382, allocations: 390.2 MB / 0.6653 GB, free: 2.895 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003731/0.0003731, allocations: 8 kB / 0.8145 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7526/0.753, allocations: 142.3 MB / 0.9535 GB, free: 8.168 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.000678/0.7537, allocations: 270.8 kB / 0.9538 GB, free: 7.973 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001242/0.755, allocations: 1.126 MB / 0.9549 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.533e-05/0.755, allocations: 0 / 0.9549 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 7.724e-05/0.7551, allocations: 9.234 kB / 0.9549 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.928e-05/0.7552, allocations: 0 / 0.9549 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004905/0.7557, allocations: 240 kB / 0.9551 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.377e-05/0.7558, allocations: 52.92 kB / 0.9552 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.121e-05/0.7558, allocations: 4.25 kB / 0.9552 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.604e-05/0.7559, allocations: 46.02 kB / 0.9552 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.49e-05/0.7559, allocations: 37.69 kB / 0.9552 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.723e-05/0.7559, allocations: 6.656 kB / 0.9553 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002842/0.7562, allocations: 147.9 kB / 0.9554 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.689e-05/0.7563, allocations: 4.344 kB / 0.9554 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.809e-05/0.7563, allocations: 34.55 kB / 0.9554 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002183/0.7565, allocations: 191.2 kB / 0.9556 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.7565, allocations: 0 / 0.9556 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.112e-06/0.7565, allocations: 3.938 kB / 0.9556 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.286e-06/0.7565, allocations: 1.156 kB / 0.9556 GB, free: 6.672 MB / 0.7169 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.0002489/0.7568, allocations: 420.5 kB / 0.956 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.206e-05/0.7568, allocations: 13.83 kB / 0.956 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.91e-05/0.7569, allocations: 84.84 kB / 0.9561 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.492e-05/0.757, allocations: 245.7 kB / 0.9563 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.499e-05/0.757, allocations: 157.6 kB / 0.9565 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.554e-05/0.757, allocations: 156.6 kB / 0.9566 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.331e-05/0.7571, allocations: 104.9 kB / 0.9567 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.7571, allocations: 80.25 kB / 0.9568 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.783e-05/0.7571, allocations: 150.6 kB / 0.957 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.783e-05/0.7571, allocations: 155.5 kB / 0.9571 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.939e-05/0.7572, allocations: 158.5 kB / 0.9573 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001917/0.7574, allocations: 470.4 kB / 0.9577 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.905e-05/0.7574, allocations: 178.4 kB / 0.9579 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.121e-05/0.7574, allocations: 75.28 kB / 0.958 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.753e-05/0.7574, allocations: 111.1 kB / 0.9581 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.342e-06/0.7575, allocations: 0 / 0.9581 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 6.835e-05/0.7575, allocations: 44.38 kB / 0.9581 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.334e-05/0.7576, allocations: 130.7 kB / 0.9582 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/0.7577, allocations: 149.5 kB / 0.9584 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.946e-05/0.7577, allocations: 28.02 kB / 0.9584 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.702e-05/0.7577, allocations: 93.16 kB / 0.9585 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.533e-06/0.7577, allocations: 0 / 0.9585 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.259e-05/0.7578, allocations: 3.062 kB / 0.9585 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.887e-05/0.7578, allocations: 313.1 kB / 0.9588 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.341e-05/0.7579, allocations: 65.53 kB / 0.9589 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.9e-05/0.758, allocations: 60.73 kB / 0.9589 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.614e-05/0.7581, allocations: 84.41 kB / 0.959 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.7581, allocations: 0 / 0.959 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003033/0.7584, allocations: 230.1 kB / 0.9592 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.325e-05/0.7584, allocations: 47.25 kB / 0.9593 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.7584, allocations: 0 / 0.9593 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.277e-06/0.7585, allocations: 0 / 0.9593 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.11e-07/0.7585, allocations: 0 / 0.9593 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.499e-06/0.7585, allocations: 5.609 kB / 0.9593 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002695/0.7587, allocations: 29.47 kB / 0.9593 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.232e-05/0.7588, allocations: 18.2 kB / 0.9593 GB, free: 3.016 MB / 0.7169 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 7.402e-05/0.7589, allocations: 199 kB / 0.9595 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.581e-05/0.7589, allocations: 109 kB / 0.9596 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.172e-05/0.7589, allocations: 113.7 kB / 0.9597 GB, free: 2.59 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.875e-05/0.759, allocations: 177.4 kB / 0.9599 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.19e-05/0.759, allocations: 193.6 kB / 0.9601 GB, free: 2.215 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.94e-05/0.759, allocations: 176.3 kB / 0.9602 GB, free: 2.035 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000118/0.7591, allocations: 413 kB / 0.9606 GB, free: 1.582 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.359e-05/0.7591, allocations: 106.4 kB / 0.9607 GB, free: 1.473 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.213e-05/0.7592, allocations: 105 kB / 0.9608 GB, free: 1.363 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.096e-05/0.7592, allocations: 181.9 kB / 0.961 GB, free: 1.18 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.224e-05/0.7592, allocations: 188.2 kB / 0.9612 GB, free: 0.9883 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.349e-05/0.7592, allocations: 177.9 kB / 0.9613 GB, free: 0.8086 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.939e-05/0.7593, allocations: 181.8 kB / 0.9615 GB, free: 0.625 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.898e-05/0.7593, allocations: 316 kB / 0.9618 GB, free: 304 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.018e-05/0.7594, allocations: 200.2 kB / 0.962 GB, free: 80 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.122e-05/0.7594, allocations: 181.3 kB / 0.9622 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.57e-05/0.7595, allocations: 102.3 kB / 0.9623 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.375e-05/0.7596, allocations: 177.6 kB / 0.9625 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.96e-05/0.7596, allocations: 110.5 kB / 0.9626 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.265e-05/0.7597, allocations: 106.4 kB / 0.9627 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7597, allocations: 0 / 0.9627 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000323/0.76, allocations: 76.7 kB / 0.9627 GB, free: 15.38 MB / 0.7325 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.001934/0.7619, allocations: 397.9 kB / 0.9631 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003359/0.7623, allocations: 215.4 kB / 0.9633 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.7623, allocations: 0 / 0.9633 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 2.294e-06/0.7623, allocations: 0 / 0.9633 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003745/0.7627, allocations: 0.5329 MB / 0.9638 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003852/0.7631, allocations: 236.5 kB / 0.9641 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002847/0.7634, allocations: 0.685 MB / 0.9647 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 9.943e-05/0.7635, allocations: 51.17 kB / 0.9648 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.458e-05/0.7635, allocations: 8.75 kB / 0.9648 GB, free: 13.49 MB / 0.7325 GB Notification: Performance of SimCode: time 2.51e-07/0.7635, allocations: 4 kB / 0.9648 GB, free: 13.49 MB / 0.7325 GB Notification: Performance of Templates: time 0.006097/0.7696, allocations: 2.522 MB / 0.9673 GB, free: 12.19 MB / 0.7325 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