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.001296/0.001296, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.00147/0.00147, allocations: 212.5 kB / 22.99 MB, free: 4.945 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.483/1.483, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.255/3.255, allocations: 0.5107 GB / 0.8166 GB, free: 17.83 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.002277/0.002277, allocations: 74.45 kB / 1.187 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3919/0.3941, allocations: 181.9 MB / 1.365 GB, free: 13.62 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.00239/0.3965, allocations: 0.5688 MB / 1.365 GB, free: 13.06 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002219/0.3987, allocations: 1.263 MB / 1.366 GB, free: 11.79 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.009e-05/0.3988, allocations: 0 / 1.366 GB, free: 11.79 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001097/0.3989, allocations: 7.938 kB / 1.366 GB, free: 11.78 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.131e-05/0.3989, allocations: 0 / 1.366 GB, free: 11.78 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009322/0.3999, allocations: 291.2 kB / 1.367 GB, free: 11.5 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001907/0.4001, allocations: 83.8 kB / 1.367 GB, free: 11.41 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.679e-05/0.4001, allocations: 0 / 1.367 GB, free: 11.41 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 6.84e-05/0.4002, allocations: 39.91 kB / 1.367 GB, free: 11.38 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001092/0.4003, allocations: 43.88 kB / 1.367 GB, free: 11.33 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.298e-05/0.4003, allocations: 8 kB / 1.367 GB, free: 11.32 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004829/0.4008, allocations: 219.6 kB / 1.367 GB, free: 11.11 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.578e-05/0.4008, allocations: 7.984 kB / 1.367 GB, free: 11.1 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 5.939e-05/0.4009, allocations: 27.86 kB / 1.367 GB, free: 11.07 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004539/0.4013, allocations: 267.2 kB / 1.367 GB, free: 10.81 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.4014, allocations: 0 / 1.367 GB, free: 10.81 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.503e-06/0.4014, allocations: 0 / 1.367 GB, free: 10.81 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.081e-05/0.4014, allocations: 3.938 kB / 1.367 GB, free: 10.81 MB / 1.061 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.0005212/0.4019, allocations: 371.4 kB / 1.368 GB, free: 10.41 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.4019, allocations: 8.031 kB / 1.368 GB, free: 10.4 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.672e-05/0.402, allocations: 84.22 kB / 1.368 GB, free: 10.32 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001762/0.4022, allocations: 201.8 kB / 1.368 GB, free: 10.1 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.065e-05/0.4023, allocations: 150.9 kB / 1.368 GB, free: 9.949 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.769e-05/0.4024, allocations: 158.9 kB / 1.368 GB, free: 9.793 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.552e-05/0.4024, allocations: 113 kB / 1.368 GB, free: 9.676 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.43e-05/0.4025, allocations: 75.28 kB / 1.368 GB, free: 9.602 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.324e-05/0.4026, allocations: 158.6 kB / 1.369 GB, free: 9.445 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.73e-05/0.4026, allocations: 150.6 kB / 1.369 GB, free: 9.297 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.957e-05/0.4027, allocations: 150.6 kB / 1.369 GB, free: 9.148 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003351/0.403, allocations: 409.6 kB / 1.369 GB, free: 8.719 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001119/0.4031, allocations: 177.1 kB / 1.369 GB, free: 8.535 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.693e-05/0.4032, allocations: 84.14 kB / 1.37 GB, free: 8.449 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 4.285e-05/0.4032, allocations: 79.27 kB / 1.37 GB, free: 8.371 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.532e-05/0.4033, allocations: 109.8 kB / 1.37 GB, free: 8.254 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 1.483e-06/0.4033, allocations: 0 / 1.37 GB, free: 8.254 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 0.0001115/0.4034, allocations: 37.59 kB / 1.37 GB, free: 8.211 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.185e-05/0.4035, allocations: 130.7 kB / 1.37 GB, free: 8.07 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001741/0.4036, allocations: 141.7 kB / 1.37 GB, free: 7.922 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.964e-05/0.4037, allocations: 37.62 kB / 1.37 GB, free: 7.879 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.575e-05/0.4037, allocations: 88.14 kB / 1.37 GB, free: 7.789 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.354e-06/0.4037, allocations: 0 / 1.37 GB, free: 7.789 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.801e-05/0.4038, allocations: 41.69 kB / 1.37 GB, free: 7.742 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.404, allocations: 322.8 kB / 1.37 GB, free: 7.418 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001493/0.4041, allocations: 101.6 kB / 1.371 GB, free: 7.312 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001393/0.4043, allocations: 101.6 kB / 1.371 GB, free: 7.207 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001361/0.4044, allocations: 94.52 kB / 1.371 GB, free: 7.105 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.4044, allocations: 0 / 1.371 GB, free: 7.105 MB / 1.061 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004446/0.4048, allocations: 268.9 kB / 1.371 GB, free: 6.824 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 5.168e-05/0.4049, allocations: 45.62 kB / 1.371 GB, free: 6.773 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.4049, allocations: 0 / 1.371 GB, free: 6.773 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.4049, allocations: 0 / 1.371 GB, free: 6.773 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.678e-06/0.4049, allocations: 3.938 kB / 1.371 GB, free: 6.77 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.68e-06/0.4049, allocations: 8.062 kB / 1.371 GB, free: 6.762 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003267/0.4052, allocations: 19.94 kB / 1.371 GB, free: 6.742 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.155e-05/0.4053, allocations: 19.98 kB / 1.371 GB, free: 6.723 MB / 1.061 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.0001459/0.4054, allocations: 198.2 kB / 1.371 GB, free: 6.52 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.831e-05/0.4055, allocations: 112.9 kB / 1.371 GB, free: 6.402 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.258e-05/0.4056, allocations: 120.6 kB / 1.372 GB, free: 6.27 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.513e-05/0.4057, allocations: 188.2 kB / 1.372 GB, free: 6.078 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.553e-05/0.4058, allocations: 180.2 kB / 1.372 GB, free: 5.895 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.45e-05/0.4059, allocations: 184.2 kB / 1.372 GB, free: 5.707 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002401/0.4061, allocations: 360.9 kB / 1.372 GB, free: 5.316 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.11e-05/0.4061, allocations: 105 kB / 1.372 GB, free: 5.207 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.432e-05/0.4062, allocations: 108.9 kB / 1.373 GB, free: 5.094 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.038e-05/0.4063, allocations: 184.2 kB / 1.373 GB, free: 4.906 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.302e-05/0.4064, allocations: 184.1 kB / 1.373 GB, free: 4.719 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.604e-05/0.4064, allocations: 176.3 kB / 1.373 GB, free: 4.539 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.474e-05/0.4065, allocations: 184.2 kB / 1.373 GB, free: 4.352 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001751/0.4067, allocations: 307.8 kB / 1.374 GB, free: 4.027 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 6.109e-05/0.4067, allocations: 108.9 kB / 1.374 GB, free: 3.914 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.907e-05/0.4068, allocations: 180.2 kB / 1.374 GB, free: 3.73 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.048e-05/0.4069, allocations: 108.9 kB / 1.374 GB, free: 3.617 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.089e-05/0.407, allocations: 188.2 kB / 1.374 GB, free: 3.426 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.471e-05/0.4071, allocations: 108.9 kB / 1.374 GB, free: 3.312 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.983e-05/0.4071, allocations: 106 kB / 1.374 GB, free: 3.211 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.4071, allocations: 0 / 1.374 GB, free: 3.211 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003746/0.4075, allocations: 71.78 kB / 1.374 GB, free: 3.141 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.0009968/0.4085, allocations: 423.6 kB / 1.375 GB, free: 2.793 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002928/0.4088, allocations: 181 kB / 1.375 GB, free: 2.598 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.4088, allocations: 0 / 1.375 GB, free: 2.598 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 2.415e-06/0.4088, allocations: 0 / 1.375 GB, free: 2.598 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004202/0.4092, allocations: 463.6 kB / 1.375 GB, free: 2.141 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003833/0.4096, allocations: 245.9 kB / 1.376 GB, free: 1.867 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.513e-05/0.4097, allocations: 67.41 kB / 1.376 GB, free: 1.781 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.543e-05/0.4097, allocations: 11.44 kB / 1.376 GB, free: 1.77 MB / 1.061 GB Notification: Performance of SimCode: time 3.5e-07/0.4097, allocations: 0 / 1.376 GB, free: 1.77 MB / 1.061 GB Notification: Performance of Templates: time 0.005236/0.415, allocations: 2.365 MB / 1.378 GB, free: 15.41 MB / 1.076 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.197864634916186]