Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001383/0.001383, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001859/0.001859, allocations: 207.9 kB / 22.99 MB, free: 4.984 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.529/1.529, allocations: 230.6 MB / 256.8 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.312/3.312, allocations: 0.49 GB / 0.7959 GB, free: 35.58 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_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.001989/0.001989, allocations: 68.22 kB / 1.155 GB, free: 25.28 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3756/0.3776, allocations: 176.1 MB / 1.327 GB, free: 1.02 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.002351/0.3799, allocations: 0.5435 MB / 1.328 GB, free: 492 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002239/0.3822, allocations: 1.278 MB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.106e-05/0.3822, allocations: 0 / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001073/0.3823, allocations: 0 / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.491e-05/0.3823, allocations: 3.938 kB / 1.329 GB, free: 15.19 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007844/0.3831, allocations: 296.4 kB / 1.329 GB, free: 14.9 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001533/0.3833, allocations: 71.88 kB / 1.329 GB, free: 14.83 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.472e-05/0.3833, allocations: 3.984 kB / 1.329 GB, free: 14.83 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 6.405e-05/0.3834, allocations: 43.91 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 9.364e-05/0.3835, allocations: 43.83 kB / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.262e-05/0.3835, allocations: 8 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004194/0.3839, allocations: 239.6 kB / 1.33 GB, free: 14.5 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.187e-05/0.384, allocations: 4 kB / 1.33 GB, free: 14.5 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 5.08e-05/0.384, allocations: 27.91 kB / 1.33 GB, free: 14.47 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003927/0.3844, allocations: 259.2 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.3844, allocations: 4 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.024e-06/0.3844, allocations: 3.938 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.451e-06/0.3844, allocations: 0 / 1.33 GB, free: 14.21 MB / 1.029 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.0005078/0.3849, allocations: 363.5 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.385, allocations: 11.97 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001102/0.3851, allocations: 96.17 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001871/0.3853, allocations: 201.8 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.533e-05/0.3853, allocations: 150.9 kB / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.19e-05/0.3854, allocations: 162.9 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.8e-05/0.3855, allocations: 105.1 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.48e-05/0.3856, allocations: 79.22 kB / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.854e-05/0.3856, allocations: 158.5 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.506e-05/0.3857, allocations: 150.6 kB / 1.331 GB, free: 12.69 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.255e-05/0.3858, allocations: 150.6 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003412/0.3861, allocations: 421.5 kB / 1.332 GB, free: 12.1 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001064/0.3862, allocations: 169.1 kB / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.223e-05/0.3863, allocations: 88.08 kB / 1.332 GB, free: 11.83 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.443e-05/0.3863, allocations: 75.28 kB / 1.332 GB, free: 11.76 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.293e-05/0.3864, allocations: 109.8 kB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.3864, allocations: 0 / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 0.0001012/0.3865, allocations: 33.64 kB / 1.332 GB, free: 11.6 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.014e-05/0.3865, allocations: 130.7 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001737/0.3867, allocations: 147.8 kB / 1.332 GB, free: 11.31 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.844e-05/0.3867, allocations: 25.7 kB / 1.333 GB, free: 11.28 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.056e-05/0.3868, allocations: 96.09 kB / 1.333 GB, free: 11.18 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.944e-06/0.3868, allocations: 0 / 1.333 GB, free: 11.18 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.157e-05/0.3869, allocations: 49.69 kB / 1.333 GB, free: 11.12 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.3871, allocations: 314.8 kB / 1.333 GB, free: 10.81 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001595/0.3872, allocations: 101.6 kB / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001473/0.3874, allocations: 101.6 kB / 1.333 GB, free: 10.6 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001476/0.3875, allocations: 94.52 kB / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.3875, allocations: 3.938 kB / 1.333 GB, free: 10.49 MB / 1.029 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004523/0.388, allocations: 265 kB / 1.333 GB, free: 10.21 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 5.223e-05/0.388, allocations: 45.62 kB / 1.334 GB, free: 10.16 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.388, allocations: 0 / 1.334 GB, free: 10.16 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.388, allocations: 0 / 1.334 GB, free: 10.16 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.022e-06/0.388, allocations: 0 / 1.334 GB, free: 10.16 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.3881, allocations: 8.062 kB / 1.334 GB, free: 10.16 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003318/0.3884, allocations: 27.92 kB / 1.334 GB, free: 10.13 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.755e-05/0.3884, allocations: 12 kB / 1.334 GB, free: 10.12 MB / 1.029 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.0001608/0.3886, allocations: 202.7 kB / 1.334 GB, free: 9.91 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.615e-05/0.3887, allocations: 116.9 kB / 1.334 GB, free: 9.789 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.715e-05/0.3888, allocations: 116.5 kB / 1.334 GB, free: 9.656 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.144e-05/0.3888, allocations: 184.2 kB / 1.334 GB, free: 9.469 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.469e-05/0.3889, allocations: 176.3 kB / 1.334 GB, free: 9.289 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.635e-05/0.389, allocations: 184.3 kB / 1.335 GB, free: 9.102 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002539/0.3893, allocations: 372.8 kB / 1.335 GB, free: 8.699 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.406e-05/0.3893, allocations: 105 kB / 1.335 GB, free: 8.59 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.02e-05/0.3894, allocations: 104.9 kB / 1.335 GB, free: 8.48 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.187e-05/0.3895, allocations: 180.3 kB / 1.335 GB, free: 8.297 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.352e-05/0.3895, allocations: 184.1 kB / 1.335 GB, free: 8.109 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.254e-05/0.3896, allocations: 176.3 kB / 1.336 GB, free: 7.93 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.318e-05/0.3897, allocations: 188.2 kB / 1.336 GB, free: 7.738 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000183/0.3899, allocations: 307.7 kB / 1.336 GB, free: 7.414 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.401e-05/0.3899, allocations: 108.9 kB / 1.336 GB, free: 7.301 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.608e-05/0.39, allocations: 188.2 kB / 1.336 GB, free: 7.109 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.468e-05/0.3901, allocations: 105 kB / 1.336 GB, free: 7 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.643e-05/0.3902, allocations: 184.2 kB / 1.337 GB, free: 6.812 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.484e-05/0.3903, allocations: 105 kB / 1.337 GB, free: 6.703 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.582e-05/0.3903, allocations: 111.2 kB / 1.337 GB, free: 6.594 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.3903, allocations: 0 / 1.337 GB, free: 6.594 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003745/0.3907, allocations: 75.69 kB / 1.337 GB, free: 6.52 MB / 1.029 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.001016/0.3917, allocations: 424 kB / 1.337 GB, free: 6.184 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002926/0.392, allocations: 185 kB / 1.337 GB, free: 5.984 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.392, allocations: 0 / 1.337 GB, free: 5.984 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 5.681e-06/0.392, allocations: 8 kB / 1.337 GB, free: 5.977 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004163/0.3925, allocations: 451.7 kB / 1.338 GB, free: 5.531 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003572/0.3928, allocations: 235 kB / 1.338 GB, free: 5.277 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.852e-05/0.3929, allocations: 59.34 kB / 1.338 GB, free: 5.199 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.226e-05/0.393, allocations: 55.8 kB / 1.338 GB, free: 5.145 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.149e-05/0.393, allocations: 11.44 kB / 1.338 GB, free: 5.133 MB / 1.029 GB Notification: Performance of SimCode: time 3.01e-07/0.393, allocations: 0 / 1.338 GB, free: 5.133 MB / 1.029 GB Notification: Performance of Templates: time 0.00617/0.3991, allocations: 2.785 MB / 1.341 GB, free: 2.387 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe ; mkfifo Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe >> ../files/Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.sim & ./Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_IO_Python_3_8_Functions_Examples_Exchange.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.238327115992433]