Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.007953/0.007953, allocations: 102 kB / 15.73 MB, free: 6.051 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.001782/0.001782, allocations: 191.5 kB / 16.67 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.372/1.372, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.535/2.535, allocations: 461.9 MB / 0.7347 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 67.89 kB / 1.054 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8485/0.8498, allocations: 157.4 MB / 1.208 GB, free: 13.78 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.001784/0.8517, allocations: 0.5477 MB / 1.208 GB, free: 13.24 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001667/0.8534, allocations: 1.195 MB / 1.209 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.556e-05/0.8534, allocations: 0 / 1.209 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001006/0.8535, allocations: 4 kB / 1.209 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 4.938e-05/0.8536, allocations: 7.938 kB / 1.209 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006494/0.8542, allocations: 282.2 kB / 1.21 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001462/0.8544, allocations: 79.86 kB / 1.21 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.504e-05/0.8544, allocations: 8 kB / 1.21 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 5.111e-05/0.8545, allocations: 47.84 kB / 1.21 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 9.448e-05/0.8546, allocations: 43.89 kB / 1.21 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.186e-05/0.8546, allocations: 0 / 1.21 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003799/0.855, allocations: 199.7 kB / 1.21 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.872e-05/0.855, allocations: 15.86 kB / 1.21 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.698e-05/0.8551, allocations: 27.92 kB / 1.21 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003416/0.8554, allocations: 255.4 kB / 1.21 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.8555, allocations: 4 kB / 1.21 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.814e-06/0.8555, allocations: 0 / 1.21 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.198e-06/0.8555, allocations: 0 / 1.21 GB, free: 11.08 MB / 0.9356 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.0004325/0.8559, allocations: 442.9 kB / 1.211 GB, free: 10.6 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.856, allocations: 12.03 kB / 1.211 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.078e-05/0.856, allocations: 84.2 kB / 1.211 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000163/0.8562, allocations: 259.5 kB / 1.211 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.421e-05/0.8563, allocations: 154.9 kB / 1.211 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.553e-05/0.8563, allocations: 154.9 kB / 1.211 GB, free: 9.906 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.077e-05/0.8564, allocations: 109.1 kB / 1.212 GB, free: 9.793 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.349e-05/0.8564, allocations: 75.28 kB / 1.212 GB, free: 9.719 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.496e-05/0.8565, allocations: 154.6 kB / 1.212 GB, free: 9.566 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.714e-05/0.8565, allocations: 154.5 kB / 1.212 GB, free: 9.414 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.708e-05/0.8566, allocations: 150.6 kB / 1.212 GB, free: 9.266 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002845/0.8569, allocations: 477.9 kB / 1.212 GB, free: 8.75 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 7.767e-05/0.857, allocations: 169.2 kB / 1.213 GB, free: 8.574 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.788e-05/0.857, allocations: 80.14 kB / 1.213 GB, free: 8.492 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.688e-05/0.857, allocations: 79.28 kB / 1.213 GB, free: 8.414 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.19e-05/0.8571, allocations: 117.7 kB / 1.213 GB, free: 8.289 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 8.12e-07/0.8571, allocations: 4 kB / 1.213 GB, free: 8.285 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 9.961e-05/0.8572, allocations: 37.59 kB / 1.213 GB, free: 8.242 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.73e-05/0.8573, allocations: 126.7 kB / 1.213 GB, free: 8.105 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001672/0.8574, allocations: 145.7 kB / 1.213 GB, free: 7.953 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.083e-05/0.8575, allocations: 25.7 kB / 1.213 GB, free: 7.922 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.052e-05/0.8575, allocations: 96.12 kB / 1.213 GB, free: 7.824 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.794e-06/0.8575, allocations: 0 / 1.213 GB, free: 7.824 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.741e-05/0.8576, allocations: 37.7 kB / 1.213 GB, free: 7.781 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001094/0.8577, allocations: 326.8 kB / 1.214 GB, free: 7.453 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001096/0.8578, allocations: 63.89 kB / 1.214 GB, free: 7.391 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.831e-05/0.8579, allocations: 59.94 kB / 1.214 GB, free: 7.332 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000124/0.8581, allocations: 98.45 kB / 1.214 GB, free: 7.227 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.8581, allocations: 0 / 1.214 GB, free: 7.227 MB / 0.9356 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003958/0.8585, allocations: 227.2 kB / 1.214 GB, free: 6.992 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.511e-05/0.8585, allocations: 49.69 kB / 1.214 GB, free: 6.938 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.8585, allocations: 0 / 1.214 GB, free: 6.938 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.8586, allocations: 0 / 1.214 GB, free: 6.938 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.51e-07/0.8586, allocations: 4.062 kB / 1.214 GB, free: 6.934 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.71e-06/0.8586, allocations: 0 / 1.214 GB, free: 6.934 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003038/0.8589, allocations: 27.81 kB / 1.214 GB, free: 6.906 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.943e-05/0.8589, allocations: 15.98 kB / 1.214 GB, free: 6.891 MB / 0.9356 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 (yI2[2],yI2[1],yI1[1]) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001208/0.8591, allocations: 193.1 kB / 1.214 GB, free: 6.691 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.562e-05/0.8591, allocations: 120.8 kB / 1.214 GB, free: 6.566 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.223e-05/0.8592, allocations: 108.5 kB / 1.215 GB, free: 6.445 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.939e-05/0.8592, allocations: 184.2 kB / 1.215 GB, free: 6.258 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.329e-05/0.8593, allocations: 176.3 kB / 1.215 GB, free: 6.078 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.476e-05/0.8594, allocations: 184.4 kB / 1.215 GB, free: 5.891 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002128/0.8596, allocations: 417.2 kB / 1.215 GB, free: 5.426 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.53e-05/0.8597, allocations: 105 kB / 1.216 GB, free: 5.316 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.983e-05/0.8597, allocations: 112.9 kB / 1.216 GB, free: 5.199 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.352e-05/0.8597, allocations: 176.3 kB / 1.216 GB, free: 5.02 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.66e-05/0.8598, allocations: 176.3 kB / 1.216 GB, free: 4.84 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.83e-05/0.8599, allocations: 192.2 kB / 1.216 GB, free: 4.645 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.792e-05/0.8599, allocations: 180.3 kB / 1.216 GB, free: 4.461 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00013/0.8601, allocations: 311.7 kB / 1.217 GB, free: 4.133 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.018e-05/0.8601, allocations: 194 kB / 1.217 GB, free: 3.918 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.038e-05/0.8602, allocations: 180.2 kB / 1.217 GB, free: 3.734 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.264e-05/0.8603, allocations: 101 kB / 1.217 GB, free: 3.629 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.232e-05/0.8604, allocations: 180.2 kB / 1.217 GB, free: 3.445 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.839e-05/0.8604, allocations: 112.9 kB / 1.217 GB, free: 3.328 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.807e-05/0.8605, allocations: 109.1 kB / 1.218 GB, free: 3.223 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8605, allocations: 0 / 1.218 GB, free: 3.223 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003422/0.8608, allocations: 71.89 kB / 1.218 GB, free: 3.152 MB / 0.9356 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007129/0.8616, allocations: 397.5 kB / 1.218 GB, free: 2.828 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002771/0.8618, allocations: 219.2 kB / 1.218 GB, free: 2.602 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.8619, allocations: 0 / 1.218 GB, free: 2.602 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.834e-06/0.8619, allocations: 0 / 1.218 GB, free: 2.602 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003422/0.8622, allocations: 463.8 kB / 1.219 GB, free: 2.145 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002958/0.8625, allocations: 235 kB / 1.219 GB, free: 1.891 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002285/0.8628, allocations: 0.6768 MB / 1.22 GB, free: 1.188 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 7.117e-05/0.8628, allocations: 51.81 kB / 1.22 GB, free: 1.137 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.213e-05/0.8628, allocations: 7.438 kB / 1.22 GB, free: 1.133 MB / 0.9356 GB Notification: Performance of SimCode: time 2.5e-07/0.8629, allocations: 4 kB / 1.22 GB, free: 1.129 MB / 0.9356 GB Notification: Performance of Templates: time 0.004976/0.8678, allocations: 2.593 MB / 1.222 GB, free: 14.55 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.makefile (rm -f Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.sim & ./Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_IO_Python_3_8_Functions_Examples_Exchange.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches