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.001268/0.001268, 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.001309/0.001309, 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.486/1.486, allocations: 225.6 MB / 249.4 MB, free: 3.164 MB / 190.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.778/2.778, allocations: 476.7 MB / 0.7628 GB, free: 15.17 MB / 0.6075 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.002013/0.002013, allocations: 67.89 kB / 1.107 GB, free: 4.633 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.02/1.022, allocations: 168.7 MB / 1.272 GB, free: 8.141 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.00192/1.024, allocations: 0.5596 MB / 1.272 GB, free: 7.812 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001982/1.026, allocations: 1.275 MB / 1.274 GB, free: 6.934 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.807e-05/1.026, allocations: 1.031 kB / 1.274 GB, free: 6.934 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 7.288e-05/1.026, allocations: 2.984 kB / 1.274 GB, free: 6.934 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 2.763e-05/1.026, allocations: 4.969 kB / 1.274 GB, free: 6.93 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006777/1.026, allocations: 280 kB / 1.274 GB, free: 6.797 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001374/1.026, allocations: 76.09 kB / 1.274 GB, free: 6.777 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 2.941e-05/1.026, allocations: 9.188 kB / 1.274 GB, free: 6.773 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.994e-05/1.027, allocations: 35.12 kB / 1.274 GB, free: 6.766 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.177e-05/1.027, allocations: 43.64 kB / 1.274 GB, free: 6.754 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.918e-05/1.027, allocations: 3.375 kB / 1.274 GB, free: 6.754 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003939/1.027, allocations: 210.4 kB / 1.274 GB, free: 6.68 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.063e-05/1.027, allocations: 12.38 kB / 1.274 GB, free: 6.672 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.717e-05/1.027, allocations: 34.48 kB / 1.274 GB, free: 6.652 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003819/1.027, allocations: 256.7 kB / 1.275 GB, free: 6.578 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/1.027, allocations: 1.281 kB / 1.275 GB, free: 6.578 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.132e-06/1.027, allocations: 0 / 1.275 GB, free: 6.578 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.057e-05/1.028, allocations: 0 / 1.275 GB, free: 6.578 MB / 0.9981 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.0003428/1.028, allocations: 448 kB / 1.275 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.093e-05/1.028, allocations: 9.562 kB / 1.275 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.611e-05/1.028, allocations: 82.25 kB / 1.275 GB, free: 6.07 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.24e-05/1.028, allocations: 265 kB / 1.275 GB, free: 5.781 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.502e-05/1.028, allocations: 153.9 kB / 1.276 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.236e-05/1.028, allocations: 161 kB / 1.276 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.01e-05/1.028, allocations: 109.9 kB / 1.276 GB, free: 5.367 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/1.028, allocations: 79.27 kB / 1.276 GB, free: 5.289 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.948e-05/1.028, allocations: 151.3 kB / 1.276 GB, free: 5.141 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.981e-05/1.028, allocations: 154.6 kB / 1.276 GB, free: 4.988 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.001e-05/1.028, allocations: 153 kB / 1.276 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002039/1.028, allocations: 469.2 kB / 1.277 GB, free: 4.355 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.678e-05/1.028, allocations: 170 kB / 1.277 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.513e-05/1.028, allocations: 84.14 kB / 1.277 GB, free: 4.094 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.574e-05/1.028, allocations: 75.81 kB / 1.277 GB, free: 4.02 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.643e-05/1.029, allocations: 112.7 kB / 1.277 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 9.01e-07/1.029, allocations: 0.5938 kB / 1.277 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 9.316e-05/1.029, allocations: 40.47 kB / 1.277 GB, free: 3.863 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.189e-05/1.029, allocations: 130.6 kB / 1.277 GB, free: 3.723 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001297/1.029, allocations: 156 kB / 1.278 GB, free: 3.598 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.985e-05/1.029, allocations: 28.89 kB / 1.278 GB, free: 3.566 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.503e-05/1.029, allocations: 91.28 kB / 1.278 GB, free: 3.48 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.374e-06/1.029, allocations: 0 / 1.278 GB, free: 3.48 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.266e-05/1.029, allocations: 41.22 kB / 1.278 GB, free: 3.461 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.197e-05/1.029, allocations: 320 kB / 1.278 GB, free: 3.145 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001223/1.029, allocations: 59.09 kB / 1.278 GB, free: 3.137 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001128/1.029, allocations: 58.3 kB / 1.278 GB, free: 3.129 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000127/1.029, allocations: 99.86 kB / 1.278 GB, free: 3.074 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/1.029, allocations: 4.844 kB / 1.278 GB, free: 3.07 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003841/1.03, allocations: 231.3 kB / 1.278 GB, free: 2.977 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.374e-05/1.03, allocations: 42.33 kB / 1.278 GB, free: 2.945 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.908e-06/1.03, allocations: 0.9375 kB / 1.278 GB, free: 2.945 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/1.03, allocations: 0 / 1.278 GB, free: 2.945 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.552e-06/1.03, allocations: 5.688 kB / 1.278 GB, free: 2.941 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/1.03, allocations: 0 / 1.278 GB, free: 2.941 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003131/1.03, allocations: 24.45 kB / 1.278 GB, free: 2.938 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.403e-05/1.03, allocations: 17.2 kB / 1.279 GB, free: 2.934 MB / 0.9981 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 8.29e-05/1.03, allocations: 197.3 kB / 1.279 GB, free: 2.742 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.891e-05/1.03, allocations: 112.9 kB / 1.279 GB, free: 2.629 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.006e-05/1.03, allocations: 112.9 kB / 1.279 GB, free: 2.512 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.641e-05/1.03, allocations: 181.8 kB / 1.279 GB, free: 2.328 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-05/1.03, allocations: 177.4 kB / 1.279 GB, free: 2.148 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.531e-05/1.03, allocations: 187.9 kB / 1.279 GB, free: 1.961 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001394/1.031, allocations: 412.2 kB / 1.28 GB, free: 1.512 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.521e-05/1.031, allocations: 110.8 kB / 1.28 GB, free: 17.4 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.676e-05/1.031, allocations: 117.6 kB / 1.28 GB, free: 17.28 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.44e-05/1.031, allocations: 177.7 kB / 1.28 GB, free: 17.1 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.47e-05/1.031, allocations: 185.7 kB / 1.28 GB, free: 16.91 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.336e-05/1.031, allocations: 179 kB / 1.281 GB, free: 16.73 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.311e-05/1.031, allocations: 181.8 kB / 1.281 GB, free: 16.55 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001567/1.031, allocations: 306.9 kB / 1.281 GB, free: 16.23 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001014/1.031, allocations: 193.9 kB / 1.281 GB, free: 16.02 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.346e-05/1.031, allocations: 181.7 kB / 1.281 GB, free: 15.84 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.992e-05/1.031, allocations: 110.1 kB / 1.281 GB, free: 15.72 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.243e-05/1.031, allocations: 178 kB / 1.282 GB, free: 15.54 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.415e-05/1.032, allocations: 102.7 kB / 1.282 GB, free: 15.44 MB / 1.014 GB Notification: Performance of sorting global known variables: time 8.196e-05/1.032, allocations: 105.7 kB / 1.282 GB, free: 15.36 MB / 1.014 GB Notification: Performance of sort global known variables: time 1e-07/1.032, allocations: 0.8125 kB / 1.282 GB, free: 15.36 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004056/1.032, allocations: 76.92 kB / 1.282 GB, free: 15.33 MB / 1.014 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.0009969/1.033, allocations: 411.5 kB / 1.282 GB, free: 15.09 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002604/1.033, allocations: 149.5 kB / 1.282 GB, free: 15.01 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/1.033, allocations: 0 / 1.282 GB, free: 15.01 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 2.244e-06/1.033, allocations: 1.312 kB / 1.282 GB, free: 15.01 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003611/1.034, allocations: 457 kB / 1.283 GB, free: 14.56 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002833/1.034, allocations: 227.8 kB / 1.283 GB, free: 14.36 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002969/1.034, allocations: 0.6808 MB / 1.284 GB, free: 13.66 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 7.833e-05/1.034, allocations: 52.3 kB / 1.284 GB, free: 13.66 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.185e-05/1.034, allocations: 12.91 kB / 1.284 GB, free: 13.64 MB / 1.014 GB Notification: Performance of SimCode: time 4.41e-07/1.034, allocations: 0.6562 kB / 1.284 GB, free: 13.64 MB / 1.014 GB Notification: Performance of Templates: time 0.006441/1.041, allocations: 2.605 MB / 1.286 GB, free: 13.37 MB / 1.014 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 9.195386982522905]