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.001544/0.001544, allocations: 112.5 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001824/0.001824, allocations: 193.1 kB / 16.66 MB, free: 6.582 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.455/1.455, 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 10.1.1-maint.10.0.x/package.mo): time 2.654/2.654, allocations: 437 MB / 0.7105 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 67.89 kB / 1.019 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3276/0.3289, allocations: 151.6 MB / 1.167 GB, free: 6.895 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.001758/0.3307, allocations: 0.55 MB / 1.167 GB, free: 6.344 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001701/0.3324, allocations: 1.195 MB / 1.168 GB, free: 5.141 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.437e-05/0.3324, allocations: 0 / 1.168 GB, free: 5.141 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001014/0.3326, allocations: 7.984 kB / 1.168 GB, free: 5.133 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.122e-05/0.3326, allocations: 3.938 kB / 1.168 GB, free: 5.129 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006736/0.3333, allocations: 279.3 kB / 1.169 GB, free: 4.855 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001462/0.3335, allocations: 83.81 kB / 1.169 GB, free: 4.773 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.145e-05/0.3335, allocations: 4 kB / 1.169 GB, free: 4.77 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.959e-05/0.3336, allocations: 39.89 kB / 1.169 GB, free: 4.73 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 9.876e-05/0.3337, allocations: 39.84 kB / 1.169 GB, free: 4.691 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.835e-05/0.3337, allocations: 4 kB / 1.169 GB, free: 4.688 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003756/0.3341, allocations: 215.1 kB / 1.169 GB, free: 4.48 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.697e-05/0.3341, allocations: 4 kB / 1.169 GB, free: 4.477 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.665e-05/0.3342, allocations: 39.84 kB / 1.169 GB, free: 4.438 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003399/0.3345, allocations: 255.2 kB / 1.169 GB, free: 4.188 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.3346, allocations: 0 / 1.169 GB, free: 4.188 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.312e-06/0.3346, allocations: 0 / 1.169 GB, free: 4.188 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.3346, allocations: 0 / 1.169 GB, free: 4.188 MB / 0.92 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.000449/0.335, allocations: 452.5 kB / 1.17 GB, free: 3.691 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.3351, allocations: 8.031 kB / 1.17 GB, free: 3.684 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.121e-05/0.3352, allocations: 84.22 kB / 1.17 GB, free: 3.602 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001648/0.3353, allocations: 251.6 kB / 1.17 GB, free: 3.316 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.148e-05/0.3354, allocations: 158.9 kB / 1.17 GB, free: 3.16 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.487e-05/0.3355, allocations: 158.9 kB / 1.17 GB, free: 3.004 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.64e-05/0.3355, allocations: 109 kB / 1.17 GB, free: 2.891 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.869e-05/0.3356, allocations: 79.28 kB / 1.17 GB, free: 2.812 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.715e-05/0.3356, allocations: 154.5 kB / 1.171 GB, free: 2.66 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.823e-05/0.3357, allocations: 154.6 kB / 1.171 GB, free: 2.508 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.721e-05/0.3358, allocations: 154.6 kB / 1.171 GB, free: 2.355 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003205/0.3361, allocations: 465.9 kB / 1.171 GB, free: 1.852 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 8.604e-05/0.3362, allocations: 173.1 kB / 1.172 GB, free: 1.672 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.53e-05/0.3362, allocations: 84.14 kB / 1.172 GB, free: 1.586 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.878e-05/0.3363, allocations: 75.28 kB / 1.172 GB, free: 1.512 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.374e-05/0.3363, allocations: 113.8 kB / 1.172 GB, free: 1.391 MB / 0.92 GB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.3363, allocations: 0 / 1.172 GB, free: 1.391 MB / 0.92 GB Notification: Performance of matching and sorting (n=0): time 0.0001054/0.3364, allocations: 37.66 kB / 1.172 GB, free: 1.348 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.123e-05/0.3365, allocations: 134.6 kB / 1.172 GB, free: 1.203 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001605/0.3367, allocations: 141.8 kB / 1.172 GB, free: 1.055 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.68e-05/0.3367, allocations: 33.7 kB / 1.172 GB, free: 1.016 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.345e-05/0.3368, allocations: 92.09 kB / 1.172 GB, free: 0.9219 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.204e-06/0.3368, allocations: 0 / 1.172 GB, free: 0.9219 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.551e-05/0.3369, allocations: 45.69 kB / 1.172 GB, free: 0.8711 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001205/0.337, allocations: 314.8 kB / 1.173 GB, free: 0.5547 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001075/0.3371, allocations: 63.94 kB / 1.173 GB, free: 0.4922 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.681e-05/0.3372, allocations: 55.95 kB / 1.173 GB, free: 448 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001343/0.3374, allocations: 94.52 kB / 1.173 GB, free: 344 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.3374, allocations: 4.031 kB / 1.173 GB, free: 340 kB / 0.92 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003916/0.3378, allocations: 227.2 kB / 1.173 GB, free: 100 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.602e-05/0.3378, allocations: 49.61 kB / 1.173 GB, free: 44 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.177e-06/0.3378, allocations: 3.938 kB / 1.173 GB, free: 40 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.3378, allocations: 4 kB / 1.173 GB, free: 36 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.41e-07/0.3379, allocations: 0 / 1.173 GB, free: 36 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.3379, allocations: 0 / 1.173 GB, free: 36 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003141/0.3382, allocations: 20 kB / 1.173 GB, free: 16 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.05e-05/0.3382, allocations: 24.03 kB / 1.173 GB, free: 15.99 MB / 0.9356 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.0001244/0.3384, allocations: 197.1 kB / 1.173 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.089e-05/0.3385, allocations: 116.9 kB / 1.173 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.451e-05/0.3385, allocations: 116.5 kB / 1.173 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-05/0.3386, allocations: 180.2 kB / 1.174 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.745e-05/0.3387, allocations: 176.3 kB / 1.174 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.736e-05/0.3387, allocations: 188.2 kB / 1.174 GB, free: 14.99 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002299/0.339, allocations: 413.2 kB / 1.174 GB, free: 14.53 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.371e-05/0.339, allocations: 104.9 kB / 1.174 GB, free: 14.42 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.57e-05/0.3391, allocations: 116.8 kB / 1.175 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.281e-05/0.3391, allocations: 176.3 kB / 1.175 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.838e-05/0.3392, allocations: 184.2 kB / 1.175 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.197e-05/0.3393, allocations: 180.3 kB / 1.175 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.838e-05/0.3393, allocations: 184.2 kB / 1.175 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001446/0.3395, allocations: 307.8 kB / 1.176 GB, free: 13.23 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.203e-05/0.3396, allocations: 189.9 kB / 1.176 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.914e-05/0.3396, allocations: 184.3 kB / 1.176 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.821e-05/0.3397, allocations: 108.9 kB / 1.176 GB, free: 12.72 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.454e-05/0.3398, allocations: 180.2 kB / 1.176 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.285e-05/0.3398, allocations: 101 kB / 1.176 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.889e-05/0.3399, allocations: 110.1 kB / 1.176 GB, free: 12.33 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3399, allocations: 3.938 kB / 1.176 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003761/0.3403, allocations: 71.73 kB / 1.176 GB, free: 12.25 MB / 0.9356 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.0007098/0.341, allocations: 400.2 kB / 1.177 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002754/0.3413, allocations: 211.3 kB / 1.177 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3413, allocations: 0 / 1.177 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.874e-06/0.3413, allocations: 0 / 1.177 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003696/0.3417, allocations: 465.5 kB / 1.178 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003092/0.342, allocations: 228.1 kB / 1.178 GB, free: 11 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002647/0.3423, allocations: 0.6845 MB / 1.178 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 6.773e-05/0.3424, allocations: 43.92 kB / 1.178 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.446e-05/0.3424, allocations: 11.44 kB / 1.178 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of SimCode: time 3.81e-07/0.3424, allocations: 0 / 1.178 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of Templates: time 0.005336/0.3477, allocations: 2.609 MB / 1.181 GB, free: 7.641 MB / 0.9356 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/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