Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001511/0.001511, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001804/0.001805, allocations: 196 kB / 16.14 MB, free: 6.648 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.428/1.428, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.751/2.751, allocations: 461.9 MB / 0.7342 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001426/0.001426, allocations: 70.19 kB / 0.8984 GB, free: 37.22 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3176/0.3191, allocations: 157.4 MB / 1.052 GB, free: 8.887 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.002195/0.3213, allocations: 0.6128 MB / 1.053 GB, free: 8.273 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001881/0.3232, allocations: 1.21 MB / 1.054 GB, free: 7.055 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.85e-05/0.3233, allocations: 0 / 1.054 GB, free: 7.055 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001013/0.3234, allocations: 3.984 kB / 1.054 GB, free: 7.051 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.682e-05/0.3234, allocations: 0 / 1.054 GB, free: 7.051 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006235/0.3241, allocations: 249.1 kB / 1.054 GB, free: 6.809 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002184/0.3243, allocations: 79.8 kB / 1.054 GB, free: 6.73 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.155e-05/0.3244, allocations: 4 kB / 1.054 GB, free: 6.727 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.937e-05/0.3244, allocations: 35.91 kB / 1.054 GB, free: 6.691 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.622e-05/0.3245, allocations: 39.91 kB / 1.054 GB, free: 6.652 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.777e-05/0.3245, allocations: 4 kB / 1.054 GB, free: 6.648 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000406/0.3249, allocations: 187.7 kB / 1.054 GB, free: 6.465 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.986e-05/0.325, allocations: 7.938 kB / 1.054 GB, free: 6.457 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.229e-05/0.325, allocations: 39.78 kB / 1.054 GB, free: 6.418 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003601/0.3254, allocations: 263.5 kB / 1.055 GB, free: 6.16 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.3254, allocations: 0 / 1.055 GB, free: 6.16 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.011e-06/0.3254, allocations: 0 / 1.055 GB, free: 6.16 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.668e-06/0.3254, allocations: 0 / 1.055 GB, free: 6.16 MB / 0.8106 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.0004981/0.3259, allocations: 441.3 kB / 1.055 GB, free: 5.676 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.326, allocations: 8.031 kB / 1.055 GB, free: 5.668 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.122e-05/0.3261, allocations: 88.12 kB / 1.055 GB, free: 5.582 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004082/0.3265, allocations: 251.7 kB / 1.056 GB, free: 5.297 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.254e-05/0.3265, allocations: 154.9 kB / 1.056 GB, free: 5.145 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002304/0.3268, allocations: 154.9 kB / 1.056 GB, free: 4.992 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.104e-05/0.3268, allocations: 113.1 kB / 1.056 GB, free: 4.875 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.113e-05/0.3269, allocations: 75.28 kB / 1.056 GB, free: 4.801 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.708e-05/0.327, allocations: 150.6 kB / 1.056 GB, free: 4.652 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.736e-05/0.3271, allocations: 158.5 kB / 1.056 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.068e-05/0.3271, allocations: 150.6 kB / 1.056 GB, free: 4.348 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000388/0.3275, allocations: 473.8 kB / 1.057 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.594e-05/0.3276, allocations: 169.1 kB / 1.057 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.173e-05/0.3277, allocations: 84.14 kB / 1.057 GB, free: 3.574 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.032e-05/0.3277, allocations: 83.27 kB / 1.057 GB, free: 3.492 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.463e-05/0.3277, allocations: 117.7 kB / 1.057 GB, free: 3.367 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.3277, allocations: 0 / 1.057 GB, free: 3.367 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 9.403e-05/0.3278, allocations: 29.7 kB / 1.057 GB, free: 3.332 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.39e-05/0.3279, allocations: 130.7 kB / 1.057 GB, free: 3.191 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000161/0.3281, allocations: 149.7 kB / 1.058 GB, free: 3.035 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.566e-05/0.3281, allocations: 29.7 kB / 1.058 GB, free: 3 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.817e-05/0.3282, allocations: 88.14 kB / 1.058 GB, free: 2.91 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.675e-06/0.3282, allocations: 0 / 1.058 GB, free: 2.91 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.39e-05/0.3283, allocations: 41.69 kB / 1.058 GB, free: 2.863 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001052/0.3284, allocations: 318.8 kB / 1.058 GB, free: 2.543 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001104/0.3285, allocations: 59.94 kB / 1.058 GB, free: 2.484 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001052/0.3286, allocations: 63.94 kB / 1.058 GB, free: 2.422 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001233/0.3287, allocations: 98.5 kB / 1.058 GB, free: 2.316 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.3287, allocations: 0 / 1.058 GB, free: 2.316 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003802/0.3291, allocations: 239.2 kB / 1.058 GB, free: 2.07 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 5.39e-05/0.3292, allocations: 47.41 kB / 1.059 GB, free: 2.02 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.3292, allocations: 0 / 1.059 GB, free: 2.02 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.3292, allocations: 0 / 1.059 GB, free: 2.02 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.62e-07/0.3292, allocations: 0 / 1.059 GB, free: 2.02 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.807e-06/0.3292, allocations: 0 / 1.059 GB, free: 2.02 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003348/0.3296, allocations: 23.89 kB / 1.059 GB, free: 1.996 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.707e-05/0.3296, allocations: 11.98 kB / 1.059 GB, free: 1.984 MB / 0.8106 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.0001391/0.3298, allocations: 210.6 kB / 1.059 GB, free: 1.77 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.103e-05/0.3299, allocations: 112.8 kB / 1.059 GB, free: 1.652 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.674e-05/0.3299, allocations: 112.5 kB / 1.059 GB, free: 1.535 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.361e-05/0.33, allocations: 184.2 kB / 1.059 GB, free: 1.348 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.491e-05/0.3301, allocations: 184.3 kB / 1.059 GB, free: 1.16 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.13e-05/0.3302, allocations: 184.2 kB / 1.06 GB, free: 0.9727 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002672/0.3305, allocations: 413.2 kB / 1.06 GB, free: 0.5117 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.765e-05/0.3305, allocations: 101 kB / 1.06 GB, free: 416 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.907e-05/0.3306, allocations: 112.8 kB / 1.06 GB, free: 296 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.291e-05/0.3306, allocations: 176.3 kB / 1.06 GB, free: 112 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.722e-05/0.3307, allocations: 184.3 kB / 1.06 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.853e-05/0.3308, allocations: 184.2 kB / 1.061 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.942e-05/0.3309, allocations: 176.3 kB / 1.061 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001648/0.3311, allocations: 311.7 kB / 1.061 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.175e-05/0.3312, allocations: 186 kB / 1.061 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.662e-05/0.3313, allocations: 184.2 kB / 1.061 GB, free: 14.83 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.146e-05/0.3314, allocations: 105 kB / 1.062 GB, free: 14.72 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.652e-05/0.3315, allocations: 184.2 kB / 1.062 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.327e-05/0.3315, allocations: 101.3 kB / 1.062 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001006/0.3316, allocations: 109.8 kB / 1.062 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3316, allocations: 0 / 1.062 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004575/0.3321, allocations: 71.98 kB / 1.062 GB, free: 14.25 MB / 0.8262 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.0008321/0.3329, allocations: 411.1 kB / 1.062 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003167/0.3332, allocations: 211.3 kB / 1.063 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.3333, allocations: 0 / 1.063 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.996e-06/0.3333, allocations: 4 kB / 1.063 GB, free: 13.69 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004577/0.3337, allocations: 0.5248 MB / 1.063 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003863/0.3341, allocations: 250 kB / 1.063 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002697/0.3344, allocations: 0.6809 MB / 1.064 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.684e-05/0.3345, allocations: 55.8 kB / 1.064 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.401e-05/0.3345, allocations: 11.38 kB / 1.064 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.3345, allocations: 0 / 1.064 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of Templates: time 0.005283/0.3398, allocations: 2.556 MB / 1.067 GB, free: 9.574 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.makefile (rm -f Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.sim & ./Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_IO_Python_3_8_Functions_Examples_Exchange.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches