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.005857/0.005857, allocations: 99.77 kB / 15.73 MB, free: 6.047 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.001274/0.001274, allocations: 187.6 kB / 16.67 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.392/1.392, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.707/2.707, allocations: 461.9 MB / 0.7348 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001139/0.001139, allocations: 59.91 kB / 1.054 GB, free: 7.156 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3383/0.3394, allocations: 157.4 MB / 1.208 GB, free: 9.652 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.001774/0.3412, allocations: 0.5438 MB / 1.208 GB, free: 9.105 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001692/0.3429, allocations: 1.191 MB / 1.209 GB, free: 7.906 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.593e-05/0.343, allocations: 8 kB / 1.209 GB, free: 7.898 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001016/0.3431, allocations: 7.969 kB / 1.209 GB, free: 7.891 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.212e-05/0.3432, allocations: 3.938 kB / 1.209 GB, free: 7.887 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006423/0.3438, allocations: 277.7 kB / 1.21 GB, free: 7.617 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001474/0.344, allocations: 79.86 kB / 1.21 GB, free: 7.539 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.129e-05/0.344, allocations: 7.938 kB / 1.21 GB, free: 7.531 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 5.252e-05/0.3441, allocations: 39.91 kB / 1.21 GB, free: 7.492 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.976e-05/0.3442, allocations: 43.84 kB / 1.21 GB, free: 7.449 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.956e-05/0.3442, allocations: 7.938 kB / 1.21 GB, free: 7.441 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003478/0.3445, allocations: 203.7 kB / 1.21 GB, free: 7.242 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.404e-05/0.3446, allocations: 7.938 kB / 1.21 GB, free: 7.234 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.925e-05/0.3446, allocations: 31.84 kB / 1.21 GB, free: 7.203 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003032/0.3449, allocations: 259.5 kB / 1.21 GB, free: 6.949 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.345, allocations: 4 kB / 1.21 GB, free: 6.945 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.492e-06/0.345, allocations: 0 / 1.21 GB, free: 6.945 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.601e-06/0.345, allocations: 0 / 1.21 GB, free: 6.945 MB / 0.9669 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.0004257/0.3454, allocations: 445 kB / 1.211 GB, free: 6.457 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.245e-05/0.3454, allocations: 8.031 kB / 1.211 GB, free: 6.449 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.043e-05/0.3455, allocations: 88.12 kB / 1.211 GB, free: 6.363 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001459/0.3457, allocations: 243.7 kB / 1.211 GB, free: 6.086 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.263e-05/0.3457, allocations: 162.9 kB / 1.211 GB, free: 5.926 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.104e-05/0.3458, allocations: 158.9 kB / 1.211 GB, free: 5.77 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.006e-05/0.3459, allocations: 109.1 kB / 1.212 GB, free: 5.656 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.449e-05/0.3459, allocations: 75.28 kB / 1.212 GB, free: 5.582 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.793e-05/0.346, allocations: 158.5 kB / 1.212 GB, free: 5.426 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.043e-05/0.346, allocations: 150.6 kB / 1.212 GB, free: 5.277 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.649e-05/0.346, allocations: 154.6 kB / 1.212 GB, free: 5.125 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002697/0.3463, allocations: 465.9 kB / 1.212 GB, free: 4.621 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 7.034e-05/0.3464, allocations: 169.1 kB / 1.213 GB, free: 4.445 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.971e-05/0.3464, allocations: 84.14 kB / 1.213 GB, free: 4.359 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.326e-05/0.3465, allocations: 83.22 kB / 1.213 GB, free: 4.277 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.182e-05/0.3465, allocations: 113.8 kB / 1.213 GB, free: 4.156 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 1.543e-06/0.3465, allocations: 3.938 kB / 1.213 GB, free: 4.152 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 9.265e-05/0.3466, allocations: 37.61 kB / 1.213 GB, free: 4.109 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.762e-05/0.3467, allocations: 126.7 kB / 1.213 GB, free: 3.973 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001368/0.3468, allocations: 151.2 kB / 1.213 GB, free: 3.816 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.449e-05/0.3469, allocations: 29.7 kB / 1.213 GB, free: 3.781 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.695e-05/0.3469, allocations: 96.12 kB / 1.213 GB, free: 3.684 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.094e-06/0.3469, allocations: 0 / 1.213 GB, free: 3.684 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.418e-05/0.347, allocations: 41.69 kB / 1.213 GB, free: 3.637 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000101/0.3471, allocations: 318.8 kB / 1.214 GB, free: 3.316 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001146/0.3472, allocations: 59.94 kB / 1.214 GB, free: 3.258 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.291e-05/0.3473, allocations: 59.89 kB / 1.214 GB, free: 3.199 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001229/0.3475, allocations: 98.52 kB / 1.214 GB, free: 3.094 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.3475, allocations: 0 / 1.214 GB, free: 3.094 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003775/0.3478, allocations: 235.1 kB / 1.214 GB, free: 2.852 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.474e-05/0.3479, allocations: 47.39 kB / 1.214 GB, free: 2.801 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.3479, allocations: 0 / 1.214 GB, free: 2.801 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.3479, allocations: 0 / 1.214 GB, free: 2.801 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.02e-07/0.3479, allocations: 0 / 1.214 GB, free: 2.801 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.997e-06/0.3479, allocations: 3.938 kB / 1.214 GB, free: 2.797 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002809/0.3482, allocations: 19.98 kB / 1.214 GB, free: 2.777 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.87e-05/0.3483, allocations: 20.05 kB / 1.214 GB, free: 2.758 MB / 0.9669 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.0001121/0.3484, allocations: 201.1 kB / 1.214 GB, free: 2.551 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.598e-05/0.3485, allocations: 120.8 kB / 1.214 GB, free: 2.426 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.484e-05/0.3485, allocations: 104.5 kB / 1.215 GB, free: 2.312 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.653e-05/0.3486, allocations: 184.2 kB / 1.215 GB, free: 2.125 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.174e-05/0.3486, allocations: 180.3 kB / 1.215 GB, free: 1.941 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.297e-05/0.3487, allocations: 180.3 kB / 1.215 GB, free: 1.758 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002107/0.3489, allocations: 425.1 kB / 1.216 GB, free: 1.285 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.071e-05/0.349, allocations: 101 kB / 1.216 GB, free: 1.18 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.399e-05/0.349, allocations: 108.9 kB / 1.216 GB, free: 1.066 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.223e-05/0.349, allocations: 180.2 kB / 1.216 GB, free: 0.8828 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.144e-05/0.3491, allocations: 180.3 kB / 1.216 GB, free: 0.6992 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.271e-05/0.3492, allocations: 180.2 kB / 1.216 GB, free: 0.5156 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.841e-05/0.3492, allocations: 180.3 kB / 1.216 GB, free: 340 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001227/0.3493, allocations: 315.7 kB / 1.217 GB, free: 0 / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.889e-05/0.3494, allocations: 190 kB / 1.217 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.557e-05/0.3495, allocations: 180.3 kB / 1.217 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.844e-05/0.3496, allocations: 105 kB / 1.217 GB, free: 15.49 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.15e-05/0.3496, allocations: 188.2 kB / 1.217 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.261e-05/0.3497, allocations: 101 kB / 1.217 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.195e-05/0.3497, allocations: 109.9 kB / 1.218 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3497, allocations: 0 / 1.218 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003194/0.3501, allocations: 75.89 kB / 1.218 GB, free: 15.02 MB / 0.9825 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.0006749/0.3508, allocations: 393.2 kB / 1.218 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002726/0.351, allocations: 219.3 kB / 1.218 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.351, allocations: 0 / 1.218 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.633e-06/0.3511, allocations: 0 / 1.218 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003455/0.3514, allocations: 459.7 kB / 1.219 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002971/0.3517, allocations: 232.2 kB / 1.219 GB, free: 13.76 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002476/0.352, allocations: 0.6806 MB / 1.22 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.691e-05/0.352, allocations: 59.86 kB / 1.22 GB, free: 13 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.358e-05/0.3521, allocations: 11.44 kB / 1.22 GB, free: 12.99 MB / 0.9825 GB Notification: Performance of SimCode: time 2.2e-07/0.3521, allocations: 0 / 1.22 GB, free: 12.99 MB / 0.9825 GB Notification: Performance of Templates: time 0.005066/0.3571, allocations: 2.619 MB / 1.222 GB, free: 10.39 MB / 0.9825 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