Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001424/0.001424, allocations: 114.5 kB / 16.42 MB, free: 6.496 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.001791/0.001791, allocations: 188.3 kB / 17.35 MB, free: 5.758 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.467/1.467, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.544/2.544, allocations: 437 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001702/0.001702, allocations: 59.91 kB / 1.019 GB, free: 9.434 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.035/1.036, allocations: 151.6 MB / 1.167 GB, free: 3.867 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.002334/1.039, allocations: 0.546 MB / 1.168 GB, free: 3.324 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002002/1.041, allocations: 1.197 MB / 1.169 GB, free: 2.121 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.904e-05/1.041, allocations: 3.938 kB / 1.169 GB, free: 2.117 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001162/1.041, allocations: 7.938 kB / 1.169 GB, free: 2.109 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.475e-05/1.041, allocations: 4 kB / 1.169 GB, free: 2.105 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008674/1.042, allocations: 281 kB / 1.169 GB, free: 1.832 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001802/1.042, allocations: 79.86 kB / 1.169 GB, free: 1.754 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.894e-05/1.042, allocations: 4 kB / 1.169 GB, free: 1.75 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 6.638e-05/1.042, allocations: 39.91 kB / 1.169 GB, free: 1.711 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001269/1.042, allocations: 39.89 kB / 1.169 GB, free: 1.672 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.295e-05/1.042, allocations: 4 kB / 1.169 GB, free: 1.668 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005114/1.043, allocations: 215.6 kB / 1.17 GB, free: 1.457 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.316e-05/1.043, allocations: 7.938 kB / 1.17 GB, free: 1.449 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 7.825e-05/1.043, allocations: 35.84 kB / 1.17 GB, free: 1.414 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0004582/1.044, allocations: 247.9 kB / 1.17 GB, free: 1.176 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/1.044, allocations: 0 / 1.17 GB, free: 1.176 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.022e-06/1.044, allocations: 0 / 1.17 GB, free: 1.176 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.711e-06/1.044, allocations: 4 kB / 1.17 GB, free: 1.172 MB / 0.8887 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.0005912/1.044, allocations: 452.5 kB / 1.17 GB, free: 0.6758 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.081e-05/1.044, allocations: 12.02 kB / 1.17 GB, free: 0.6641 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001207/1.044, allocations: 84.22 kB / 1.17 GB, free: 0.582 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002094/1.045, allocations: 251.6 kB / 1.171 GB, free: 304 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.741e-05/1.045, allocations: 154.9 kB / 1.171 GB, free: 148 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001114/1.045, allocations: 158.9 kB / 1.171 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001027/1.045, allocations: 113.1 kB / 1.171 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.28e-05/1.045, allocations: 75.28 kB / 1.171 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.397e-05/1.045, allocations: 150.6 kB / 1.171 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.888e-05/1.045, allocations: 154.5 kB / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.019e-05/1.045, allocations: 150.6 kB / 1.172 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004298/1.046, allocations: 481.8 kB / 1.172 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001236/1.046, allocations: 173.2 kB / 1.172 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.161e-05/1.046, allocations: 80.14 kB / 1.172 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.971e-05/1.046, allocations: 75.28 kB / 1.172 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.768e-05/1.046, allocations: 113.8 kB / 1.172 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=0): time 1.623e-06/1.046, allocations: 0 / 1.172 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of matching and sorting (n=0): time 0.0001317/1.046, allocations: 45.58 kB / 1.173 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.925e-05/1.046, allocations: 55.41 kB / 1.173 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001935/1.046, allocations: 132.2 kB / 1.173 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.913e-05/1.046, allocations: 29.7 kB / 1.173 GB, free: 14.08 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001008/1.046, allocations: 96.08 kB / 1.173 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 5.671e-06/1.046, allocations: 0 / 1.173 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.647e-05/1.047, allocations: 49.64 kB / 1.173 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001485/1.047, allocations: 318.8 kB / 1.173 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001321/1.047, allocations: 59.95 kB / 1.173 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001168/1.047, allocations: 63.94 kB / 1.173 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001443/1.047, allocations: 98.58 kB / 1.173 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/1.047, allocations: 0 / 1.173 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000441/1.048, allocations: 227.2 kB / 1.174 GB, free: 13.15 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 5.986e-05/1.048, allocations: 45.62 kB / 1.174 GB, free: 13.1 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/1.048, allocations: 0 / 1.174 GB, free: 13.1 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/1.048, allocations: 4.062 kB / 1.174 GB, free: 13.09 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.483e-06/1.048, allocations: 0 / 1.174 GB, free: 13.09 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/1.048, allocations: 0 / 1.174 GB, free: 13.09 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003861/1.048, allocations: 31.86 kB / 1.174 GB, free: 13.06 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.296e-05/1.048, allocations: 19.98 kB / 1.174 GB, free: 13.04 MB / 0.9044 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.0001424/1.048, allocations: 193.1 kB / 1.174 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001118/1.048, allocations: 112.9 kB / 1.174 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.174e-05/1.048, allocations: 116.5 kB / 1.174 GB, free: 12.6 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.936e-05/1.049, allocations: 180.3 kB / 1.174 GB, free: 12.42 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.125e-05/1.049, allocations: 104.9 kB / 1.174 GB, free: 12.31 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001035/1.049, allocations: 186.1 kB / 1.175 GB, free: 12.1 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.003e-05/1.049, allocations: 180.3 kB / 1.175 GB, free: 11.92 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.826e-05/1.049, allocations: 108.9 kB / 1.175 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.144e-05/1.049, allocations: 180.3 kB / 1.175 GB, free: 11.62 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001051/1.049, allocations: 259.5 kB / 1.175 GB, free: 11.36 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001911/1.049, allocations: 387 kB / 1.176 GB, free: 10.96 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.76e-05/1.049, allocations: 112.9 kB / 1.176 GB, free: 10.84 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 7.96e-05/1.05, allocations: 107.2 kB / 1.176 GB, free: 10.73 MB / 0.9044 GB Notification: Performance of Backend: time 6.81e-07/1.05, allocations: 0 / 1.176 GB, free: 10.73 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.003489/1.053, allocations: 0.523 MB / 1.176 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0007477/1.054, allocations: 0.8739 MB / 1.177 GB, free: 9.344 MB / 0.9044 GB Notification: Performance of Templates: time 0.006265/1.06, allocations: 2.629 MB / 1.18 GB, free: 6.734 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.makefile (rm -f Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe ; mkfifo Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe >> ../files/Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.sim & ./Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_IO_Python_3_8_Functions_Examples_Exchange.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches