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.001672/0.001672, allocations: 78.88 kB / 19.76 MB, free: 2.035 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.001959/0.001959, allocations: 158.3 kB / 23.01 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.416/1.416, allocations: 177.2 MB / 203.4 MB, free: 8.965 MB / 190.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 2.858/2.858, allocations: 394.2 MB / 0.6387 GB, free: 11.93 MB / 0.6075 GB " [Timeout remaining time 177] 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.003517/0.003517, allocations: 67.89 kB / 1.009 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8019/0.8054, allocations: 181.8 MB / 1.187 GB, free: 16.18 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.001684/0.8071, allocations: 0.5604 MB / 1.187 GB, free: 15.85 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001478/0.8086, allocations: 1.276 MB / 1.188 GB, free: 14.99 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.148e-05/0.8086, allocations: 1.094 kB / 1.188 GB, free: 14.99 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 8.436e-05/0.8087, allocations: 6.266 kB / 1.188 GB, free: 14.98 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 4.024e-05/0.8087, allocations: 0.6562 kB / 1.188 GB, free: 14.98 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006504/0.8094, allocations: 292.2 kB / 1.189 GB, free: 14.85 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001302/0.8095, allocations: 74.8 kB / 1.189 GB, free: 14.83 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 3.506e-05/0.8096, allocations: 7.75 kB / 1.189 GB, free: 14.82 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 5.264e-05/0.8096, allocations: 35.94 kB / 1.189 GB, free: 14.82 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 9.285e-05/0.8097, allocations: 50.52 kB / 1.189 GB, free: 14.8 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.494e-05/0.8097, allocations: 3.344 kB / 1.189 GB, free: 14.8 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003699/0.8101, allocations: 223.5 kB / 1.189 GB, free: 14.72 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 2.517e-05/0.8101, allocations: 8.484 kB / 1.189 GB, free: 14.72 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 5.316e-05/0.8102, allocations: 27.52 kB / 1.189 GB, free: 14.71 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0003558/0.8105, allocations: 255 kB / 1.189 GB, free: 14.64 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.8105, allocations: 0 / 1.189 GB, free: 14.64 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.433e-06/0.8105, allocations: 5.062 kB / 1.189 GB, free: 14.63 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.8105, allocations: 0 / 1.189 GB, free: 14.63 MB / 1.076 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.0003384/0.8109, allocations: 366.6 kB / 1.19 GB, free: 14.3 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.075e-05/0.8109, allocations: 9 kB / 1.19 GB, free: 14.3 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.626e-05/0.811, allocations: 83.23 kB / 1.19 GB, free: 14.22 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.289e-05/0.8111, allocations: 202.6 kB / 1.19 GB, free: 14.01 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.493e-05/0.8111, allocations: 158 kB / 1.19 GB, free: 13.86 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.501e-05/0.8111, allocations: 162.6 kB / 1.19 GB, free: 13.7 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.729e-05/0.8112, allocations: 106.2 kB / 1.19 GB, free: 13.59 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.8112, allocations: 76.66 kB / 1.19 GB, free: 13.52 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.865e-05/0.8112, allocations: 155.3 kB / 1.191 GB, free: 13.37 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.591e-05/0.8112, allocations: 151.9 kB / 1.191 GB, free: 13.22 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.805e-05/0.8112, allocations: 155.9 kB / 1.191 GB, free: 13.07 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001763/0.8114, allocations: 417.2 kB / 1.191 GB, free: 12.65 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 3.988e-05/0.8114, allocations: 174.9 kB / 1.191 GB, free: 12.47 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.423e-05/0.8115, allocations: 81.27 kB / 1.192 GB, free: 12.39 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.193e-05/0.8115, allocations: 75.28 kB / 1.192 GB, free: 12.31 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.017e-05/0.8115, allocations: 112.8 kB / 1.192 GB, free: 12.2 MB / 1.076 GB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.8115, allocations: 0 / 1.192 GB, free: 12.2 MB / 1.076 GB Notification: Performance of matching and sorting (n=0): time 8.243e-05/0.8116, allocations: 44.84 kB / 1.192 GB, free: 12.15 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.552e-05/0.8116, allocations: 127.8 kB / 1.192 GB, free: 12.02 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001137/0.8117, allocations: 151.8 kB / 1.192 GB, free: 11.89 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.701e-05/0.8117, allocations: 27.95 kB / 1.192 GB, free: 11.86 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 3.845e-05/0.8118, allocations: 91.59 kB / 1.192 GB, free: 11.78 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.593e-06/0.8118, allocations: 0 / 1.192 GB, free: 11.78 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.78e-05/0.8118, allocations: 41.84 kB / 1.192 GB, free: 11.76 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 3.545e-05/0.8119, allocations: 319.8 kB / 1.192 GB, free: 11.44 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001488/0.812, allocations: 98.48 kB / 1.193 GB, free: 11.4 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001161/0.8121, allocations: 95.06 kB / 1.193 GB, free: 11.36 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001153/0.8123, allocations: 100.4 kB / 1.193 GB, free: 11.3 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.8123, allocations: 0 / 1.193 GB, free: 11.3 MB / 1.076 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003858/0.8126, allocations: 276.6 kB / 1.193 GB, free: 11.17 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.586e-05/0.8127, allocations: 49.2 kB / 1.193 GB, free: 11.13 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.8127, allocations: 0 / 1.193 GB, free: 11.13 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.8127, allocations: 1.531 kB / 1.193 GB, free: 11.13 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.62e-07/0.8127, allocations: 0 / 1.193 GB, free: 11.13 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.377e-06/0.8127, allocations: 4.594 kB / 1.193 GB, free: 11.13 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002982/0.813, allocations: 27.44 kB / 1.193 GB, free: 11.12 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.848e-05/0.813, allocations: 14.28 kB / 1.193 GB, free: 11.12 MB / 1.076 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.573e-05/0.8131, allocations: 197.7 kB / 1.193 GB, free: 10.93 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.587e-05/0.8132, allocations: 113.2 kB / 1.193 GB, free: 10.82 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.548e-05/0.8132, allocations: 116.3 kB / 1.194 GB, free: 10.7 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.149e-05/0.8132, allocations: 179.2 kB / 1.194 GB, free: 10.52 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.219e-05/0.8132, allocations: 182.2 kB / 1.194 GB, free: 10.33 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.141e-05/0.8132, allocations: 182.3 kB / 1.194 GB, free: 10.15 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001145/0.8134, allocations: 365.3 kB / 1.194 GB, free: 9.766 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-05/0.8134, allocations: 110.9 kB / 1.195 GB, free: 9.652 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.333e-05/0.8134, allocations: 102.7 kB / 1.195 GB, free: 9.547 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.182e-05/0.8134, allocations: 182 kB / 1.195 GB, free: 9.363 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.31e-05/0.8134, allocations: 181.9 kB / 1.195 GB, free: 9.18 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.54e-05/0.8135, allocations: 183.5 kB / 1.195 GB, free: 8.996 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.278e-05/0.8135, allocations: 186.1 kB / 1.195 GB, free: 8.809 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.23e-05/0.8136, allocations: 308.6 kB / 1.196 GB, free: 8.492 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.774e-05/0.8136, allocations: 108 kB / 1.196 GB, free: 8.383 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.98e-05/0.8136, allocations: 182.8 kB / 1.196 GB, free: 8.199 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.485e-05/0.8137, allocations: 106.7 kB / 1.196 GB, free: 8.09 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.422e-05/0.8137, allocations: 182.9 kB / 1.196 GB, free: 7.906 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.301e-05/0.8137, allocations: 106.8 kB / 1.196 GB, free: 7.797 MB / 1.076 GB Notification: Performance of sorting global known variables: time 5.397e-05/0.8138, allocations: 105.8 kB / 1.196 GB, free: 7.715 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.8138, allocations: 1.25 kB / 1.196 GB, free: 7.715 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003423/0.8141, allocations: 75.61 kB / 1.196 GB, free: 7.691 MB / 1.076 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.0008001/0.8149, allocations: 405.7 kB / 1.197 GB, free: 7.453 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002461/0.8151, allocations: 191 kB / 1.197 GB, free: 7.336 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.8151, allocations: 1.094 kB / 1.197 GB, free: 7.336 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 1.693e-06/0.8151, allocations: 0 / 1.197 GB, free: 7.336 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002514/0.8154, allocations: 455.8 kB / 1.197 GB, free: 6.891 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000242/0.8156, allocations: 233.7 kB / 1.198 GB, free: 6.684 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.092e-05/0.8157, allocations: 67.25 kB / 1.198 GB, free: 6.609 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 7.309e-05/0.8158, allocations: 50.06 kB / 1.198 GB, free: 6.605 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.38e-05/0.8158, allocations: 14.56 kB / 1.198 GB, free: 6.594 MB / 1.076 GB Notification: Performance of SimCode: time 3.2e-07/0.8158, allocations: 64 / 1.198 GB, free: 6.594 MB / 1.076 GB Notification: Performance of Templates: time 0.005907/0.8217, allocations: 2.752 MB / 1.2 GB, free: 6.266 MB / 1.076 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=800 -s ida -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: 8.558293367968872]