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.001415/0.001415, allocations: 108.1 kB / 16.4 MB, free: 5.91 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.001355/0.001355, allocations: 190.8 kB / 17.35 MB, free: 5.559 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.323/1.323, allocations: 222.9 MB / 241 MB, free: 15.09 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.386/2.386, allocations: 437.1 MB / 0.7112 GB, free: 4.312 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001769/0.001769, allocations: 67.89 kB / 1.019 GB, free: 9.367 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7091/0.7108, allocations: 151.6 MB / 1.167 GB, free: 3.801 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.001657/0.7125, allocations: 0.5529 MB / 1.168 GB, free: 3.254 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001651/0.7142, allocations: 1.201 MB / 1.169 GB, free: 2.047 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.248e-05/0.7142, allocations: 0 / 1.169 GB, free: 2.047 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 8.461e-05/0.7143, allocations: 15.88 kB / 1.169 GB, free: 2.031 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 4.18e-05/0.7144, allocations: 0 / 1.169 GB, free: 2.031 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006401/0.715, allocations: 273 kB / 1.169 GB, free: 1.766 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001362/0.7152, allocations: 83.86 kB / 1.169 GB, free: 1.684 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 3.432e-05/0.7152, allocations: 4 kB / 1.169 GB, free: 1.68 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 5.355e-05/0.7153, allocations: 35.92 kB / 1.169 GB, free: 1.645 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 8.675e-05/0.7154, allocations: 39.89 kB / 1.169 GB, free: 1.605 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.007e-05/0.7154, allocations: 4 kB / 1.169 GB, free: 1.602 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003647/0.7158, allocations: 211.6 kB / 1.17 GB, free: 1.395 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.39e-05/0.7158, allocations: 7.938 kB / 1.17 GB, free: 1.387 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.324e-05/0.7159, allocations: 31.84 kB / 1.17 GB, free: 1.355 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0003345/0.7162, allocations: 259.9 kB / 1.17 GB, free: 1.105 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.7162, allocations: 0 / 1.17 GB, free: 1.105 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.422e-06/0.7162, allocations: 0 / 1.17 GB, free: 1.105 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 8.015e-06/0.7162, allocations: 0 / 1.17 GB, free: 1.105 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.0004614/0.7167, allocations: 452.5 kB / 1.17 GB, free: 0.6094 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.033e-05/0.7167, allocations: 12.02 kB / 1.17 GB, free: 0.5977 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.79e-05/0.7168, allocations: 80.22 kB / 1.17 GB, free: 0.5195 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001799/0.717, allocations: 255.5 kB / 1.171 GB, free: 236 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.856e-05/0.7171, allocations: 158.9 kB / 1.171 GB, free: 76 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.58e-05/0.7172, allocations: 154.9 kB / 1.171 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.448e-05/0.7172, allocations: 109.1 kB / 1.171 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.831e-05/0.7173, allocations: 75.28 kB / 1.171 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.931e-05/0.7174, allocations: 154.6 kB / 1.171 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.635e-05/0.7174, allocations: 150.6 kB / 1.171 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.597e-05/0.7175, allocations: 158.5 kB / 1.172 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003462/0.7179, allocations: 473.8 kB / 1.172 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 9.016e-05/0.7179, allocations: 173.1 kB / 1.172 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.416e-05/0.718, allocations: 80.14 kB / 1.172 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.187e-05/0.718, allocations: 79.28 kB / 1.172 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.809e-05/0.7181, allocations: 113.8 kB / 1.172 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.7181, allocations: 3.938 kB / 1.172 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of matching and sorting (n=0): time 9.2e-05/0.7182, allocations: 41.58 kB / 1.173 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.488e-05/0.7183, allocations: 130.7 kB / 1.173 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001467/0.7184, allocations: 133.8 kB / 1.173 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.359e-05/0.7185, allocations: 29.7 kB / 1.173 GB, free: 13.94 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 6.917e-05/0.7185, allocations: 104.1 kB / 1.173 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.623e-06/0.7185, allocations: 0 / 1.173 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.313e-05/0.7186, allocations: 41.7 kB / 1.173 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.7188, allocations: 322.8 kB / 1.173 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001084/0.7189, allocations: 59.95 kB / 1.173 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001045/0.719, allocations: 59.94 kB / 1.173 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001289/0.7191, allocations: 98.52 kB / 1.173 GB, free: 13.24 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.7191, allocations: 0 / 1.173 GB, free: 13.24 MB / 0.9044 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003781/0.7195, allocations: 235.2 kB / 1.174 GB, free: 13 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 4.037e-05/0.7196, allocations: 41.69 kB / 1.174 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.7196, allocations: 0 / 1.174 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.7196, allocations: 64 / 1.174 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.445e-06/0.7196, allocations: 4 kB / 1.174 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.617e-06/0.7196, allocations: 0 / 1.174 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002776/0.7199, allocations: 31.86 kB / 1.174 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.401e-05/0.7199, allocations: 15.98 kB / 1.174 GB, free: 12.9 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.0001248/0.7201, allocations: 201.1 kB / 1.174 GB, free: 12.69 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.253e-05/0.7202, allocations: 108.9 kB / 1.174 GB, free: 12.58 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.75e-05/0.7202, allocations: 116.5 kB / 1.174 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.327e-05/0.7203, allocations: 176.3 kB / 1.174 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.112e-05/0.7204, allocations: 184.2 kB / 1.175 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.712e-05/0.7205, allocations: 180.4 kB / 1.175 GB, free: 11.9 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002556/0.7207, allocations: 421.2 kB / 1.175 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-05/0.7208, allocations: 101 kB / 1.175 GB, free: 11.33 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.952e-05/0.7208, allocations: 108.9 kB / 1.175 GB, free: 11.21 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.842e-05/0.7209, allocations: 180.2 kB / 1.175 GB, free: 11.03 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.797e-05/0.721, allocations: 184.2 kB / 1.176 GB, free: 10.84 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.734e-05/0.7211, allocations: 184.2 kB / 1.176 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.437e-05/0.7211, allocations: 176.3 kB / 1.176 GB, free: 10.48 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000164/0.7213, allocations: 311.8 kB / 1.176 GB, free: 10.15 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 9.107e-05/0.7214, allocations: 194 kB / 1.176 GB, free: 9.934 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.336e-05/0.7215, allocations: 180.2 kB / 1.177 GB, free: 9.75 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.609e-05/0.7216, allocations: 105 kB / 1.177 GB, free: 9.641 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.873e-05/0.7217, allocations: 184.2 kB / 1.177 GB, free: 9.453 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.379e-05/0.7217, allocations: 108.9 kB / 1.177 GB, free: 9.34 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 7.983e-05/0.7218, allocations: 104.8 kB / 1.177 GB, free: 9.238 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7218, allocations: 0 / 1.177 GB, free: 9.238 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003527/0.7222, allocations: 75.67 kB / 1.177 GB, free: 9.164 MB / 0.9044 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.006543/0.7287, allocations: 406.8 kB / 1.178 GB, free: 8.832 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003887/0.7291, allocations: 219.3 kB / 1.178 GB, free: 8.605 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.7291, allocations: 0 / 1.178 GB, free: 8.605 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 2.324e-06/0.7291, allocations: 0 / 1.178 GB, free: 8.605 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004522/0.7296, allocations: 455.6 kB / 1.178 GB, free: 8.156 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003375/0.73, allocations: 230.3 kB / 1.178 GB, free: 7.906 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003038/0.7303, allocations: 0.6807 MB / 1.179 GB, free: 7.199 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 8.357e-05/0.7304, allocations: 47.88 kB / 1.179 GB, free: 7.152 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.578e-05/0.7304, allocations: 11.44 kB / 1.179 GB, free: 7.141 MB / 0.9044 GB Notification: Performance of SimCode: time 2e-07/0.7304, allocations: 0 / 1.179 GB, free: 7.141 MB / 0.9044 GB Notification: Performance of Templates: time 0.005367/0.7358, allocations: 2.609 MB / 1.182 GB, free: 4.551 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 -s cvode -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