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.001785/0.001786, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00204/0.00204, allocations: 197.1 kB / 16.26 MB, free: 6.629 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.488/1.488, allocations: 222.9 MB / 239.9 MB, free: 4.43 MB / 190.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.693/2.693, allocations: 437 MB / 0.7101 GB, free: 5.316 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001946/0.001946, allocations: 63.91 kB / 0.8687 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5773/0.5792, allocations: 151.6 MB / 1.017 GB, free: 2.75 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.002296/0.5816, allocations: 0.6044 MB / 1.017 GB, free: 2.148 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001963/0.5835, allocations: 1.179 MB / 1.019 GB, free: 0.9609 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.011e-05/0.5836, allocations: 4 kB / 1.019 GB, free: 0.957 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 9.22e-05/0.5837, allocations: 0 / 1.019 GB, free: 0.957 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.955e-05/0.5837, allocations: 3.984 kB / 1.019 GB, free: 0.9531 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000659/0.5844, allocations: 252.4 kB / 1.019 GB, free: 0.707 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001444/0.5846, allocations: 83.81 kB / 1.019 GB, free: 0.625 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.472e-05/0.5846, allocations: 4 kB / 1.019 GB, free: 0.6211 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.566e-05/0.5847, allocations: 43.89 kB / 1.019 GB, free: 0.5781 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.392e-05/0.5847, allocations: 43.84 kB / 1.019 GB, free: 0.5352 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.658e-05/0.5848, allocations: 0 / 1.019 GB, free: 0.5352 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003886/0.5852, allocations: 183.7 kB / 1.019 GB, free: 364 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.963e-05/0.5852, allocations: 7.984 kB / 1.019 GB, free: 356 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 6.315e-05/0.5853, allocations: 31.86 kB / 1.019 GB, free: 324 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0003848/0.5857, allocations: 255.5 kB / 1.019 GB, free: 68 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.5857, allocations: 4 kB / 1.019 GB, free: 64 kB / 0.7637 GB Notification: Performance of FrontEnd: time 2.365e-06/0.5857, allocations: 0 / 1.019 GB, free: 64 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.693e-06/0.5857, allocations: 0 / 1.019 GB, free: 64 kB / 0.7637 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.0006124/0.5863, allocations: 447 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/0.5864, allocations: 8.031 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000105/0.5865, allocations: 88.12 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002429/0.5867, allocations: 259.6 kB / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.402e-05/0.5868, allocations: 154.9 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001086/0.5869, allocations: 166.9 kB / 1.021 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.195e-05/0.587, allocations: 105.1 kB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.266e-05/0.5871, allocations: 75.28 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.347e-05/0.5872, allocations: 154.6 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.927e-05/0.5873, allocations: 150.6 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.534e-05/0.5873, allocations: 158.6 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004142/0.5878, allocations: 477.7 kB / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001022/0.5879, allocations: 169.1 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.154e-05/0.5879, allocations: 80.14 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 4.081e-05/0.588, allocations: 79.28 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.662e-05/0.588, allocations: 113.7 kB / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 1.152e-06/0.588, allocations: 3.938 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 0.0001119/0.5882, allocations: 45.62 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.84e-05/0.5882, allocations: 130.7 kB / 1.022 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000169/0.5884, allocations: 140 kB / 1.022 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.131e-05/0.5884, allocations: 33.7 kB / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.034e-05/0.5885, allocations: 96.12 kB / 1.022 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.043e-06/0.5885, allocations: 0 / 1.022 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.994e-05/0.5886, allocations: 41.7 kB / 1.022 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001425/0.5888, allocations: 318.8 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001163/0.5889, allocations: 55.95 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001058/0.589, allocations: 67.94 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001447/0.5891, allocations: 94.52 kB / 1.023 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.5892, allocations: 0 / 1.023 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004229/0.5896, allocations: 235.1 kB / 1.023 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.87e-05/0.5896, allocations: 45.69 kB / 1.023 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.5897, allocations: 0 / 1.023 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.5897, allocations: 0 / 1.023 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.006e-06/0.5897, allocations: 4 kB / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.5897, allocations: 0 / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003331/0.59, allocations: 27.81 kB / 1.023 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.209e-05/0.5901, allocations: 19.98 kB / 1.023 GB, free: 11.85 MB / 0.7794 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.0001429/0.5902, allocations: 193.1 kB / 1.023 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.521e-05/0.5903, allocations: 116.8 kB / 1.024 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.162e-05/0.5904, allocations: 112.5 kB / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.253e-05/0.5905, allocations: 180.3 kB / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.031e-05/0.5906, allocations: 180.2 kB / 1.024 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.378e-05/0.5906, allocations: 176.3 kB / 1.024 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002822/0.5909, allocations: 421.1 kB / 1.025 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.087e-05/0.591, allocations: 108.9 kB / 1.025 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.794e-05/0.591, allocations: 104.9 kB / 1.025 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.925e-05/0.5911, allocations: 184.2 kB / 1.025 GB, free: 9.984 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-05/0.5912, allocations: 176.3 kB / 1.025 GB, free: 9.805 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.616e-05/0.5913, allocations: 184.2 kB / 1.025 GB, free: 9.617 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.38e-05/0.5914, allocations: 184.2 kB / 1.026 GB, free: 9.43 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001816/0.5916, allocations: 311.7 kB / 1.026 GB, free: 9.102 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.504e-05/0.5917, allocations: 186.1 kB / 1.026 GB, free: 8.895 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.783e-05/0.5917, allocations: 184.3 kB / 1.026 GB, free: 8.707 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001017/0.5919, allocations: 108.9 kB / 1.026 GB, free: 8.594 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.975e-05/0.5919, allocations: 180.3 kB / 1.026 GB, free: 8.41 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.805e-05/0.592, allocations: 104.9 kB / 1.027 GB, free: 8.301 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.189e-05/0.5921, allocations: 104.8 kB / 1.027 GB, free: 8.199 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5921, allocations: 3.938 kB / 1.027 GB, free: 8.195 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003491/0.5924, allocations: 67.98 kB / 1.027 GB, free: 8.129 MB / 0.7794 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.0009065/0.5934, allocations: 408 kB / 1.027 GB, free: 7.793 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003182/0.5937, allocations: 219.3 kB / 1.027 GB, free: 7.566 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.5937, allocations: 0 / 1.027 GB, free: 7.566 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.054e-06/0.5937, allocations: 0 / 1.027 GB, free: 7.566 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004141/0.5941, allocations: 459.7 kB / 1.028 GB, free: 7.113 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000374/0.5945, allocations: 245.7 kB / 1.028 GB, free: 6.848 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003461/0.5949, allocations: 0.6806 MB / 1.029 GB, free: 6.141 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.934e-05/0.5949, allocations: 47.88 kB / 1.029 GB, free: 6.094 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.6e-05/0.595, allocations: 11.44 kB / 1.029 GB, free: 6.082 MB / 0.7794 GB Notification: Performance of SimCode: time 2.1e-07/0.595, allocations: 0 / 1.029 GB, free: 6.082 MB / 0.7794 GB Notification: Performance of Templates: time 0.005939/0.6009, allocations: 2.594 MB / 1.031 GB, free: 3.504 MB / 0.7794 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=400 -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/jenkins/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