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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.005549/0.005549, allocations: 98.56 kB / 15.73 MB, free: 6.059 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.001158/0.001158, allocations: 196 kB / 16.68 MB, free: 5.977 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.352/1.352, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.435/2.435, allocations: 390.2 MB / 0.6648 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 61.98 kB / 0.9508 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3249/0.3262, allocations: 140.4 MB / 1.088 GB, free: 1.555 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.001843/0.3281, allocations: 0.5437 MB / 1.088 GB, free: 1.012 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001669/0.3298, allocations: 1.185 MB / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.623e-05/0.3299, allocations: 4 kB / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 9.58e-05/0.33, allocations: 7.938 kB / 1.09 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.83e-05/0.33, allocations: 7.984 kB / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007626/0.3308, allocations: 281.6 kB / 1.09 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000173/0.331, allocations: 79.81 kB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.185e-05/0.3311, allocations: 4 kB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.952e-05/0.3311, allocations: 39.91 kB / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.729e-05/0.3312, allocations: 43.89 kB / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.756e-05/0.3312, allocations: 0 / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004363/0.3317, allocations: 211.6 kB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.622e-05/0.3317, allocations: 4 kB / 1.09 GB, free: 15.15 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.879e-05/0.3318, allocations: 31.84 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003744/0.3322, allocations: 263.2 kB / 1.091 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.3322, allocations: 4 kB / 1.091 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3322, allocations: 0 / 1.091 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.705e-06/0.3322, allocations: 0 / 1.091 GB, free: 14.86 MB / 0.8575 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.0004897/0.3327, allocations: 440.5 kB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.3327, allocations: 12.03 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.25e-05/0.3328, allocations: 84.17 kB / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000167/0.333, allocations: 255.6 kB / 1.091 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.769e-05/0.3331, allocations: 162.9 kB / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.825e-05/0.3332, allocations: 154.9 kB / 1.092 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.164e-05/0.3332, allocations: 105.1 kB / 1.092 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.452e-05/0.3333, allocations: 83.28 kB / 1.092 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.233e-05/0.3333, allocations: 150.6 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.517e-05/0.3334, allocations: 150.6 kB / 1.092 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.234e-05/0.3335, allocations: 154.6 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004078/0.3339, allocations: 473.8 kB / 1.093 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001214/0.334, allocations: 173.1 kB / 1.093 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.88e-05/0.3341, allocations: 80.14 kB / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.283e-05/0.3341, allocations: 79.28 kB / 1.093 GB, free: 12.19 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.435e-05/0.3342, allocations: 117.8 kB / 1.093 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.3342, allocations: 0 / 1.093 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 0.0001362/0.3343, allocations: 41.58 kB / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.552e-05/0.3345, allocations: 126.7 kB / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002071/0.3347, allocations: 145.7 kB / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.201e-05/0.3347, allocations: 25.7 kB / 1.093 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/0.3348, allocations: 100.1 kB / 1.094 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.36e-06/0.3349, allocations: 0 / 1.094 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.021e-05/0.3349, allocations: 37.7 kB / 1.094 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001856/0.3351, allocations: 322.8 kB / 1.094 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000181/0.3353, allocations: 59.89 kB / 1.094 GB, free: 11.17 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001173/0.3355, allocations: 63.94 kB / 1.094 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001692/0.3356, allocations: 90.52 kB / 1.094 GB, free: 11.01 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.3356, allocations: 0 / 1.094 GB, free: 11.01 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004755/0.3361, allocations: 243.1 kB / 1.094 GB, free: 10.76 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 8.147e-05/0.3362, allocations: 45.69 kB / 1.094 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.3362, allocations: 0 / 1.094 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.3363, allocations: 0 / 1.094 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.473e-06/0.3363, allocations: 0 / 1.094 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.3363, allocations: 0 / 1.094 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004095/0.3367, allocations: 23.92 kB / 1.094 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.755e-05/0.3367, allocations: 15.98 kB / 1.094 GB, free: 10.67 MB / 0.8575 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.0001507/0.3369, allocations: 197.2 kB / 1.095 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.958e-05/0.337, allocations: 116.9 kB / 1.095 GB, free: 10.34 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.823e-05/0.3371, allocations: 120.5 kB / 1.095 GB, free: 10.21 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.316e-05/0.3371, allocations: 176.3 kB / 1.095 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001192/0.3373, allocations: 184.3 kB / 1.095 GB, free: 9.848 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.129e-05/0.3374, allocations: 188.2 kB / 1.095 GB, free: 9.656 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002922/0.3377, allocations: 409.2 kB / 1.096 GB, free: 9.199 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.635e-05/0.3377, allocations: 108.9 kB / 1.096 GB, free: 9.086 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.786e-05/0.3378, allocations: 104.9 kB / 1.096 GB, free: 8.977 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.496e-05/0.3378, allocations: 180.2 kB / 1.096 GB, free: 8.793 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.95e-05/0.3379, allocations: 176.3 kB / 1.096 GB, free: 8.613 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.338e-05/0.338, allocations: 192.2 kB / 1.096 GB, free: 8.418 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.671e-05/0.3381, allocations: 184.2 kB / 1.097 GB, free: 8.23 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001727/0.3383, allocations: 307.7 kB / 1.097 GB, free: 7.906 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001055/0.3384, allocations: 190 kB / 1.097 GB, free: 7.695 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.327e-05/0.3385, allocations: 176.3 kB / 1.097 GB, free: 7.516 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.192e-05/0.3386, allocations: 108.9 kB / 1.097 GB, free: 7.402 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.944e-05/0.3387, allocations: 176.3 kB / 1.098 GB, free: 7.223 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.179e-05/0.3387, allocations: 108.9 kB / 1.098 GB, free: 7.109 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.056e-05/0.3388, allocations: 109.5 kB / 1.098 GB, free: 7.004 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3388, allocations: 0 / 1.098 GB, free: 7.004 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004418/0.3393, allocations: 71.73 kB / 1.098 GB, free: 6.934 MB / 0.8575 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.0008996/0.3402, allocations: 399.3 kB / 1.098 GB, free: 6.605 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000316/0.3405, allocations: 219.3 kB / 1.098 GB, free: 6.379 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.3405, allocations: 0 / 1.098 GB, free: 6.379 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 2.946e-06/0.3405, allocations: 4 kB / 1.098 GB, free: 6.375 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004059/0.3409, allocations: 461.3 kB / 1.099 GB, free: 5.922 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000419/0.3414, allocations: 220.2 kB / 1.099 GB, free: 5.68 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003233/0.3417, allocations: 0.6846 MB / 1.1 GB, free: 4.969 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 8.075e-05/0.3418, allocations: 51.88 kB / 1.1 GB, free: 4.918 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.334e-05/0.3418, allocations: 7.438 kB / 1.1 GB, free: 4.91 MB / 0.8575 GB Notification: Performance of SimCode: time 3.21e-07/0.3418, allocations: 0 / 1.1 GB, free: 4.91 MB / 0.8575 GB Notification: Performance of Templates: time 0.005936/0.3477, allocations: 2.603 MB / 1.102 GB, free: 2.324 MB / 0.8575 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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