Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001369/0.001369, allocations: 114.8 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001455/0.001455, allocations: 201.9 kB / 22.17 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.473/1.473, allocations: 225.6 MB / 250.9 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.779/2.779, allocations: 476.7 MB / 0.7645 GB, free: 10.06 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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=2500,variableFilter="time|yR1.1.|yI1.1.|yR2.1.|yR2.2.|yI2.1.|yI2.2.",fileNamePrefix="Buildings_11_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_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001999/0.001999, allocations: 63.91 kB / 1.109 GB, free: 6.531 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.879/0.881, allocations: 168.7 MB / 1.274 GB, free: 4.52 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.001945/0.8829, allocations: 0.5579 MB / 1.275 GB, free: 3.965 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002011/0.8849, allocations: 1.283 MB / 1.276 GB, free: 2.676 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.564e-05/0.8849, allocations: 8 kB / 1.276 GB, free: 2.668 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 8.527e-05/0.885, allocations: 3.938 kB / 1.276 GB, free: 2.664 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.151e-05/0.8851, allocations: 3.938 kB / 1.276 GB, free: 2.66 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007558/0.8858, allocations: 279.3 kB / 1.276 GB, free: 2.387 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001528/0.886, allocations: 75.86 kB / 1.276 GB, free: 2.312 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.995e-05/0.886, allocations: 8 kB / 1.276 GB, free: 2.305 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 5.901e-05/0.8861, allocations: 43.89 kB / 1.276 GB, free: 2.262 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001124/0.8862, allocations: 43.83 kB / 1.276 GB, free: 2.219 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.003e-05/0.8862, allocations: 4 kB / 1.276 GB, free: 2.215 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004038/0.8866, allocations: 211.6 kB / 1.276 GB, free: 2.008 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.662e-05/0.8866, allocations: 4 kB / 1.276 GB, free: 2.004 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.532e-05/0.8867, allocations: 35.84 kB / 1.277 GB, free: 1.969 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004049/0.8871, allocations: 250 kB / 1.277 GB, free: 1.727 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.8871, allocations: 4 kB / 1.277 GB, free: 1.723 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.694e-06/0.8871, allocations: 0 / 1.277 GB, free: 1.723 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.097e-06/0.8871, allocations: 4 kB / 1.277 GB, free: 1.719 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.0005479/0.8877, allocations: 448.5 kB / 1.277 GB, free: 1.227 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.8877, allocations: 12.03 kB / 1.277 GB, free: 1.215 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.83e-05/0.8878, allocations: 80.22 kB / 1.277 GB, free: 1.137 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000213/0.888, allocations: 255.6 kB / 1.278 GB, free: 0.8477 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.074e-05/0.8881, allocations: 162.9 kB / 1.278 GB, free: 0.6875 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.36e-05/0.8882, allocations: 154.9 kB / 1.278 GB, free: 0.5352 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.333e-05/0.8883, allocations: 109.1 kB / 1.278 GB, free: 432 kB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.39e-05/0.8883, allocations: 75.28 kB / 1.278 GB, free: 356 kB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.674e-05/0.8884, allocations: 154.6 kB / 1.278 GB, free: 200 kB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-05/0.8884, allocations: 150.6 kB / 1.278 GB, free: 48 kB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.939e-05/0.8885, allocations: 150.6 kB / 1.278 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003776/0.8889, allocations: 477.8 kB / 1.279 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001076/0.889, allocations: 165.1 kB / 1.279 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.008e-05/0.889, allocations: 80.14 kB / 1.279 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.497e-05/0.8891, allocations: 79.22 kB / 1.279 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.134e-05/0.8891, allocations: 117.8 kB / 1.279 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.8891, allocations: 4 kB / 1.279 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 0.0001127/0.8893, allocations: 41.58 kB / 1.279 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001663/0.8894, allocations: 126.7 kB / 1.279 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002598/0.8897, allocations: 147.8 kB / 1.28 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.685e-05/0.8897, allocations: 25.7 kB / 1.28 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.45e-05/0.8898, allocations: 92.12 kB / 1.28 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.174e-06/0.8898, allocations: 4 kB / 1.28 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.956e-05/0.8899, allocations: 41.7 kB / 1.28 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002916/0.8902, allocations: 318.8 kB / 1.28 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001228/0.8903, allocations: 63.94 kB / 1.28 GB, free: 14.03 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001074/0.8904, allocations: 56.02 kB / 1.28 GB, free: 13.97 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001564/0.8905, allocations: 98.52 kB / 1.28 GB, free: 13.87 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.8906, allocations: 3.938 kB / 1.28 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0005248/0.8911, allocations: 235.1 kB / 1.281 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 6.105e-05/0.8911, allocations: 45.69 kB / 1.281 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.8911, allocations: 4.062 kB / 1.281 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.8912, allocations: 0 / 1.281 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.062e-06/0.8912, allocations: 0 / 1.281 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.8912, allocations: 0 / 1.281 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003282/0.8915, allocations: 23.91 kB / 1.281 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.621e-05/0.8915, allocations: 19.98 kB / 1.281 GB, free: 13.52 MB / 0.9825 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.0001532/0.8917, allocations: 193.1 kB / 1.281 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.348e-05/0.8918, allocations: 116.9 kB / 1.281 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.549e-05/0.8918, allocations: 116.5 kB / 1.281 GB, free: 13.08 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001527/0.892, allocations: 176.3 kB / 1.281 GB, free: 12.9 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.459e-05/0.8921, allocations: 184.1 kB / 1.281 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.841e-05/0.8922, allocations: 184.2 kB / 1.282 GB, free: 12.53 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002769/0.8924, allocations: 409.3 kB / 1.282 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-05/0.8925, allocations: 116.9 kB / 1.282 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.125e-05/0.8925, allocations: 109 kB / 1.282 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.209e-05/0.8926, allocations: 180.2 kB / 1.282 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.699e-05/0.8927, allocations: 180.2 kB / 1.282 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.421e-05/0.8928, allocations: 180.3 kB / 1.283 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.653e-05/0.8929, allocations: 180.2 kB / 1.283 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001823/0.8931, allocations: 311.7 kB / 1.283 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.466e-05/0.8931, allocations: 194 kB / 1.283 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.522e-05/0.8932, allocations: 176.3 kB / 1.283 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.8933, allocations: 112.9 kB / 1.284 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.928e-05/0.8934, allocations: 180.3 kB / 1.284 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.449e-05/0.8935, allocations: 108.9 kB / 1.284 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.568e-05/0.8936, allocations: 108.9 kB / 1.284 GB, free: 9.859 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8.1e-08/0.8936, allocations: 0 / 1.284 GB, free: 9.859 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003711/0.8939, allocations: 71.73 kB / 1.284 GB, free: 9.789 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.0009474/0.8949, allocations: 397 kB / 1.284 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003252/0.8952, allocations: 159.3 kB / 1.285 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.8952, allocations: 0 / 1.285 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.703e-06/0.8952, allocations: 4.062 kB / 1.285 GB, free: 9.293 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004361/0.8956, allocations: 459.6 kB / 1.285 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000371/0.896, allocations: 236 kB / 1.285 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004045/0.8964, allocations: 0.6768 MB / 1.286 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.411e-05/0.8965, allocations: 51.88 kB / 1.286 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.662e-05/0.8965, allocations: 7.438 kB / 1.286 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/0.8965, allocations: 3.938 kB / 1.286 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of Templates: time 0.005621/0.9021, allocations: 2.607 MB / 1.289 GB, free: 5.227 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe ; mkfifo Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe >> ../files/Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.sim & ./Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_IO_Python_3_8_Functions_Examples_Exchange.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.947704415302724]