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.001479/0.001479, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.00168/0.00168, allocations: 191.7 kB / 22.23 MB, free: 5.105 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.284/1.284, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 2.829/2.829, allocations: 495.7 MB / 0.7831 GB, free: 33.69 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-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.001839/0.001839, allocations: 64.89 kB / 1.137 GB, free: 33.88 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2975/0.2994, allocations: 173.6 MB / 1.307 GB, free: 1.969 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.001783/0.3012, allocations: 0.5694 MB / 1.308 GB, free: 1.402 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001762/0.3029, allocations: 1.297 MB / 1.309 GB, free: 100 kB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.911e-05/0.3029, allocations: 0 / 1.309 GB, free: 100 kB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 7.528e-05/0.303, allocations: 0 / 1.309 GB, free: 100 kB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.364e-05/0.3031, allocations: 11.94 kB / 1.309 GB, free: 88 kB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006758/0.3037, allocations: 287.2 kB / 1.309 GB, free: 15.8 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001502/0.3039, allocations: 79.86 kB / 1.309 GB, free: 15.73 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 3.146e-05/0.3039, allocations: 0 / 1.309 GB, free: 15.73 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 5.007e-05/0.304, allocations: 43.86 kB / 1.309 GB, free: 15.68 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 8.422e-05/0.3041, allocations: 47.88 kB / 1.309 GB, free: 15.64 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.476e-05/0.3041, allocations: 4 kB / 1.309 GB, free: 15.63 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004153/0.3045, allocations: 239.6 kB / 1.309 GB, free: 15.4 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.511e-05/0.3045, allocations: 7.938 kB / 1.309 GB, free: 15.39 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 5.751e-05/0.3046, allocations: 35.84 kB / 1.309 GB, free: 15.36 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0003888/0.305, allocations: 271.2 kB / 1.31 GB, free: 15.09 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.305, allocations: 0 / 1.31 GB, free: 15.09 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.363e-06/0.305, allocations: 0 / 1.31 GB, free: 15.09 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.305, allocations: 0 / 1.31 GB, free: 15.09 MB / 1.014 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.0004426/0.3054, allocations: 375.4 kB / 1.31 GB, free: 14.69 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.149e-05/0.3055, allocations: 8.031 kB / 1.31 GB, free: 14.68 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.73e-05/0.3055, allocations: 84.22 kB / 1.31 GB, free: 14.6 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001561/0.3057, allocations: 201.8 kB / 1.31 GB, free: 14.38 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.873e-05/0.3058, allocations: 154.9 kB / 1.311 GB, free: 14.22 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.298e-05/0.3059, allocations: 154.9 kB / 1.311 GB, free: 14.07 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.282e-05/0.3059, allocations: 113.1 kB / 1.311 GB, free: 13.95 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.237e-05/0.306, allocations: 75.28 kB / 1.311 GB, free: 13.88 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.903e-05/0.306, allocations: 154.5 kB / 1.311 GB, free: 13.73 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.601e-05/0.3061, allocations: 154.6 kB / 1.311 GB, free: 13.57 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.026e-05/0.3062, allocations: 150.6 kB / 1.311 GB, free: 13.43 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000342/0.3065, allocations: 448.9 kB / 1.312 GB, free: 12.95 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 9.589e-05/0.3066, allocations: 165.1 kB / 1.312 GB, free: 12.77 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.662e-05/0.3066, allocations: 88.08 kB / 1.312 GB, free: 12.68 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.625e-05/0.3067, allocations: 75.28 kB / 1.312 GB, free: 12.61 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.459e-05/0.3067, allocations: 113.8 kB / 1.312 GB, free: 12.49 MB / 1.014 GB Notification: Performance of pre-optimization done (n=0): time 7.61e-07/0.3067, allocations: 4 kB / 1.312 GB, free: 12.48 MB / 1.014 GB Notification: Performance of matching and sorting (n=0): time 0.0001081/0.3068, allocations: 33.66 kB / 1.312 GB, free: 12.45 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.745e-05/0.3069, allocations: 126.7 kB / 1.312 GB, free: 12.31 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001584/0.3071, allocations: 149.7 kB / 1.312 GB, free: 12.15 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.678e-05/0.3071, allocations: 25.7 kB / 1.312 GB, free: 12.12 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 6.498e-05/0.3072, allocations: 92.14 kB / 1.313 GB, free: 12.03 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.164e-06/0.3072, allocations: 3.938 kB / 1.313 GB, free: 12.02 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.678e-05/0.3072, allocations: 41.69 kB / 1.313 GB, free: 11.98 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.3074, allocations: 326.8 kB / 1.313 GB, free: 11.65 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001064/0.3075, allocations: 55.95 kB / 1.313 GB, free: 11.59 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001008/0.3076, allocations: 63.88 kB / 1.313 GB, free: 11.53 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001344/0.3077, allocations: 94.52 kB / 1.313 GB, free: 11.43 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.3077, allocations: 64 / 1.313 GB, free: 11.43 MB / 1.014 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003908/0.3081, allocations: 235.2 kB / 1.313 GB, free: 11.19 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.701e-05/0.3082, allocations: 51.88 kB / 1.313 GB, free: 11.13 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.3082, allocations: 0 / 1.313 GB, free: 11.13 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.3082, allocations: 0 / 1.313 GB, free: 11.13 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.41e-07/0.3082, allocations: 4.062 kB / 1.313 GB, free: 11.13 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.967e-06/0.3082, allocations: 0 / 1.313 GB, free: 11.13 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002881/0.3085, allocations: 19.97 kB / 1.313 GB, free: 11.11 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.702e-05/0.3085, allocations: 12 kB / 1.313 GB, free: 11.1 MB / 1.014 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.0001471/0.3086, allocations: 208.3 kB / 1.314 GB, free: 10.89 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.387e-05/0.3087, allocations: 112.9 kB / 1.314 GB, free: 10.77 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.716e-05/0.3088, allocations: 112.5 kB / 1.314 GB, free: 10.65 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.327e-05/0.3089, allocations: 192.3 kB / 1.314 GB, free: 10.45 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-05/0.3089, allocations: 176.3 kB / 1.314 GB, free: 10.27 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.473e-05/0.309, allocations: 184.3 kB / 1.314 GB, free: 10.09 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002423/0.3093, allocations: 384.2 kB / 1.315 GB, free: 9.66 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.835e-05/0.3093, allocations: 105 kB / 1.315 GB, free: 9.551 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.633e-05/0.3094, allocations: 112.9 kB / 1.315 GB, free: 9.434 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.307e-05/0.3094, allocations: 176.3 kB / 1.315 GB, free: 9.254 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-05/0.3095, allocations: 180.2 kB / 1.315 GB, free: 9.07 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.1e-05/0.3096, allocations: 184.3 kB / 1.315 GB, free: 8.883 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.644e-05/0.3097, allocations: 176.3 kB / 1.316 GB, free: 8.703 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001692/0.3098, allocations: 311.7 kB / 1.316 GB, free: 8.375 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 5.332e-05/0.3099, allocations: 120.8 kB / 1.316 GB, free: 8.25 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.176e-05/0.31, allocations: 180.2 kB / 1.316 GB, free: 8.066 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.637e-05/0.3101, allocations: 108.9 kB / 1.316 GB, free: 7.953 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.602e-05/0.3102, allocations: 184.2 kB / 1.316 GB, free: 7.766 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.265e-05/0.3102, allocations: 109 kB / 1.317 GB, free: 7.652 MB / 1.014 GB Notification: Performance of sorting global known variables: time 8.01e-05/0.3103, allocations: 113.6 kB / 1.317 GB, free: 7.543 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.3103, allocations: 0 / 1.317 GB, free: 7.543 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003612/0.3107, allocations: 67.8 kB / 1.317 GB, free: 7.477 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.0008941/0.3116, allocations: 406.5 kB / 1.317 GB, free: 7.145 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002462/0.3118, allocations: 151.3 kB / 1.317 GB, free: 6.984 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.3118, allocations: 0 / 1.317 GB, free: 6.984 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.884e-06/0.3118, allocations: 0 / 1.317 GB, free: 6.984 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004236/0.3122, allocations: 467.7 kB / 1.318 GB, free: 6.523 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003084/0.3126, allocations: 220 kB / 1.318 GB, free: 6.281 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003154/0.3129, allocations: 0.6768 MB / 1.319 GB, free: 5.578 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 7.479e-05/0.3129, allocations: 55.8 kB / 1.319 GB, free: 5.523 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.451e-05/0.313, allocations: 7.438 kB / 1.319 GB, free: 5.516 MB / 1.014 GB Notification: Performance of SimCode: time 3.21e-07/0.313, allocations: 4 kB / 1.319 GB, free: 5.512 MB / 1.014 GB Notification: Performance of Templates: time 0.005602/0.3186, allocations: 2.605 MB / 1.321 GB, free: 2.926 MB / 1.014 GB " [Timeout remaining time 300] 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 -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/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: 7.779364934191108]