Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.005436/0.005436, allocations: 98.53 kB / 15.73 MB, free: 5.984 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.001231/0.001231, allocations: 191.6 kB / 16.67 MB, free: 5.91 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.362/1.362, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.824/2.824, allocations: 469.8 MB / 0.7425 GB, free: 3.34 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 59.91 kB / 1.065 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8545/0.8558, allocations: 159.1 MB / 1.221 GB, free: 2.086 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.002071/0.8578, allocations: 0.552 MB / 1.221 GB, free: 1.539 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001846/0.8597, allocations: 1.198 MB / 1.222 GB, free: 340 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.469e-05/0.8597, allocations: 4 kB / 1.222 GB, free: 336 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001195/0.8598, allocations: 3.984 kB / 1.222 GB, free: 332 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.764e-05/0.8599, allocations: 3.938 kB / 1.222 GB, free: 328 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007241/0.8606, allocations: 279.3 kB / 1.223 GB, free: 48 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001717/0.8608, allocations: 75.86 kB / 1.223 GB, free: 15.97 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.401e-05/0.8608, allocations: 4 kB / 1.223 GB, free: 15.97 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 5.568e-05/0.8609, allocations: 43.89 kB / 1.223 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 9.854e-05/0.861, allocations: 39.89 kB / 1.223 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.771e-05/0.861, allocations: 0 / 1.223 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004524/0.8615, allocations: 215.6 kB / 1.223 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 3.09e-05/0.8615, allocations: 4 kB / 1.223 GB, free: 15.67 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 6.324e-05/0.8616, allocations: 35.84 kB / 1.223 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0003676/0.8619, allocations: 251.9 kB / 1.223 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.8619, allocations: 4 kB / 1.223 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.914e-06/0.8619, allocations: 0 / 1.223 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.03e-05/0.8619, allocations: 0 / 1.223 GB, free: 15.39 MB / 0.9512 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.0005019/0.8625, allocations: 444.5 kB / 1.224 GB, free: 14.9 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.039e-05/0.8625, allocations: 12.62 kB / 1.224 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.309e-05/0.8626, allocations: 84.22 kB / 1.224 GB, free: 14.81 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001946/0.8628, allocations: 251.6 kB / 1.224 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.014e-05/0.8629, allocations: 154.9 kB / 1.224 GB, free: 14.37 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.121e-05/0.8629, allocations: 162.9 kB / 1.224 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.131e-05/0.863, allocations: 109 kB / 1.224 GB, free: 14.1 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.173e-05/0.8631, allocations: 75.28 kB / 1.224 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.895e-05/0.8631, allocations: 158.6 kB / 1.225 GB, free: 13.87 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.233e-05/0.8632, allocations: 150.6 kB / 1.225 GB, free: 13.72 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.725e-05/0.8633, allocations: 151.5 kB / 1.225 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003638/0.8636, allocations: 473.8 kB / 1.225 GB, free: 13.06 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 8.735e-05/0.8637, allocations: 177.1 kB / 1.226 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.206e-05/0.8637, allocations: 80.14 kB / 1.226 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.205e-05/0.8638, allocations: 75.28 kB / 1.226 GB, free: 12.72 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.074e-05/0.8638, allocations: 117.8 kB / 1.226 GB, free: 12.59 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.8638, allocations: 0 / 1.226 GB, free: 12.59 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0): time 9.718e-05/0.8639, allocations: 37.59 kB / 1.226 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001037/0.864, allocations: 134.6 kB / 1.226 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001705/0.8642, allocations: 145.8 kB / 1.226 GB, free: 12.25 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.79e-05/0.8642, allocations: 25.7 kB / 1.226 GB, free: 12.22 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 7.067e-05/0.8643, allocations: 92.08 kB / 1.226 GB, free: 12.13 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.234e-06/0.8643, allocations: 4 kB / 1.226 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.429e-05/0.8644, allocations: 41.69 kB / 1.226 GB, free: 12.08 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001204/0.8645, allocations: 314.8 kB / 1.227 GB, free: 11.76 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001142/0.8646, allocations: 63.94 kB / 1.227 GB, free: 11.7 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001011/0.8647, allocations: 63.94 kB / 1.227 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001326/0.8648, allocations: 90.53 kB / 1.227 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.8648, allocations: 64 / 1.227 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004058/0.8652, allocations: 243.1 kB / 1.227 GB, free: 11.29 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 4.682e-05/0.8653, allocations: 45.69 kB / 1.227 GB, free: 11.24 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.8653, allocations: 0 / 1.227 GB, free: 11.24 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.8653, allocations: 0 / 1.227 GB, free: 11.24 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.21e-07/0.8653, allocations: 0 / 1.227 GB, free: 11.24 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.76e-06/0.8653, allocations: 0 / 1.227 GB, free: 11.24 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002746/0.8656, allocations: 23.97 kB / 1.227 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.014e-05/0.8656, allocations: 20 kB / 1.227 GB, free: 11.2 MB / 0.9512 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.0001225/0.8658, allocations: 193.6 kB / 1.227 GB, free: 11 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.961e-05/0.8658, allocations: 112.9 kB / 1.227 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.82e-05/0.8659, allocations: 120.4 kB / 1.227 GB, free: 10.75 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.394e-05/0.8659, allocations: 176.3 kB / 1.228 GB, free: 10.57 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.143e-05/0.866, allocations: 180.3 kB / 1.228 GB, free: 10.38 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.703e-05/0.8661, allocations: 184.3 kB / 1.228 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000284/0.8664, allocations: 413.2 kB / 1.228 GB, free: 9.734 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.932e-05/0.8665, allocations: 120.8 kB / 1.228 GB, free: 9.609 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.757e-05/0.8665, allocations: 104.9 kB / 1.229 GB, free: 9.5 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001161/0.8666, allocations: 176.3 kB / 1.229 GB, free: 9.32 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-05/0.8667, allocations: 184.2 kB / 1.229 GB, free: 9.133 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.551e-05/0.8668, allocations: 180.3 kB / 1.229 GB, free: 8.949 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.097e-05/0.8668, allocations: 180.2 kB / 1.229 GB, free: 8.766 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001468/0.867, allocations: 311.8 kB / 1.23 GB, free: 8.438 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 7.784e-05/0.867, allocations: 197.9 kB / 1.23 GB, free: 8.219 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.178e-05/0.8671, allocations: 176.3 kB / 1.23 GB, free: 8.039 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.764e-05/0.8672, allocations: 112.9 kB / 1.23 GB, free: 7.922 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.993e-05/0.8673, allocations: 176.3 kB / 1.23 GB, free: 7.742 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.751e-05/0.8673, allocations: 105 kB / 1.23 GB, free: 7.633 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 7.101e-05/0.8674, allocations: 114.6 kB / 1.23 GB, free: 7.523 MB / 0.9512 GB Notification: Performance of sort global known variables: time 9e-08/0.8674, allocations: 4 kB / 1.23 GB, free: 7.52 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003993/0.8678, allocations: 71.73 kB / 1.23 GB, free: 7.449 MB / 0.9512 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.0007551/0.8685, allocations: 394.8 kB / 1.231 GB, free: 7.125 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002572/0.8688, allocations: 151.3 kB / 1.231 GB, free: 6.965 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.8688, allocations: 0 / 1.231 GB, free: 6.965 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 2.034e-06/0.8688, allocations: 0 / 1.231 GB, free: 6.965 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003739/0.8692, allocations: 459.6 kB / 1.231 GB, free: 6.512 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003617/0.8695, allocations: 240 kB / 1.232 GB, free: 6.25 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002555/0.8698, allocations: 0.6768 MB / 1.232 GB, free: 5.547 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 7.801e-05/0.8699, allocations: 47.92 kB / 1.232 GB, free: 5.5 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.586e-05/0.8699, allocations: 7.438 kB / 1.232 GB, free: 5.492 MB / 0.9512 GB Notification: Performance of SimCode: time 3.1e-07/0.8699, allocations: 0 / 1.232 GB, free: 5.492 MB / 0.9512 GB Notification: Performance of Templates: time 0.005739/0.8756, allocations: 2.604 MB / 1.235 GB, free: 2.906 MB / 0.9512 GB make -j1 -f Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.makefile (rm -f Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe ; mkfifo Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe >> ../files/Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.sim & ./Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_IO_Python_3_8_Functions_Examples_Exchange.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches