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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001247/0.001247, allocations: 110.2 kB / 19.69 MB, free: 2.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001376/0.001376, allocations: 211.6 kB / 23.01 MB, free: 4.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.416/1.416, allocations: 230.6 MB / 256.8 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.211/3.211, allocations: 0.505 GB / 0.8108 GB, free: 22.04 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,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") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002266/0.002266, allocations: 68.73 kB / 1.178 GB, free: 16.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3523/0.3546, allocations: 180.2 MB / 1.354 GB, free: 7.988 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.001846/0.3564, allocations: 0.5585 MB / 1.355 GB, free: 7.434 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002002/0.3584, allocations: 1.297 MB / 1.356 GB, free: 6.129 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.366e-05/0.3584, allocations: 4 kB / 1.356 GB, free: 6.125 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 9.885e-05/0.3585, allocations: 4 kB / 1.356 GB, free: 6.121 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 5.219e-05/0.3586, allocations: 3.938 kB / 1.356 GB, free: 6.117 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007492/0.3593, allocations: 287.2 kB / 1.356 GB, free: 5.836 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.000162/0.3595, allocations: 83.86 kB / 1.356 GB, free: 5.754 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 3.969e-05/0.3595, allocations: 0 / 1.356 GB, free: 5.754 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 5.811e-05/0.3596, allocations: 39.91 kB / 1.356 GB, free: 5.715 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001009/0.3597, allocations: 43.83 kB / 1.356 GB, free: 5.672 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.199e-05/0.3597, allocations: 4 kB / 1.356 GB, free: 5.668 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004489/0.3602, allocations: 251.5 kB / 1.357 GB, free: 5.422 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.335e-05/0.3602, allocations: 7.984 kB / 1.357 GB, free: 5.414 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 6.317e-05/0.3603, allocations: 31.86 kB / 1.357 GB, free: 5.383 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.000405/0.3607, allocations: 263.2 kB / 1.357 GB, free: 5.125 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.3607, allocations: 0 / 1.357 GB, free: 5.125 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.063e-06/0.3607, allocations: 0 / 1.357 GB, free: 5.125 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.162e-06/0.3607, allocations: 4 kB / 1.357 GB, free: 5.121 MB / 1.045 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.0004805/0.3612, allocations: 375.4 kB / 1.357 GB, free: 4.719 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.3612, allocations: 8.031 kB / 1.357 GB, free: 4.711 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.918e-05/0.3613, allocations: 88.17 kB / 1.357 GB, free: 4.625 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001671/0.3615, allocations: 193.8 kB / 1.358 GB, free: 4.41 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.778e-05/0.3615, allocations: 158.9 kB / 1.358 GB, free: 4.254 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.628e-05/0.3616, allocations: 158.9 kB / 1.358 GB, free: 4.098 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.114e-05/0.3617, allocations: 113.6 kB / 1.358 GB, free: 3.98 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.658e-05/0.3617, allocations: 75.28 kB / 1.358 GB, free: 3.906 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.15e-05/0.3618, allocations: 150.6 kB / 1.358 GB, free: 3.758 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.556e-05/0.3619, allocations: 150.6 kB / 1.358 GB, free: 3.609 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.461e-05/0.3619, allocations: 154.6 kB / 1.358 GB, free: 3.457 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003395/0.3623, allocations: 445 kB / 1.359 GB, free: 2.98 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 8.921e-05/0.3624, allocations: 169.1 kB / 1.359 GB, free: 2.805 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.984e-05/0.3624, allocations: 80.14 kB / 1.359 GB, free: 2.723 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.504e-05/0.3624, allocations: 79.28 kB / 1.359 GB, free: 2.645 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.909e-05/0.3625, allocations: 113.8 kB / 1.359 GB, free: 2.523 MB / 1.045 GB Notification: Performance of pre-optimization done (n=0): time 1.001e-06/0.3625, allocations: 3.938 kB / 1.359 GB, free: 2.52 MB / 1.045 GB Notification: Performance of matching and sorting (n=0): time 9.338e-05/0.3626, allocations: 37.69 kB / 1.359 GB, free: 2.477 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.924e-05/0.3627, allocations: 130.6 kB / 1.359 GB, free: 2.336 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001664/0.3628, allocations: 147.5 kB / 1.36 GB, free: 2.184 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.497e-05/0.3629, allocations: 25.7 kB / 1.36 GB, free: 2.152 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/0.363, allocations: 96.08 kB / 1.36 GB, free: 2.055 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.034e-06/0.363, allocations: 0 / 1.36 GB, free: 2.055 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.594e-05/0.363, allocations: 49.64 kB / 1.36 GB, free: 2 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.3632, allocations: 318.8 kB / 1.36 GB, free: 1.68 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001177/0.3633, allocations: 59.95 kB / 1.36 GB, free: 1.621 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001123/0.3634, allocations: 59.94 kB / 1.36 GB, free: 1.562 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001378/0.3635, allocations: 94.52 kB / 1.36 GB, free: 1.461 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.3636, allocations: 0 / 1.36 GB, free: 1.461 MB / 1.045 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004115/0.364, allocations: 227.2 kB / 1.36 GB, free: 1.227 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 5.182e-05/0.364, allocations: 45.69 kB / 1.361 GB, free: 1.176 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.364, allocations: 8.062 kB / 1.361 GB, free: 1.168 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.364, allocations: 0 / 1.361 GB, free: 1.168 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.42e-07/0.364, allocations: 0 / 1.361 GB, free: 1.168 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.797e-06/0.364, allocations: 0 / 1.361 GB, free: 1.168 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000329/0.3644, allocations: 27.92 kB / 1.361 GB, free: 1.141 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.565e-05/0.3644, allocations: 19.98 kB / 1.361 GB, free: 1.121 MB / 1.045 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.0001315/0.3645, allocations: 197.7 kB / 1.361 GB, free: 0.918 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.199e-05/0.3646, allocations: 116.9 kB / 1.361 GB, free: 0.7969 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.117e-05/0.3647, allocations: 116.5 kB / 1.361 GB, free: 0.6719 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.252e-05/0.3648, allocations: 184.2 kB / 1.361 GB, free: 496 kB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.269e-05/0.3648, allocations: 176.3 kB / 1.361 GB, free: 312 kB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.832e-05/0.3649, allocations: 184.2 kB / 1.361 GB, free: 120 kB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000262/0.3652, allocations: 388.2 kB / 1.362 GB, free: 15.69 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.554e-05/0.3652, allocations: 109 kB / 1.362 GB, free: 15.57 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.678e-05/0.3653, allocations: 108.9 kB / 1.362 GB, free: 15.46 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.447e-05/0.3654, allocations: 176.3 kB / 1.362 GB, free: 15.28 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.616e-05/0.3654, allocations: 180.2 kB / 1.362 GB, free: 15.1 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.726e-05/0.3655, allocations: 184.2 kB / 1.363 GB, free: 14.91 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.534e-05/0.3656, allocations: 180.3 kB / 1.363 GB, free: 14.73 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001643/0.3658, allocations: 307.7 kB / 1.363 GB, free: 14.4 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.987e-05/0.3658, allocations: 120.8 kB / 1.363 GB, free: 14.28 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.138e-05/0.3659, allocations: 176.3 kB / 1.363 GB, free: 14.1 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.258e-05/0.366, allocations: 101 kB / 1.363 GB, free: 13.99 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.277e-05/0.3661, allocations: 188.2 kB / 1.364 GB, free: 13.8 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.677e-05/0.3661, allocations: 105 kB / 1.364 GB, free: 13.69 MB / 1.061 GB Notification: Performance of sorting global known variables: time 8.246e-05/0.3662, allocations: 112.9 kB / 1.364 GB, free: 13.58 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.3662, allocations: 0 / 1.364 GB, free: 13.58 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003654/0.3666, allocations: 71.75 kB / 1.364 GB, free: 13.51 MB / 1.061 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.0009688/0.3675, allocations: 404.6 kB / 1.364 GB, free: 13.18 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002622/0.3678, allocations: 159.2 kB / 1.364 GB, free: 13.01 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3678, allocations: 0 / 1.364 GB, free: 13.01 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.723e-06/0.3678, allocations: 4.062 kB / 1.364 GB, free: 13 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003795/0.3682, allocations: 455.7 kB / 1.365 GB, free: 12.55 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003473/0.3685, allocations: 248.5 kB / 1.365 GB, free: 12.28 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003058/0.3688, allocations: 0.6807 MB / 1.366 GB, free: 11.57 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.37e-05/0.3688, allocations: 7.438 kB / 1.366 GB, free: 11.57 MB / 1.061 GB Notification: Performance of SimCode: time 3.1e-07/0.3688, allocations: 0 / 1.366 GB, free: 11.57 MB / 1.061 GB Notification: Performance of Templates: time 0.004655/0.3735, allocations: 2.369 MB / 1.368 GB, free: 9.207 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe 2>&1) [Timeout 800] 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/jenkins1/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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.190409031987656]