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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001907/0.001907, allocations: 110.5 kB / 17.6 MB, free: 4.703 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.002257/0.002257, allocations: 186.7 kB / 20.78 MB, free: 1.547 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.632/1.632, allocations: 225.6 MB / 249.4 MB, free: 3.152 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.841/2.841, allocations: 496.2 MB / 0.7819 GB, free: 12.27 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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=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: Performance of FrontEnd - loaded program: time 0.002161/0.002161, allocations: 71.88 kB / 1.136 GB, free: 12.43 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9033/0.9055, allocations: 173.6 MB / 1.305 GB, free: 33.45 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.001666/0.9071, allocations: 0.558 MB / 1.306 GB, free: 33.12 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001363/0.9085, allocations: 1.269 MB / 1.307 GB, free: 32.25 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.458e-05/0.9085, allocations: 0 / 1.307 GB, free: 32.25 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001089/0.9086, allocations: 10.2 kB / 1.307 GB, free: 32.24 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.35e-05/0.9087, allocations: 0 / 1.307 GB, free: 32.24 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005991/0.9093, allocations: 288.4 kB / 1.307 GB, free: 32.1 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001221/0.9094, allocations: 71.22 kB / 1.308 GB, free: 32.09 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.862e-05/0.9094, allocations: 4 kB / 1.308 GB, free: 32.08 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 4.332e-05/0.9095, allocations: 41.52 kB / 1.308 GB, free: 32.07 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 8.388e-05/0.9096, allocations: 50.72 kB / 1.308 GB, free: 32.05 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.9096, allocations: 2.906 kB / 1.308 GB, free: 32.05 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003403/0.9099, allocations: 203.7 kB / 1.308 GB, free: 31.98 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.741e-05/0.91, allocations: 17.5 kB / 1.308 GB, free: 31.97 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.488e-05/0.91, allocations: 35.5 kB / 1.308 GB, free: 31.95 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000295/0.9103, allocations: 256.8 kB / 1.308 GB, free: 31.88 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.9103, allocations: 0 / 1.308 GB, free: 31.88 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.312e-06/0.9103, allocations: 0 / 1.308 GB, free: 31.88 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.268e-05/0.9103, allocations: 0 / 1.308 GB, free: 31.88 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.0003976/0.9107, allocations: 443.1 kB / 1.309 GB, free: 31.45 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/0.9107, allocations: 10.69 kB / 1.309 GB, free: 31.45 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.605e-05/0.9108, allocations: 85.28 kB / 1.309 GB, free: 31.38 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001024/0.9109, allocations: 263.6 kB / 1.309 GB, free: 31.09 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.687e-05/0.9109, allocations: 153.5 kB / 1.309 GB, free: 30.94 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.774e-05/0.911, allocations: 156.2 kB / 1.309 GB, free: 30.79 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.398e-05/0.911, allocations: 106.2 kB / 1.309 GB, free: 30.68 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.521e-05/0.911, allocations: 75.28 kB / 1.309 GB, free: 30.61 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.113e-05/0.9111, allocations: 154.6 kB / 1.31 GB, free: 30.46 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.879e-05/0.9111, allocations: 153.4 kB / 1.31 GB, free: 30.31 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.069e-05/0.9111, allocations: 154.5 kB / 1.31 GB, free: 30.16 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001992/0.9113, allocations: 466.5 kB / 1.31 GB, free: 29.67 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 4.472e-05/0.9113, allocations: 176.4 kB / 1.31 GB, free: 29.49 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.421e-05/0.9114, allocations: 83.2 kB / 1.311 GB, free: 29.41 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.463e-05/0.9114, allocations: 75.28 kB / 1.311 GB, free: 29.34 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.26e-05/0.9114, allocations: 109.8 kB / 1.311 GB, free: 29.22 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 9.11e-07/0.9114, allocations: 3.938 kB / 1.311 GB, free: 29.21 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 8.669e-05/0.9115, allocations: 39.34 kB / 1.311 GB, free: 29.18 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.846e-05/0.9115, allocations: 133.7 kB / 1.311 GB, free: 29.04 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001184/0.9116, allocations: 149.2 kB / 1.311 GB, free: 28.91 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/0.9116, allocations: 28.36 kB / 1.311 GB, free: 28.88 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.721e-05/0.9117, allocations: 92.81 kB / 1.311 GB, free: 28.8 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.063e-06/0.9117, allocations: 0 / 1.311 GB, free: 28.8 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.41e-05/0.9117, allocations: 40.8 kB / 1.311 GB, free: 28.78 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.538e-05/0.9118, allocations: 321.2 kB / 1.311 GB, free: 28.46 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.218e-05/0.9119, allocations: 58 kB / 1.312 GB, free: 28.45 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.356e-05/0.912, allocations: 64.98 kB / 1.312 GB, free: 28.44 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001201/0.9121, allocations: 93.08 kB / 1.312 GB, free: 28.39 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.9121, allocations: 3.938 kB / 1.312 GB, free: 28.39 MB / 1.061 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003236/0.9124, allocations: 229.3 kB / 1.312 GB, free: 28.3 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.511e-05/0.9124, allocations: 46.3 kB / 1.312 GB, free: 28.26 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.9124, allocations: 0 / 1.312 GB, free: 28.26 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.9125, allocations: 3.984 kB / 1.312 GB, free: 28.26 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.112e-06/0.9125, allocations: 0 / 1.312 GB, free: 28.26 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.9125, allocations: 0 / 1.312 GB, free: 28.26 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002926/0.9128, allocations: 29.56 kB / 1.312 GB, free: 28.25 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.349e-05/0.9128, allocations: 19.34 kB / 1.312 GB, free: 28.25 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 7.46e-05/0.9129, allocations: 197.9 kB / 1.312 GB, free: 28.05 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.419e-05/0.9129, allocations: 115.7 kB / 1.312 GB, free: 27.94 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.724e-05/0.9129, allocations: 111.3 kB / 1.312 GB, free: 27.82 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.107e-05/0.913, allocations: 176.3 kB / 1.313 GB, free: 27.64 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-05/0.913, allocations: 188.3 kB / 1.313 GB, free: 27.45 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.331e-05/0.913, allocations: 180.3 kB / 1.313 GB, free: 27.27 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001287/0.9131, allocations: 415.8 kB / 1.313 GB, free: 26.82 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.411e-05/0.9132, allocations: 105 kB / 1.313 GB, free: 26.71 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.492e-05/0.9132, allocations: 115 kB / 1.314 GB, free: 26.59 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.298e-05/0.9132, allocations: 180.2 kB / 1.314 GB, free: 26.41 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.717e-05/0.9132, allocations: 186.5 kB / 1.314 GB, free: 26.23 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.301e-05/0.9132, allocations: 184.2 kB / 1.314 GB, free: 26.04 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-05/0.9133, allocations: 176.3 kB / 1.314 GB, free: 25.86 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.822e-05/0.9133, allocations: 308.8 kB / 1.314 GB, free: 25.54 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.315e-05/0.9134, allocations: 196.7 kB / 1.315 GB, free: 25.33 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.301e-05/0.9134, allocations: 180.2 kB / 1.315 GB, free: 25.14 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.785e-05/0.9135, allocations: 104 kB / 1.315 GB, free: 25.04 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.833e-05/0.9135, allocations: 179.5 kB / 1.315 GB, free: 24.86 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.423e-05/0.9135, allocations: 104.9 kB / 1.315 GB, free: 24.75 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.825e-05/0.9136, allocations: 108.1 kB / 1.315 GB, free: 24.67 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.9136, allocations: 0 / 1.315 GB, free: 24.67 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003339/0.9139, allocations: 79.5 kB / 1.315 GB, free: 24.64 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.0007899/0.9147, allocations: 396.7 kB / 1.316 GB, free: 24.41 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002184/0.9149, allocations: 147.2 kB / 1.316 GB, free: 24.33 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.9149, allocations: 0 / 1.316 GB, free: 24.33 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 2.745e-06/0.9149, allocations: 3.938 kB / 1.316 GB, free: 24.32 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002632/0.9152, allocations: 464.1 kB / 1.316 GB, free: 23.88 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002696/0.9154, allocations: 232.5 kB / 1.317 GB, free: 23.67 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.71e-05/0.9155, allocations: 0.6776 MB / 1.317 GB, free: 22.98 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 6.201e-05/0.9156, allocations: 50.61 kB / 1.317 GB, free: 22.97 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.613e-05/0.9156, allocations: 10.25 kB / 1.317 GB, free: 22.96 MB / 1.061 GB Notification: Performance of SimCode: time 7.42e-07/0.9156, allocations: 0 / 1.317 GB, free: 22.96 MB / 1.061 GB Notification: Performance of Templates: time 0.005055/0.9207, allocations: 2.603 MB / 1.32 GB, free: 22.69 MB / 1.061 GB " [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe 2>&1) [Timeout 400] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.330320958048105]